From 0f23c0e514ad1887a2165153fbb293c502da235c Mon Sep 17 00:00:00 2001 From: Hannah Kim Date: Tue, 24 Feb 2026 02:05:57 +0100 Subject: [PATCH 1/7] fix: error tracking tags were incorrect for go tracer >= 2.7.0 --- tests/parametric/test_otel_span_methods.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/parametric/test_otel_span_methods.py b/tests/parametric/test_otel_span_methods.py index c78424ebbe8..149478158ff 100644 --- a/tests/parametric/test_otel_span_methods.py +++ b/tests/parametric/test_otel_span_methods.py @@ -789,7 +789,13 @@ def test_otel_record_exception_sets_all_error_tracking_tags( root_span = find_span(trace, span.span_id) assert root_span["error"] == 1 - assert "error.stack" in root_span["meta"] + # For dd-trace-go > v2.5.0, we set the throw stack (if available) in error.details and the handling stack in error.stack (always) + # for dd-trace-go >= v2.7.0, we set the throw stack (if available) in error.stack and the handling stack in error.handling_stack (always) + # https://github.com/DataDog/dd-trace-go/pull/4322 + if context.library == "go": + assert "error.handling_stack" in root_span["meta"] + else: + assert "error.stack" in root_span["meta"] assert "error.message" in root_span["meta"] assert "error.type" in root_span["meta"] From 04d62720e68054e51bfb001bf1558d067e31e0ab Mon Sep 17 00:00:00 2001 From: Hannah Kim Date: Tue, 24 Feb 2026 02:12:22 +0100 Subject: [PATCH 2/7] improve test --- manifests/golang.yml | 3 ++ tests/parametric/test_otel_span_methods.py | 34 +++++++++++++++++----- 2 files changed, 30 insertions(+), 7 deletions(-) diff --git a/manifests/golang.yml b/manifests/golang.yml index b4dad787ae1..7689c16ed79 100644 --- a/manifests/golang.yml +++ b/manifests/golang.yml @@ -1035,6 +1035,9 @@ manifest: tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_all_error_tracking_tags: # Modified by easy win activation script - declaration: missing_feature (Not implemented) component_version: <2.5.0 + tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: + - declaration: missing_feature (Not implemented) + component_version: '>=2.7.0' tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_set_attribute_remapping_httpresponsestatuscode: - declaration: missing_feature (Implemented in 1.65.0) component_version: <1.65.0 diff --git a/tests/parametric/test_otel_span_methods.py b/tests/parametric/test_otel_span_methods.py index 149478158ff..78d88a7ed1f 100644 --- a/tests/parametric/test_otel_span_methods.py +++ b/tests/parametric/test_otel_span_methods.py @@ -789,13 +789,33 @@ def test_otel_record_exception_sets_all_error_tracking_tags( root_span = find_span(trace, span.span_id) assert root_span["error"] == 1 - # For dd-trace-go > v2.5.0, we set the throw stack (if available) in error.details and the handling stack in error.stack (always) - # for dd-trace-go >= v2.7.0, we set the throw stack (if available) in error.stack and the handling stack in error.handling_stack (always) - # https://github.com/DataDog/dd-trace-go/pull/4322 - if context.library == "go": - assert "error.handling_stack" in root_span["meta"] - else: - assert "error.stack" in root_span["meta"] + assert "error.stack" in root_span["meta"] + assert "error.message" in root_span["meta"] + assert "error.type" in root_span["meta"] + + def test_otel_record_exception_sets_handling_stack_in_go( + self, test_agent: TestAgentAPI, test_library: APMLibrary + ): + """ + For dd-trace-go > v2.5.0, we set the throw stack (if available) in error.details and the handling stack in error.stack (always) + For dd-trace-go >= v2.7.0, we set the throw stack (if available) in error.stack and the handling stack in error.handling_stack (always) + https://github.com/DataDog/dd-trace-go/pull/4322 + """ + if context.library != "go": + return + + with test_library, test_library.otel_start_span("operation") as span: + span.set_status(StatusCode.ERROR, "error_desc") + span.record_exception( + message="woof1", attributes={"string_val": "value", "exception.stacktrace": "stacktrace1"} + ) + + traces = test_agent.wait_for_num_traces(1) + trace = find_trace(traces, span.trace_id) + root_span = find_span(trace, span.span_id) + + assert root_span["error"] == 1 + assert "error.handling_stack" in root_span["meta"] assert "error.message" in root_span["meta"] assert "error.type" in root_span["meta"] From f74864553aa264806d507511655fd8f45118a03a Mon Sep 17 00:00:00 2001 From: Hannah Kim Date: Tue, 24 Feb 2026 02:18:11 +0100 Subject: [PATCH 3/7] linting fixes --- manifests/golang.yml | 2 +- tests/parametric/test_otel_span_methods.py | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/manifests/golang.yml b/manifests/golang.yml index 7689c16ed79..aee864719c1 100644 --- a/manifests/golang.yml +++ b/manifests/golang.yml @@ -1037,7 +1037,7 @@ manifest: component_version: <2.5.0 tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: - declaration: missing_feature (Not implemented) - component_version: '>=2.7.0' + component_version: '>=2.7.0' tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_set_attribute_remapping_httpresponsestatuscode: - declaration: missing_feature (Implemented in 1.65.0) component_version: <1.65.0 diff --git a/tests/parametric/test_otel_span_methods.py b/tests/parametric/test_otel_span_methods.py index 78d88a7ed1f..6bff13d22a6 100644 --- a/tests/parametric/test_otel_span_methods.py +++ b/tests/parametric/test_otel_span_methods.py @@ -793,11 +793,8 @@ def test_otel_record_exception_sets_all_error_tracking_tags( assert "error.message" in root_span["meta"] assert "error.type" in root_span["meta"] - def test_otel_record_exception_sets_handling_stack_in_go( - self, test_agent: TestAgentAPI, test_library: APMLibrary - ): - """ - For dd-trace-go > v2.5.0, we set the throw stack (if available) in error.details and the handling stack in error.stack (always) + def test_otel_record_exception_sets_handling_stack_in_go(self, test_agent: TestAgentAPI, test_library: APMLibrary): + """For dd-trace-go > v2.5.0, we set the throw stack (if available) in error.details and the handling stack in error.stack (always) For dd-trace-go >= v2.7.0, we set the throw stack (if available) in error.stack and the handling stack in error.handling_stack (always) https://github.com/DataDog/dd-trace-go/pull/4322 """ From 4c9fadee2b71e952909e8facc2a814b03aaec0a7 Mon Sep 17 00:00:00 2001 From: Hannah Kim Date: Tue, 24 Feb 2026 16:24:42 +0100 Subject: [PATCH 4/7] fix go versioning --- manifests/golang.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/golang.yml b/manifests/golang.yml index aee864719c1..f3b83b64ae3 100644 --- a/manifests/golang.yml +++ b/manifests/golang.yml @@ -1037,7 +1037,7 @@ manifest: component_version: <2.5.0 tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: - declaration: missing_feature (Not implemented) - component_version: '>=2.7.0' + component_version: <2.7.0 tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_set_attribute_remapping_httpresponsestatuscode: - declaration: missing_feature (Implemented in 1.65.0) component_version: <1.65.0 From 23e8cab4e9a72d16b60de11b2035459b17dab8eb Mon Sep 17 00:00:00 2001 From: Hannah Kim Date: Wed, 25 Feb 2026 12:17:00 +0100 Subject: [PATCH 5/7] fix language library name --- tests/parametric/test_otel_span_methods.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/parametric/test_otel_span_methods.py b/tests/parametric/test_otel_span_methods.py index 6bff13d22a6..2e24404bf8d 100644 --- a/tests/parametric/test_otel_span_methods.py +++ b/tests/parametric/test_otel_span_methods.py @@ -798,7 +798,7 @@ def test_otel_record_exception_sets_handling_stack_in_go(self, test_agent: TestA For dd-trace-go >= v2.7.0, we set the throw stack (if available) in error.stack and the handling stack in error.handling_stack (always) https://github.com/DataDog/dd-trace-go/pull/4322 """ - if context.library != "go": + if context.library != "golang": return with test_library, test_library.otel_start_span("operation") as span: From 51a1bf76062f6af117aa9ea7f4479f6c82d4e79a Mon Sep 17 00:00:00 2001 From: Hannah Kim Date: Wed, 25 Feb 2026 15:45:47 +0100 Subject: [PATCH 6/7] make test irrelevant in all manifests --- manifests/cpp.yml | 1 + manifests/cpp_httpd.yml | 1 + manifests/cpp_nginx.yml | 1 + manifests/dotnet.yml | 1 + manifests/envoy.yml | 1 + manifests/haproxy.yml | 1 + manifests/java.yml | 1 + manifests/java_otel.yml | 1 + manifests/k8s_cluster_agent.yml | 1 + manifests/nodejs.yml | 1 + manifests/nodejs_otel.yml | 1 + manifests/php.yml | 1 + manifests/python.yml | 1 + manifests/python_lambda.yml | 1 + manifests/python_otel.yml | 1 + manifests/ruby.yml | 1 + manifests/rust.yml | 1 + tests/parametric/test_otel_span_methods.py | 3 --- 18 files changed, 17 insertions(+), 3 deletions(-) diff --git a/manifests/cpp.yml b/manifests/cpp.yml index d5fc06351a8..c203a59805a 100644 --- a/manifests/cpp.yml +++ b/manifests/cpp.yml @@ -142,6 +142,7 @@ manifest: tests/parametric/test_otel_span_with_baggage.py::Test_Otel_Span_With_Baggage: missing_feature tests/parametric/test_otel_tracer.py::Test_Otel_Tracer::test_otel_force_flush: irrelevant (library does not implement OpenTelemetry) tests/parametric/test_otel_tracer.py::Test_Otel_Tracer::test_otel_simple_trace: irrelevant (library does not implement OpenTelemetry) + tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant tests/parametric/test_parametric_endpoints.py::Test_Parametric_DDSpan_Add_Link: missing_feature (add_link is not supported) tests/parametric/test_parametric_endpoints.py::Test_Parametric_DDSpan_Set_Error: bug (APMAPI-778) # The expected error status is not set tests/parametric/test_parametric_endpoints.py::Test_Parametric_DDSpan_Set_Metric: missing_feature (Tracer does not provide a public method for directly setting a span metric) diff --git a/manifests/cpp_httpd.yml b/manifests/cpp_httpd.yml index a713f529823..cf020d2069e 100644 --- a/manifests/cpp_httpd.yml +++ b/manifests/cpp_httpd.yml @@ -29,6 +29,7 @@ manifest: tests/integrations/test_otel_drop_in.py: irrelevant (library does not implement OpenTelemetry) tests/otel/: irrelevant (library does not implement OpenTelemetry) tests/parametric/: irrelevant (Parametric scenario is not applied on C++ httpd) + tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant tests/remote_config/test_remote_configuration.py::Test_RemoteConfigurationExtraServices: missing_feature tests/remote_config/test_remote_configuration.py::Test_RemoteConfigurationUpdateSequenceASMDD: missing_feature tests/remote_config/test_remote_configuration.py::Test_RemoteConfigurationUpdateSequenceASMDDNoCache: missing_feature diff --git a/manifests/cpp_nginx.yml b/manifests/cpp_nginx.yml index 710ddfc1380..69f0aa6676d 100644 --- a/manifests/cpp_nginx.yml +++ b/manifests/cpp_nginx.yml @@ -365,3 +365,4 @@ manifest: tests/test_telemetry.py::Test_TelemetryV2::test_config_telemetry_completeness: irrelevant (This test causes too many friction. It has been replaced by alerts on slack channels) tests/test_telemetry.py::Test_TelemetryV2::test_telemetry_v2_required_headers: missing_feature tests/test_v1_payloads.py: missing_feature + tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant diff --git a/manifests/dotnet.yml b/manifests/dotnet.yml index 58e72b9f79d..47ab1189d61 100644 --- a/manifests/dotnet.yml +++ b/manifests/dotnet.yml @@ -865,6 +865,7 @@ manifest: tests/parametric/test_otel_metrics.py::Test_Otel_Metrics_Telemetry::test_telemetry_metrics_grpc: missing_feature (OTel metrics telemetry metrics (otel.metrics_export_attempts) not yet fully flushed in time) tests/parametric/test_otel_metrics.py::Test_Otel_Metrics_Telemetry::test_telemetry_metrics_http_protobuf: missing_feature tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_all_error_tracking_tags: missing_feature + tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_set_attribute_remapping_httpresponsestatuscode: - declaration: missing_feature (Implemented in 2.53.0) component_version: <2.53.0 diff --git a/manifests/envoy.yml b/manifests/envoy.yml index 59cc8bc2503..a29cb11e817 100644 --- a/manifests/envoy.yml +++ b/manifests/envoy.yml @@ -35,3 +35,4 @@ manifest: tests/test_standard_tags.py::Test_StandardTagsReferrerHostname: missing_feature tests/test_standard_tags.py::Test_StandardTagsUrl::test_multiple_matching_substring: irrelevant (tracer did not yet implemented the new version of query parameters obfuscation regex) tests/test_standard_tags.py::Test_StandardTagsUrl::test_url_with_sensitive_query_string: irrelevant (tracer did not yet implemented the new version of query parameters obfuscation regex) + tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant \ No newline at end of file diff --git a/manifests/haproxy.yml b/manifests/haproxy.yml index 7ff78699a79..dae0e8aa07a 100644 --- a/manifests/haproxy.yml +++ b/manifests/haproxy.yml @@ -32,3 +32,4 @@ manifest: tests/test_standard_tags.py::Test_StandardTagsReferrerHostname: missing_feature tests/test_standard_tags.py::Test_StandardTagsUrl::test_multiple_matching_substring: irrelevant (tracer did not yet implemented the new version of query parameters obfuscation regex) tests/test_standard_tags.py::Test_StandardTagsUrl::test_url_with_sensitive_query_string: irrelevant (tracer did not yet implemented the new version of query parameters obfuscation regex) + tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant \ No newline at end of file diff --git a/manifests/java.yml b/manifests/java.yml index e56b7917251..722606c5f38 100644 --- a/manifests/java.yml +++ b/manifests/java.yml @@ -3384,6 +3384,7 @@ manifest: tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_all_error_tracking_tags: - declaration: missing_feature (Not implemented) component_version: <1.40.0 + tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_set_attribute_remapping_httpresponsestatuscode: - declaration: missing_feature (Implemented in 1.35.0) component_version: <1.35.0 diff --git a/manifests/java_otel.yml b/manifests/java_otel.yml index ee4aa5e087e..001b6617c01 100644 --- a/manifests/java_otel.yml +++ b/manifests/java_otel.yml @@ -6,3 +6,4 @@ manifest: tests/integrations/test_open_telemetry.py::Test_MySql::test_properties: bug (OTEL-2778) tests/integrations/test_open_telemetry.py::Test_Postgres::test_obfuscate_query: bug (OTEL-2778) tests/integrations/test_open_telemetry.py::_BaseOtelDbIntegrationTestClass::test_obfuscate_query: bug (OTEL-2778) + tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant \ No newline at end of file diff --git a/manifests/k8s_cluster_agent.yml b/manifests/k8s_cluster_agent.yml index 9346c95f4cb..dec68522fc0 100644 --- a/manifests/k8s_cluster_agent.yml +++ b/manifests/k8s_cluster_agent.yml @@ -4,3 +4,4 @@ manifest: tests/k8s_lib_injection/test_k8s_lib_injection_profiling.py::TestK8sLibInjectioProfilingClusterEnabled: v7.57.0 tests/k8s_lib_injection/test_k8s_lib_injection_profiling.py::TestK8sLibInjectioProfilingClusterOverride: v7.57.0 tests/k8s_lib_injection/test_k8s_lib_injection_profiling.py::TestK8sLibInjectioProfilingDisabledByDefault: v7.57.0 + tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant \ No newline at end of file diff --git a/manifests/nodejs.yml b/manifests/nodejs.yml index a43e75b517f..9915271383b 100644 --- a/manifests/nodejs.yml +++ b/manifests/nodejs.yml @@ -1862,6 +1862,7 @@ manifest: tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_all_error_tracking_tags: - declaration: missing_feature (Implemented in v5.17.0 & v4.41.0) component_version: <5.17.0 + tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_set_attribute_remapping_httpresponsestatuscode: - declaration: missing_feature (Implemented in 5.16.0) component_version: <5.16.0 diff --git a/manifests/nodejs_otel.yml b/manifests/nodejs_otel.yml index fcc0406e3ff..8b15658b22d 100644 --- a/manifests/nodejs_otel.yml +++ b/manifests/nodejs_otel.yml @@ -17,3 +17,4 @@ manifest: tests/integrations/test_open_telemetry.py::_BaseOtelDbIntegrationTestClass::test_error_exception_event: missing_feature (Open telemetry with nodejs is not generating this information.) tests/integrations/test_open_telemetry.py::_BaseOtelDbIntegrationTestClass::test_error_type_and_stack: missing_feature (Open telemetry with nodejs is not generating this information.) tests/integrations/test_open_telemetry.py::_BaseOtelDbIntegrationTestClass::test_obfuscate_query: bug (OTEL-940) + tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant \ No newline at end of file diff --git a/manifests/php.yml b/manifests/php.yml index d5794bb0498..f797baf17e0 100644 --- a/manifests/php.yml +++ b/manifests/php.yml @@ -669,6 +669,7 @@ manifest: - declaration: missing_feature (Not implemented) component_version: <1.3.0 tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_all_error_tracking_tags: "missing_feature (\"Not supported: DD only sets error.stack to not break tracer semantics\")" + tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_set_attribute_remapping_httpresponsestatuscode: - declaration: missing_feature (Implemented in 1.1.0) component_version: <1.1.0 diff --git a/manifests/python.yml b/manifests/python.yml index ddcdff86a70..2af84188dca 100644 --- a/manifests/python.yml +++ b/manifests/python.yml @@ -1562,6 +1562,7 @@ manifest: tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_all_error_tracking_tags: - declaration: missing_feature (Not implemented) component_version: <2.9.0 + tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_set_attribute_remapping_httpresponsestatuscode: - declaration: missing_feature (Implemented in 2.9.0) component_version: <2.9.0 diff --git a/manifests/python_lambda.yml b/manifests/python_lambda.yml index 3fbd533c6ae..51a3563e76c 100644 --- a/manifests/python_lambda.yml +++ b/manifests/python_lambda.yml @@ -249,3 +249,4 @@ manifest: tests/test_resource_renaming.py: missing_feature tests/test_rum_injection.py: irrelevant (RUM injection only supported for Java) tests/test_v1_payloads.py: missing_feature + tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant diff --git a/manifests/python_otel.yml b/manifests/python_otel.yml index 3b1f3ac95ee..940b51d7e9c 100644 --- a/manifests/python_otel.yml +++ b/manifests/python_otel.yml @@ -11,3 +11,4 @@ manifest: tests/integrations/test_open_telemetry.py::_BaseOtelDbIntegrationTestClass::test_db_connection_string: "missing_feature (Open telemetry doesn't send this span for python)" tests/integrations/test_open_telemetry.py::_BaseOtelDbIntegrationTestClass::test_db_operation: "missing_feature (Open Telemetry doesn't send this span for python but it should do)" tests/integrations/test_open_telemetry.py::_BaseOtelDbIntegrationTestClass::test_obfuscate_query: bug (OTEL-940) + tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant \ No newline at end of file diff --git a/manifests/ruby.yml b/manifests/ruby.yml index 81ae7be2154..c17a9cef81f 100644 --- a/manifests/ruby.yml +++ b/manifests/ruby.yml @@ -1333,6 +1333,7 @@ manifest: tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_all_error_tracking_tags: - declaration: missing_feature (Not implemented) component_version: <2.3.0 + tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_set_attribute_remapping_httpresponsestatuscode: - declaration: missing_feature (Implemented in 2.0.0) component_version: <2.0.0 diff --git a/manifests/rust.yml b/manifests/rust.yml index 9908665b134..a8fe2333403 100644 --- a/manifests/rust.yml +++ b/manifests/rust.yml @@ -155,6 +155,7 @@ manifest: tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_span_started_with_link_from_other_spans: missing_feature (APMSP-2059) ? tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_span_strict_reserved_attributes_overrides_analytics_event : missing_feature (Not implemented) + tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant tests/parametric/test_otel_span_with_baggage.py::Test_Otel_Span_With_Baggage: missing_feature tests/parametric/test_otel_tracer.py::Test_Otel_Tracer: v0.0.1 tests/parametric/test_parametric_endpoints.py::Test_Parametric_DDSpan_Add_Link: missing_feature diff --git a/tests/parametric/test_otel_span_methods.py b/tests/parametric/test_otel_span_methods.py index 2e24404bf8d..7ef8b4e66dc 100644 --- a/tests/parametric/test_otel_span_methods.py +++ b/tests/parametric/test_otel_span_methods.py @@ -798,9 +798,6 @@ def test_otel_record_exception_sets_handling_stack_in_go(self, test_agent: TestA For dd-trace-go >= v2.7.0, we set the throw stack (if available) in error.stack and the handling stack in error.handling_stack (always) https://github.com/DataDog/dd-trace-go/pull/4322 """ - if context.library != "golang": - return - with test_library, test_library.otel_start_span("operation") as span: span.set_status(StatusCode.ERROR, "error_desc") span.record_exception( From 91d3a0289ba11c89e25cda4c861b506607fb560d Mon Sep 17 00:00:00 2001 From: Hannah Kim Date: Wed, 25 Feb 2026 15:53:43 +0100 Subject: [PATCH 7/7] linting --- manifests/cpp.yml | 2 +- manifests/cpp_nginx.yml | 2 +- manifests/envoy.yml | 2 +- manifests/haproxy.yml | 2 +- manifests/java_otel.yml | 2 +- manifests/k8s_cluster_agent.yml | 2 +- manifests/nodejs_otel.yml | 2 +- manifests/python_lambda.yml | 2 +- manifests/python_otel.yml | 2 +- manifests/rust.yml | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/manifests/cpp.yml b/manifests/cpp.yml index c203a59805a..0e45e01a8aa 100644 --- a/manifests/cpp.yml +++ b/manifests/cpp.yml @@ -139,10 +139,10 @@ manifest: tests/parametric/test_otel_logs.py::Test_FR13_Scope_Fields: missing_feature # Created by easy win activation script tests/parametric/test_otel_metrics.py: missing_feature tests/parametric/test_otel_span_methods.py: irrelevant (library does not implement OpenTelemetry) + tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant tests/parametric/test_otel_span_with_baggage.py::Test_Otel_Span_With_Baggage: missing_feature tests/parametric/test_otel_tracer.py::Test_Otel_Tracer::test_otel_force_flush: irrelevant (library does not implement OpenTelemetry) tests/parametric/test_otel_tracer.py::Test_Otel_Tracer::test_otel_simple_trace: irrelevant (library does not implement OpenTelemetry) - tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant tests/parametric/test_parametric_endpoints.py::Test_Parametric_DDSpan_Add_Link: missing_feature (add_link is not supported) tests/parametric/test_parametric_endpoints.py::Test_Parametric_DDSpan_Set_Error: bug (APMAPI-778) # The expected error status is not set tests/parametric/test_parametric_endpoints.py::Test_Parametric_DDSpan_Set_Metric: missing_feature (Tracer does not provide a public method for directly setting a span metric) diff --git a/manifests/cpp_nginx.yml b/manifests/cpp_nginx.yml index 69f0aa6676d..5ff5be0f3fb 100644 --- a/manifests/cpp_nginx.yml +++ b/manifests/cpp_nginx.yml @@ -248,6 +248,7 @@ manifest: tests/integrations/test_inferred_proxy.py: missing_feature tests/integrations/test_otel_drop_in.py::Test_Otel_Drop_In: irrelevant (library does not implement OpenTelemetry) tests/otel/test_context_propagation.py::Test_Otel_Context_Propagation_Default_Propagator_Api: irrelevant (library does not implement OpenTelemetry) + tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant tests/remote_config/test_remote_configuration.py::Test_RemoteConfigurationExtraServices: missing_feature tests/remote_config/test_remote_configuration.py::Test_RemoteConfigurationUpdateSequenceASMDD: v1.3.0 tests/remote_config/test_remote_configuration.py::Test_RemoteConfigurationUpdateSequenceASMDDNoCache: irrelevant (we opt into cache) @@ -365,4 +366,3 @@ manifest: tests/test_telemetry.py::Test_TelemetryV2::test_config_telemetry_completeness: irrelevant (This test causes too many friction. It has been replaced by alerts on slack channels) tests/test_telemetry.py::Test_TelemetryV2::test_telemetry_v2_required_headers: missing_feature tests/test_v1_payloads.py: missing_feature - tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant diff --git a/manifests/envoy.yml b/manifests/envoy.yml index a29cb11e817..3ea663e86c6 100644 --- a/manifests/envoy.yml +++ b/manifests/envoy.yml @@ -27,6 +27,7 @@ manifest: tests/appsec/test_traces.py: v1.72.0 tests/appsec/test_traces.py::Test_CollectRespondHeaders::test_header_collection: missing_feature (The endpoint /headers is not implemented in the weblog) tests/appsec/test_versions.py::Test_Events: v1.72.0 + tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant tests/test_config_consistency.py::Test_Config_UnifiedServiceTagging_CustomService: v1.72.0 tests/test_scrubbing.py: v1.72.0 tests/test_semantic_conventions.py: v1.72.0 @@ -35,4 +36,3 @@ manifest: tests/test_standard_tags.py::Test_StandardTagsReferrerHostname: missing_feature tests/test_standard_tags.py::Test_StandardTagsUrl::test_multiple_matching_substring: irrelevant (tracer did not yet implemented the new version of query parameters obfuscation regex) tests/test_standard_tags.py::Test_StandardTagsUrl::test_url_with_sensitive_query_string: irrelevant (tracer did not yet implemented the new version of query parameters obfuscation regex) - tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant \ No newline at end of file diff --git a/manifests/haproxy.yml b/manifests/haproxy.yml index dae0e8aa07a..b65361ca3f9 100644 --- a/manifests/haproxy.yml +++ b/manifests/haproxy.yml @@ -25,6 +25,7 @@ manifest: tests/appsec/test_traces.py: v2.4.0 tests/appsec/test_traces.py::Test_CollectRespondHeaders::test_header_collection: missing_feature (The endpoint /headers is not implemented in the weblog) tests/appsec/test_versions.py::Test_Events: v2.4.0 + tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant tests/test_config_consistency.py::Test_Config_UnifiedServiceTagging_CustomService: v2.4.0 tests/test_scrubbing.py: v2.4.0 tests/test_semantic_conventions.py: v2.4.0 @@ -32,4 +33,3 @@ manifest: tests/test_standard_tags.py::Test_StandardTagsReferrerHostname: missing_feature tests/test_standard_tags.py::Test_StandardTagsUrl::test_multiple_matching_substring: irrelevant (tracer did not yet implemented the new version of query parameters obfuscation regex) tests/test_standard_tags.py::Test_StandardTagsUrl::test_url_with_sensitive_query_string: irrelevant (tracer did not yet implemented the new version of query parameters obfuscation regex) - tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant \ No newline at end of file diff --git a/manifests/java_otel.yml b/manifests/java_otel.yml index 001b6617c01..7b9c3bcec76 100644 --- a/manifests/java_otel.yml +++ b/manifests/java_otel.yml @@ -6,4 +6,4 @@ manifest: tests/integrations/test_open_telemetry.py::Test_MySql::test_properties: bug (OTEL-2778) tests/integrations/test_open_telemetry.py::Test_Postgres::test_obfuscate_query: bug (OTEL-2778) tests/integrations/test_open_telemetry.py::_BaseOtelDbIntegrationTestClass::test_obfuscate_query: bug (OTEL-2778) - tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant \ No newline at end of file + tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant diff --git a/manifests/k8s_cluster_agent.yml b/manifests/k8s_cluster_agent.yml index dec68522fc0..4c9d60e3ab8 100644 --- a/manifests/k8s_cluster_agent.yml +++ b/manifests/k8s_cluster_agent.yml @@ -4,4 +4,4 @@ manifest: tests/k8s_lib_injection/test_k8s_lib_injection_profiling.py::TestK8sLibInjectioProfilingClusterEnabled: v7.57.0 tests/k8s_lib_injection/test_k8s_lib_injection_profiling.py::TestK8sLibInjectioProfilingClusterOverride: v7.57.0 tests/k8s_lib_injection/test_k8s_lib_injection_profiling.py::TestK8sLibInjectioProfilingDisabledByDefault: v7.57.0 - tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant \ No newline at end of file + tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant diff --git a/manifests/nodejs_otel.yml b/manifests/nodejs_otel.yml index 8b15658b22d..cde58ecde33 100644 --- a/manifests/nodejs_otel.yml +++ b/manifests/nodejs_otel.yml @@ -17,4 +17,4 @@ manifest: tests/integrations/test_open_telemetry.py::_BaseOtelDbIntegrationTestClass::test_error_exception_event: missing_feature (Open telemetry with nodejs is not generating this information.) tests/integrations/test_open_telemetry.py::_BaseOtelDbIntegrationTestClass::test_error_type_and_stack: missing_feature (Open telemetry with nodejs is not generating this information.) tests/integrations/test_open_telemetry.py::_BaseOtelDbIntegrationTestClass::test_obfuscate_query: bug (OTEL-940) - tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant \ No newline at end of file + tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant diff --git a/manifests/python_lambda.yml b/manifests/python_lambda.yml index 51a3563e76c..f2e42a6ec16 100644 --- a/manifests/python_lambda.yml +++ b/manifests/python_lambda.yml @@ -246,7 +246,7 @@ manifest: - weblog_declaration: "*": v8.113.0 alb-multi: v8.114.0.dev + tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant tests/test_resource_renaming.py: missing_feature tests/test_rum_injection.py: irrelevant (RUM injection only supported for Java) tests/test_v1_payloads.py: missing_feature - tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant diff --git a/manifests/python_otel.yml b/manifests/python_otel.yml index 940b51d7e9c..dfd83067a53 100644 --- a/manifests/python_otel.yml +++ b/manifests/python_otel.yml @@ -11,4 +11,4 @@ manifest: tests/integrations/test_open_telemetry.py::_BaseOtelDbIntegrationTestClass::test_db_connection_string: "missing_feature (Open telemetry doesn't send this span for python)" tests/integrations/test_open_telemetry.py::_BaseOtelDbIntegrationTestClass::test_db_operation: "missing_feature (Open Telemetry doesn't send this span for python but it should do)" tests/integrations/test_open_telemetry.py::_BaseOtelDbIntegrationTestClass::test_obfuscate_query: bug (OTEL-940) - tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant \ No newline at end of file + tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant diff --git a/manifests/rust.yml b/manifests/rust.yml index a8fe2333403..6ddd31d93db 100644 --- a/manifests/rust.yml +++ b/manifests/rust.yml @@ -148,6 +148,7 @@ manifest: tests/parametric/test_otel_metrics.py::Test_Otel_Metrics_Telemetry::test_telemetry_metrics_http_protobuf: '>=0.2.1' # Modified by easy win activation script tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods: v0.0.1 tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_get_span_context: missing_feature (APMSP-2059) + tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_set_attributes_different_types_legacy: missing_feature (Old array encoding not supported) ? tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_span_extended_reserved_attributes_overrides_analytics_event : missing_feature (Not implemented) @@ -155,7 +156,6 @@ manifest: tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_span_started_with_link_from_other_spans: missing_feature (APMSP-2059) ? tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_span_strict_reserved_attributes_overrides_analytics_event : missing_feature (Not implemented) - tests/parametric/test_otel_span_methods.py::Test_Otel_Span_Methods::test_otel_record_exception_sets_handling_stack_in_go: irrelevant tests/parametric/test_otel_span_with_baggage.py::Test_Otel_Span_With_Baggage: missing_feature tests/parametric/test_otel_tracer.py::Test_Otel_Tracer: v0.0.1 tests/parametric/test_parametric_endpoints.py::Test_Parametric_DDSpan_Add_Link: missing_feature