Skip to content

Commit

Permalink
Make health metrics GA
Browse files Browse the repository at this point in the history
  • Loading branch information
jackshirazi committed Sep 17, 2024
1 parent 9a12b98 commit 21205c2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,15 @@ public void assertValid(List<Double> buckets) {
.key("agent_reporter_health_metrics")
.configurationCategory(METRICS_CATEGORY)
.description("Enables metrics which capture the health state of the agent's event reporting mechanism.")
.tags("added[1.35.0]", "experimental")
.tags("added[1.35.0]")
.dynamic(false)
.buildWithDefault(false);

private final ConfigurationOption<Boolean> overheadMetricsEnabled = ConfigurationOption.booleanOption()
.key("agent_background_overhead_metrics")
.configurationCategory(METRICS_CATEGORY)
.description("Enables metrics which capture the resource consumption of agent background tasks.")
.tags("added[1.35.0]", "experimental")
.tags("added[1.35.0]")
.dynamic(false)
.buildWithDefault(false);

Expand Down
8 changes: 2 additions & 6 deletions docs/configuration.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -2653,9 +2653,7 @@ But if you must, you can use this option to increase the limit.
// This file is auto generated. Please make your changes in *Configuration.java (for example CoreConfiguration.java) and execute ConfigurationExporter
[float]
[[config-agent-reporter-health-metrics]]
==== `agent_reporter_health_metrics` (added[1.35.0] experimental)

NOTE: This feature is currently experimental, which means it is disabled by default and it is not guaranteed to be backwards compatible in future releases.
==== `agent_reporter_health_metrics` (added[1.35.0])

Enables metrics which capture the health state of the agent's event reporting mechanism.

Expand All @@ -2678,9 +2676,7 @@ Enables metrics which capture the health state of the agent's event reporting me
// This file is auto generated. Please make your changes in *Configuration.java (for example CoreConfiguration.java) and execute ConfigurationExporter
[float]
[[config-agent-background-overhead-metrics]]
==== `agent_background_overhead_metrics` (added[1.35.0] experimental)

NOTE: This feature is currently experimental, which means it is disabled by default and it is not guaranteed to be backwards compatible in future releases.
==== `agent_background_overhead_metrics` (added[1.35.0])

Enables metrics which capture the resource consumption of agent background tasks.

Expand Down
2 changes: 0 additions & 2 deletions docs/metrics.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -663,8 +663,6 @@ Fields:
[[metrics-agenthealth]]
=== Agent Health Metrics

experimental::[]

The agent internally uses a queue to buffer the various events (e.g. transactions, spans, metrics) before sending them to the APM server.
When <<config-agent-reporter-health-metrics, `agent_reporter_health_metrics`>> is enabled, the agent will expose several metrics regarding the health state of this queue and the network connectivity to the APM server.
In addition, if <<config-agent-background-overhead-metrics, `agent_background_overhead_metrics`>> is enabled, the agent will continuously measure the resource consumption of its own background tasks and provide the results as metrics.
Expand Down

0 comments on commit 21205c2

Please sign in to comment.