diff --git a/CHANGELOG.md b/CHANGELOG.md index 2487d4573a..0c1e2f596f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - `opentelemetry-instrumentation-django` Fix regression - `http.target` re-added back to old semconv duration metrics - ([#2714](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2714)) + ([#2746](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2746)) ## Version 1.26.0/0.47b0 (2024-07-23) diff --git a/instrumentation/opentelemetry-instrumentation-django/tests/test_middleware.py b/instrumentation/opentelemetry-instrumentation-django/tests/test_middleware.py index 31c9cb7767..dcaf051fe7 100644 --- a/instrumentation/opentelemetry-instrumentation-django/tests/test_middleware.py +++ b/instrumentation/opentelemetry-instrumentation-django/tests/test_middleware.py @@ -123,6 +123,7 @@ def path(path_argument, *args, **kwargs): _django_old_server_duration_attrs = _server_duration_attrs_old.copy() _django_old_server_duration_attrs.append(SpanAttributes.HTTP_TARGET) + # pylint: disable=too-many-public-methods class TestMiddleware(WsgiTestBase): @classmethod @@ -845,7 +846,6 @@ def test_wsgi_metrics_both_semconv(self): if isinstance(point, NumberDataPoint): number_data_point_seen = True self.assertEqual(point.value, 0) - print(metric.name) for attr in point.attributes: self.assertIn( attr, _recommended_attrs[metric.name]