Skip to content

Commit c074c62

Browse files
docs: update wording
1 parent f312d4a commit c074c62

File tree

2 files changed

+2
-2
lines changed
  • instrumentation
    • opentelemetry-instrumentation-asgi/src/opentelemetry/instrumentation/asgi
    • opentelemetry-instrumentation-fastapi/src/opentelemetry/instrumentation/fastapi

2 files changed

+2
-2
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ class OpenTelemetryMiddleware:
527527
the current globally configured one is used.
528528
meter_provider: The optional meter provider to use. If omitted
529529
the current globally configured one is used.
530-
exclude_spans: Optionally exclude http `send` and/or `receive` span from the trace.
530+
exclude_spans: Optionally exclude HTTP `send` and/or `receive` spans from the trace.
531531
"""
532532

533533
# pylint: disable=too-many-branches

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def instrument_app(
252252
http_capture_headers_server_request: Optional list of HTTP headers to capture from the request.
253253
http_capture_headers_server_response: Optional list of HTTP headers to capture from the response.
254254
http_capture_headers_sanitize_fields: Optional list of HTTP headers to sanitize.
255-
exclude_spans: Optionally exclude http `send` and/or `receive` span from the trace.
255+
exclude_spans: Optionally exclude HTTP `send` and/or `receive` spans from the trace.
256256
"""
257257
if not hasattr(app, "_is_instrumented_by_opentelemetry"):
258258
app._is_instrumented_by_opentelemetry = False

0 commit comments

Comments
 (0)