Skip to content

Commit 4963ea4

Browse files
Rodrigo-Novasocelotl
authored andcommitted
feat: replace for the last description version Duration of HTTP client requests
1 parent 63604fb commit 4963ea4

File tree

8 files changed

+8
-8
lines changed
  • instrumentation
    • opentelemetry-instrumentation-aiohttp-server/src/opentelemetry/instrumentation/aiohttp_server
    • opentelemetry-instrumentation-asgi/src/opentelemetry/instrumentation/asgi
    • opentelemetry-instrumentation-django/src/opentelemetry/instrumentation/django
    • opentelemetry-instrumentation-falcon/src/opentelemetry/instrumentation/falcon
    • opentelemetry-instrumentation-flask/src/opentelemetry/instrumentation/flask
    • opentelemetry-instrumentation-pyramid/src/opentelemetry/instrumentation/pyramid
    • opentelemetry-instrumentation-tornado/src/opentelemetry/instrumentation/tornado
    • opentelemetry-instrumentation-wsgi/src/opentelemetry/instrumentation/wsgi

8 files changed

+8
-8
lines changed

instrumentation/opentelemetry-instrumentation-aiohttp-server/src/opentelemetry/instrumentation/aiohttp_server/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ async def middleware(request, handler):
207207
duration_histogram = meter.create_histogram(
208208
name=MetricInstruments.HTTP_SERVER_DURATION,
209209
unit="ms",
210-
description="Measures the duration of inbound HTTP requests",
210+
description="Duration of HTTP client requests.",
211211
)
212212

213213
active_requests_counter = meter.create_up_down_counter(

instrumentation/opentelemetry-instrumentation-asgi/src/opentelemetry/instrumentation/asgi/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ def __init__(
492492
self.duration_histogram = self.meter.create_histogram(
493493
name=MetricInstruments.HTTP_SERVER_DURATION,
494494
unit="ms",
495-
description="Measures the duration of inbound HTTP requests",
495+
description="Duration of HTTP client requests.",
496496
)
497497
self.server_response_size_histogram = self.meter.create_histogram(
498498
name=MetricInstruments.HTTP_SERVER_RESPONSE_SIZE,

instrumentation/opentelemetry-instrumentation-django/src/opentelemetry/instrumentation/django/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ def _instrument(self, **kwargs):
322322
_DjangoMiddleware._duration_histogram = meter.create_histogram(
323323
name=MetricInstruments.HTTP_SERVER_DURATION,
324324
unit="ms",
325-
description="Measures the duration of inbound HTTP requests",
325+
description="Duration of HTTP client requests.",
326326
)
327327
_DjangoMiddleware._active_request_counter = meter.create_up_down_counter(
328328
name=MetricInstruments.HTTP_SERVER_ACTIVE_REQUESTS,

instrumentation/opentelemetry-instrumentation-falcon/src/opentelemetry/instrumentation/falcon/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def __init__(self, *args, **kwargs):
268268
self.duration_histogram = self._otel_meter.create_histogram(
269269
name=MetricInstruments.HTTP_SERVER_DURATION,
270270
unit="ms",
271-
description="Measures the duration of inbound HTTP requests",
271+
description="Duration of HTTP client requests.",
272272
)
273273
self.active_requests_counter = self._otel_meter.create_up_down_counter(
274274
name=MetricInstruments.HTTP_SERVER_ACTIVE_REQUESTS,

instrumentation/opentelemetry-instrumentation-flask/src/opentelemetry/instrumentation/flask/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ def __init__(self, *args, **kwargs):
506506
duration_histogram = meter.create_histogram(
507507
name=MetricInstruments.HTTP_SERVER_DURATION,
508508
unit="ms",
509-
description="Measures the duration of inbound HTTP requests",
509+
description="Duration of HTTP client requests.",
510510
)
511511
active_requests_counter = meter.create_up_down_counter(
512512
name=MetricInstruments.HTTP_SERVER_ACTIVE_REQUESTS,

instrumentation/opentelemetry-instrumentation-pyramid/src/opentelemetry/instrumentation/pyramid/callbacks.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def trace_tween_factory(handler, registry):
140140
duration_histogram = meter.create_histogram(
141141
name=MetricInstruments.HTTP_SERVER_DURATION,
142142
unit="ms",
143-
description="Measures the duration of inbound HTTP requests",
143+
description="Duration of HTTP client requests.",
144144
)
145145
active_requests_counter = meter.create_up_down_counter(
146146
name=MetricInstruments.HTTP_SERVER_ACTIVE_REQUESTS,

instrumentation/opentelemetry-instrumentation-tornado/src/opentelemetry/instrumentation/tornado/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ def _create_server_histograms(meter) -> Dict[str, Histogram]:
296296
MetricInstruments.HTTP_SERVER_DURATION: meter.create_histogram(
297297
name=MetricInstruments.HTTP_SERVER_DURATION,
298298
unit="ms",
299-
description="Measures the duration of inbound HTTP requests",
299+
description="Duration of HTTP client requests.",
300300
),
301301
MetricInstruments.HTTP_SERVER_REQUEST_SIZE: meter.create_histogram(
302302
name=MetricInstruments.HTTP_SERVER_REQUEST_SIZE,

instrumentation/opentelemetry-instrumentation-wsgi/src/opentelemetry/instrumentation/wsgi/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ def __init__(
507507
self.duration_histogram = self.meter.create_histogram(
508508
name=MetricInstruments.HTTP_SERVER_DURATION,
509509
unit="ms",
510-
description="Measures the duration of inbound HTTP requests",
510+
description="Duration of HTTP client requests.",
511511
)
512512
self.active_requests_counter = self.meter.create_up_down_counter(
513513
name=MetricInstruments.HTTP_SERVER_ACTIVE_REQUESTS,

0 commit comments

Comments
 (0)