Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make health metrics GA #3802

Merged
merged 2 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Use subheadings with the "=====" level for adding notes for unreleased changes:
[float]
===== Features
* Added experimental option to capture HTTP client request bodies for Apache Http Client v4 and v5, HttpUrlConnection and Spring WebClient - {pull}3776[#3776], {pull}3962[#3962], {pull}3724[#3724], {pull}3754[#3754], {pull}3767[#3767]
* Agent health metrics now GA - {pull}3802[#3802]

[[release-notes-1.x]]
=== Java Agent version 1.x
Expand Down
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
Loading