You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One solution for this is to set a size on the terms agg that is sufficiently large for most use cases. Also we could make the size configurable. if we changed it to a composite aggregation, we can be sure to return all unique environments, but may have to deal with the complexity of paging results.
The text was updated successfully, but these errors were encountered:
ogupte
changed the title
[APM] Environment filter should display all environments
[APM] Environment selector should display all environments
Jul 14, 2020
sorenlouv
changed the title
[APM] Environment selector should display all environments
[APM] Number of environments displayed in the selector should be configurable
Jul 15, 2020
sorenlouv
changed the title
[APM] Number of environments displayed in the selector should be configurable
[APM] Number of environments displayed in the selector should be increased and made configurable
Oct 16, 2020
Currently the number of environments loaded in the environment filter is limited to the default size of the terms agg when we query for them (https://github.com/elastic/kibana/blob/master/x-pack/plugins/apm/server/lib/ui_filters/get_environments.ts#L49). Ideally, we want to load all environments in the selector. One workaround now is to use the query bar
service.environment : "test"
but only if the target environment is known ahead of time.One solution for this is to set a
size
on the terms agg that is sufficiently large for most use cases. Also we could make the size configurable. if we changed it to a composite aggregation, we can be sure to return all unique environments, but may have to deal with the complexity of paging results.The text was updated successfully, but these errors were encountered: