Commit 7fe68ae
Wire JvmOtlpRuntimeMetrics into agent startup
Call JvmOtlpRuntimeMetrics.start() from OpenTelemetryMetricsInstrumentation
when both DD_METRICS_OTEL_ENABLED and DD_RUNTIME_METRICS_ENABLED are true.
Matches .NET/Go/NodeJS config gating pattern. Also updates metrics to match
OTel spec exactly (Option B): removes jvm.gc.duration/count, fixes types,
adds missing metrics.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent c3745f9 commit 7fe68ae
3 files changed
Lines changed: 162 additions & 105 deletions
File tree
- dd-java-agent
- agent-otel/otel-shim/src/main/java/datadog/opentelemetry/shim/metrics
- instrumentation/opentelemetry/opentelemetry-1.47/src
- main/java/datadog/trace/instrumentation/opentelemetry147
- test/groovy/opentelemetry147/metrics
0 commit comments