Metrics configuration options
editMetrics configuration options
editdedot_custom_metrics
(
[1.22.0]
Added in 1.22.0.
)
editReplaces dots with underscores in the metric names for Micrometer metrics.
Setting this to false
can lead to mapping conflicts as dots indicate nesting in elasticsearch.
An example of when a conflict happens is two metrics with the name foo
and foo.bar
.
The first metric maps foo
to a number and the second metric maps foo
as an object.
Default | Type | Dynamic |
---|---|---|
|
Boolean |
true |
Java System Properties | Property file | Environment |
---|---|---|
|
|
|
custom_metrics_histogram_boundaries
(
[1.37.0]
Added in 1.37.0.
experimental)
editThis feature is currently experimental, which means it is disabled by default and it is not guaranteed to be backwards compatible in future releases.
Defines the default bucket boundaries to use for OpenTelemetry histograms.
Note that for OpenTelemetry 1.32.0 or newer this setting will only work when using API only. The default buckets will not be applied when bringing your own SDK.
Default | Type | Dynamic |
---|---|---|
|
List |
false |
Java System Properties | Property file | Environment |
---|---|---|
|
|
|
metric_set_limit
(
[1.33.0]
Added in 1.33.0.
)
editLimits the number of active metric sets. The metrics sets have associated labels, and the metrics sets are held internally in a map using the labels as keys. The map is limited in size by this option to prevent unbounded growth. If you hit the limit, you’ll receive a warning in the agent log. The recommended option to workaround the limit is to try to limit the cardinality of the labels, eg naming your transactions so that there are fewer distinct transaction names. But if you must, you can use this option to increase the limit.
Default | Type | Dynamic |
---|---|---|
|
Integer |
false |
Java System Properties | Property file | Environment |
---|---|---|
|
|
|
agent_reporter_health_metrics
(
[1.35.0]
Added in 1.35.0.
)
editEnables metrics which capture the health state of the agent’s event reporting mechanism.
Default | Type | Dynamic |
---|---|---|
|
Boolean |
false |
Java System Properties | Property file | Environment |
---|---|---|
|
|
|
agent_background_overhead_metrics
(
[1.35.0]
Added in 1.35.0.
)
editEnables metrics which capture the resource consumption of agent background tasks.
Default | Type | Dynamic |
---|---|---|
|
Boolean |
false |
Java System Properties | Property file | Environment |
---|---|---|
|
|
|