Skip to content

Commit

Permalink
cl
Browse files Browse the repository at this point in the history
  • Loading branch information
lzchen committed Jul 26, 2024
1 parent 4bc7782 commit 6034150
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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]
Expand Down

0 comments on commit 6034150

Please sign in to comment.