Skip to content

Commit 4b67e87

Browse files
Apply suggestions from code review
Co-authored-by: Tammy Baylis <[email protected]>
1 parent 54a0084 commit 4b67e87

File tree

1 file changed

+2
-2
lines changed
  • instrumentation/opentelemetry-instrumentation-aiohttp-server/src/opentelemetry/instrumentation/aiohttp_server

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ async def hello(request):
7171
7272
will extract ``content-type`` and ``custom_request_header`` from the request headers and add them as span attributes.
7373
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
7575
variable will capture the header named ``custom-header``.
7676
7777
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):
105105
106106
will extract ``content-type`` and ``custom_response_header`` from the response headers and add them as span attributes.
107107
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
109109
variable will capture the header named ``custom-header``.
110110
111111
Regular expressions may also be used to match multiple headers that correspond to the given pattern. For example:

0 commit comments

Comments
 (0)