Skip to content

Add OTLP runtime metrics system test#6715

Draft
link04 wants to merge 2 commits intomainfrom
maximo/otlp-runtime-metrics-test
Draft

Add OTLP runtime metrics system test#6715
link04 wants to merge 2 commits intomainfrom
maximo/otlp-runtime-metrics-test

Conversation

@link04
Copy link
Copy Markdown
Contributor

@link04 link04 commented Apr 9, 2026

Do not review — depends on POC PRs being merged first.

Adds OTLP_RUNTIME_METRICS scenario. All languages marked missing_feature.

Related: DataDog/dd-trace-dotnet#8299 | DataDog/dd-trace-go#4611 | DataDog/dd-trace-js#7869 | DataDog/dd-trace-java#10985

🤖 Generated with Claude Code

New scenario OTLP_RUNTIME_METRICS that sets DD_METRICS_OTEL_ENABLED=true
alongside DD_RUNTIME_METRICS_ENABLED=true. Tests verify OTel-native metric
names (dotnet.*, jvm.*, go.*, v8js.*) appear in OTLP payloads and that
DD-proprietary names (runtime.dotnet.*, runtime.go.*) do not.

All languages marked as missing_feature in manifests until POC PRs are merged:
- .NET: DataDog/dd-trace-dotnet#8299
- Go: DataDog/dd-trace-go#4611
- Node.js: DataDog/dd-trace-js#7869
- Java: DataDog/dd-trace-java#10985

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 9, 2026

CODEOWNERS have been resolved as:

tests/test_otlp_runtime_metrics.py                                      @DataDog/system-tests-core
manifests/cpp.yml                                                       @DataDog/dd-trace-cpp
manifests/dotnet.yml                                                    @DataDog/apm-dotnet @DataDog/asm-dotnet
manifests/golang.yml                                                    @DataDog/dd-trace-go-guild
manifests/java.yml                                                      @DataDog/asm-java @DataDog/apm-java
manifests/nodejs.yml                                                    @DataDog/dd-trace-js
manifests/php.yml                                                       @DataDog/apm-php @DataDog/asm-php
manifests/python.yml                                                    @DataDog/apm-python @DataDog/asm-python
manifests/ruby.yml                                                      @DataDog/ruby-guild @DataDog/asm-ruby
utils/_context/_scenarios/__init__.py                                   @DataDog/system-tests-core

- Remove DD_DOGSTATSD_START_DELAY (not using StatsD)
- Add OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
- Route OTLP metrics to proxy for capture via
  OTEL_EXPORTER_OTLP_METRICS_ENDPOINT=http://proxy:8127/v1/metrics
- Keep runtime_metrics_enabled=True (sets DD_RUNTIME_METRICS_ENABLED=true)
- DD_METRICS_OTEL_ENABLED=true enables the OTLP path in the tracer

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant