Thanks to visit codestin.com
Credit goes to github.com

Skip to content

New - use new config for jfr metrics - #474

Merged
cleverchuk merged 1 commit into
mainfrom
cc/NH-135557
Apr 30, 2026
Merged

New - use new config for jfr metrics#474
cleverchuk merged 1 commit into
mainfrom
cc/NH-135557

Conversation

@cleverchuk

Copy link
Copy Markdown
Contributor

Copilot AI review requested due to automatic review settings April 28, 2026 21:05
@cleverchuk
cleverchuk requested review from a team as code owners April 28, 2026 21:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the SolarWinds OpenTelemetry distro’s default agent properties to use the newer runtime telemetry configuration intended to enable JFR-related (experimental) metrics emission.

Changes:

  • Replaced the legacy otel.instrumentation.runtime-telemetry-java17.enabled=true property with otel.instrumentation.runtime-telemetry.emit-experimental-metrics=true.

@@ -41,7 +41,7 @@ public class SolarwindsPropertiesSupplier implements Supplier<Map<String, String
PROPERTIES.put(
"otel.exporter.otlp.metrics.default.histogram.aggregation",
"base2_exponential_bucket_histogram");

Copilot AI Apr 28, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This switches the runtime telemetry/JFR-related config key, but the repo still configures runtime-telemetry-java17 elsewhere (e.g., smoke-tests/sdk-config.yaml under instrumentation/development/java/runtime-telemetry-java17). If the upstream agent has renamed/merged this instrumentation, consider updating those configurations (or adding a short comment here) so we don’t end up with two divergent ways of enabling JFR/runtime telemetry metrics.

Suggested change
"base2_exponential_bucket_histogram");
"base2_exponential_bucket_histogram");
// Keep this runtime telemetry/JFR metrics switch aligned with any repo configuration
// that still references the older runtime-telemetry-java17 instrumentation name.

Copilot uses AI. Check for mistakes.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should smoke-tests/sdk-config.yaml also be updated?

@cleverchuk
cleverchuk force-pushed the cc/NH-135557 branch 3 times, most recently from ce8a919 to 6bb80d3 Compare April 29, 2026 21:07
cheempz
cheempz previously approved these changes Apr 29, 2026

@cheempz cheempz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the revisit and fingers crossed :)

@cheempz cheempz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cleverchuk
cleverchuk merged commit d9fc779 into main Apr 30, 2026
16 checks passed
@cleverchuk
cleverchuk deleted the cc/NH-135557 branch April 30, 2026 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants