This functionality is experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features.
When enabled, APM Server produces transaction histogram metrics that are used to power the APM app. Shifting this responsibility from APM app to APM Server results in improved query performance and removes the need to store unsampled transactions.
Example config file:
apm-server: aggregation: transactions: enabled: true interval: 1m sampling: keep_unsampled: false
Enables the collection and publishing of transaction metrics. This setting improves query performance in the APM app.
To prevent inaccuracies in the APM app, transaction metrics must also be enabled in
See APM app settings for more information.
Controls the frequency of metrics publication.
Maximum number of transaction groups to keep track of. Once exceeded, APM Server devolves into recording a metrics document for each transaction that is not in one of the transaction groups being tracked.
The fixed, worst-case percentage error (specified as a number of significant digits)
to maintain for recorded metrics.
Supported values are
See HDR histogram for more information.
This option controls the cache size of RUM user-agent strings.
RUM "page-load" transactions are aggregated on the user-agent name, which requires user-agent parsing. To avoid parsing every user-agent, a cache of user-agent strings is maintained.
Controls the recording of unsampled transaction documents.
Dropping unsampled documents (
keep_unsampled: false) reduces APM’s storage consumption.
Unsampled transactions should only be dropped when
otherwise, the APM app will report inaccurate metrics.