Skip to content

decl. config. enable experimental runtime metrics#1056

Open
SylvainJuge wants to merge 1 commit intoelastic:mainfrom
SylvainJuge:declarative-config-runtime-telemetry-metrics
Open

decl. config. enable experimental runtime metrics#1056
SylvainJuge wants to merge 1 commit intoelastic:mainfrom
SylvainJuge:declarative-config-runtime-telemetry-metrics

Conversation

@SylvainJuge
Copy link
Copy Markdown
Member

Part of #1054

Equivalent to add the following to declarative configuration

instrumentation/development:
  java:
    runtime_telemetry:
      emit_experimental_metrics/development: true

Users can opt-out by setting it to false which will revert to the upstream default behavior with:

instrumentation/development:
  java:
    runtime_telemetry:
      emit_experimental_metrics/development: false

@SylvainJuge SylvainJuge self-assigned this Apr 17, 2026
@SylvainJuge SylvainJuge added enhancement New feature or request changelog:skip labels Apr 17, 2026
@SylvainJuge SylvainJuge requested a review from a team as a code owner April 17, 2026 16:46
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 17, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: da68b022-dd99-4f6e-9502-db36a372513c

📥 Commits

Reviewing files that changed from the base of the PR and between bf2a1ed and 13fba42.

📒 Files selected for processing (2)
  • custom/src/main/java/co/elastic/otel/declarativeconfig/ElasticDeclarativeConfigurationCustomizer.java
  • custom/src/test/java/co/elastic/otel/declarativeconfig/ElasticDeclarativeConfigurationCustomizerTest.java

📝 Walkthrough

Walkthrough

Extended ElasticDeclarativeConfigurationCustomizer to configure experimental runtime telemetry metrics. Added a new customization step that ensures the presence of instrumentationDevelopment, java, and runtime_telemetry blocks within the OpenTelemetry configuration model. The implementation sets the emit_experimental_metrics/development property to true by default only when absent. Updated tests verify the new behavior in default configurations and when explicitly set to false.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • 🛠️ Update Documentation: Commit on current branch
  • 🛠️ Update Documentation: Create PR

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant