forked from pulp/pulp-service
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Due to an issue open-telemetry/opentelemetry-python-contrib#2513 We can remove the patch once open-telemetry/opentelemetry-python-contrib#2514 is released.
- Loading branch information
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/opentelemetry/instrumentation/django/__init__.py b/opentelemetry/instrumentation/django/__init__.py | ||
index 37ac760283..b0b73168b3 100644 | ||
--- a/opentelemetry/instrumentation/django/__init__.py | ||
+++ b/opentelemetry/instrumentation/django/__init__.py | ||
@@ -327,7 +327,7 @@ def _instrument(self, **kwargs): | ||
_DjangoMiddleware._active_request_counter = meter.create_up_down_counter( | ||
name=MetricInstruments.HTTP_SERVER_ACTIVE_REQUESTS, | ||
unit="requests", | ||
- description="measures the number of concurrent HTTP requests those are currently in flight", | ||
+ description="measures the number of concurrent HTTP requests that are currently in-flight", | ||
) | ||
# This can not be solved, but is an inherent problem of this approach: | ||
# the order of middleware entries matters, and here you have no control |