You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: instrumentation/opentelemetry-instrumentation-aiohttp-server/src/opentelemetry/instrumentation/aiohttp_server/__init__.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ async def hello(request):
71
71
72
72
will extract ``content-type`` and ``custom_request_header`` from the request headers and add them as span attributes.
73
73
74
-
Request header names in ASGI are case-insensitive. So, giving the header name as ``CUStom-Header`` in the environment
74
+
Request header names in aiohttp are case-insensitive. So, giving the header name as ``CUStom-Header`` in the environment
75
75
variable will capture the header named ``custom-header``.
76
76
77
77
Regular expressions may also be used to match multiple headers that correspond to the given pattern. For example:
@@ -105,7 +105,7 @@ async def hello(request):
105
105
106
106
will extract ``content-type`` and ``custom_response_header`` from the response headers and add them as span attributes.
107
107
108
-
Response header names in ASGI are case-insensitive. So, giving the header name as ``CUStom-Header`` in the environment
108
+
Response header names in aiohttp are case-insensitive. So, giving the header name as ``CUStom-Header`` in the environment
109
109
variable will capture the header named ``custom-header``.
110
110
111
111
Regular expressions may also be used to match multiple headers that correspond to the given pattern. For example:
0 commit comments