[dotnet@maximo/otlp-runtime-metrics] Add OTLP runtime metrics system test#6715
Draft
[dotnet@maximo/otlp-runtime-metrics] Add OTLP runtime metrics system test#6715
Conversation
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>
Contributor
|
|
- 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>
Expand EXPECTED_METRICS from a spot-check subset to the complete instrument lists from each tracer's implementation: 19 dotnet.*, 8 go.*, 13 nodejs/v8js/process.*, 18 jvm.*. Made-with: Cursor
…xy routing - Route OTLP metrics through agent via dd-otlp-path=agent header (matches otel_integrations pattern) - Read metrics from interfaces.agent.get_metrics() (matches existing RUNTIME_METRICS_ENABLED test) - Merge positive/negative test into single class - Enable for dotnet v3.42.0 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Remove Test_OtlpRuntimeMetrics_NoDD_Names from all manifests (merged into single test) - Move test_otlp_runtime_metrics entries to correct alphabetical position - Apply ruff formatting from format.sh Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Register the new scenario in the GitHub Actions end-to-end workflow and the CI orchestrator scenario list. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
✨ Fix all issues with BitsAI or with Cursor
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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