Skip to content

[java@maximo/otlp-runtime-metrics-poc] Enable OTLP runtime metrics test for Java#6800

Draft
link04 wants to merge 3 commits intomainfrom
maximo/otlp-runtime-metrics-enables-test-java
Draft

[java@maximo/otlp-runtime-metrics-poc] Enable OTLP runtime metrics test for Java#6800
link04 wants to merge 3 commits intomainfrom
maximo/otlp-runtime-metrics-enables-test-java

Conversation

@link04
Copy link
Copy Markdown
Contributor

@link04 link04 commented Apr 22, 2026

Summary

  • Enable Test_OtlpRuntimeMetrics for Java v1.62.0 in the java manifest
  • Depends on dd-trace-java#10985 being merged first
  • Depends on system-tests#6715 being merged first (adds the scenario and test)

Test plan

  • dd-trace-java#10985 merged
  • system-tests#6715 merged
  • CI green with Java OTLP runtime metrics test passing

🤖 Generated with Claude Code

@github-actions
Copy link
Copy Markdown
Contributor

CODEOWNERS have been resolved as:

tests/test_otlp_runtime_metrics.py                                      @DataDog/system-tests-core
.github/workflows/run-end-to-end.yml                                    @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
tests/parametric/test_otel_metrics.py                                   @DataDog/system-tests-core @DataDog/apm-sdk-capabilities
utils/_context/_scenarios/__init__.py                                   @DataDog/system-tests-core
utils/scripts/ci_orchestrators/workflow_data.py                         @DataDog/system-tests-core

@datadog-prod-us1-3
Copy link
Copy Markdown
Contributor

datadog-prod-us1-3 Bot commented Apr 22, 2026

Tests

Fix all issues with BitsAI or with Cursor

⚠️ Warnings

🧪 33 Tests failed

tests.ai_guard.test_ai_guard_sdk.Test_Tag_Probabilities.test_tag_probabilities[spring-boot] from system_tests_suite   View in Datadog   (Fix with Cursor)
AssertionError: 'tag_probs' not found in '{'action': 'DENY', 'reason': 'Rule matches: destructive-tool-call', 'tags': ['destructive-tool-call'], 'sds': []}'
assert 'tag_probs' in {'action': 'DENY', 'reason': 'Rule matches: destructive-tool-call', 'sds': [], 'tags': ['destructive-tool-call']}

self = <tests.ai_guard.test_ai_guard_sdk.Test_Tag_Probabilities object at 0x7fc22595c6e0>

    def test_tag_probabilities(self):
        """Test AI Guard returns and stores tag probabilities.
        Verifies the SDK response exposes tag probabilities and the ai_guard meta struct keeps the
        same probability map received from the AI Guard REST API.
        """
...
tests.appsec.waf.test_addresses.Test_IoFsFileWrite.test_file_write[akka-http] from system_tests_suite   View in Datadog   (Fix with Cursor)
ValueError: No appsec event validate this condition

self = <tests.appsec.waf.test_addresses.Test_IoFsFileWrite object at 0x7f23ec0c41d0>

    def test_file_write(self):
        """AppSec WAF receives the server.io.fs.file_write address"""
>       interfaces.library.assert_waf_attack(
            self.r,
            rule="custom-test-file-write",
            address="server.io.fs.file_write",
...
tests.appsec.waf.test_addresses.Test_IoFsFileWrite.test_file_write[jersey-grizzly2] from system_tests_suite   View in Datadog   (Fix with Cursor)
ValueError: No appsec event validate this condition

self = <tests.appsec.waf.test_addresses.Test_IoFsFileWrite object at 0x7f05f02ac680>

    def test_file_write(self):
        """AppSec WAF receives the server.io.fs.file_write address"""
>       interfaces.library.assert_waf_attack(
            self.r,
            rule="custom-test-file-write",
            address="server.io.fs.file_write",
...
View all

ℹ️ Info

No other issues found (see more)

❄️ No new flaky tests detected

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: edc63d7 | Docs | Datadog PR Page | Give us feedback!

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@link04 link04 force-pushed the maximo/otlp-runtime-metrics-enables-test-java branch from 3607922 to 47544ac Compare April 22, 2026 19:28
@link04 link04 added java Pull requests that update Java code run-all-scenarios labels Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

java Pull requests that update Java code run-all-scenarios

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant