Skip to content

Commit 45010c9

Browse files
Update instrumentation/opentelemetry-instrumentation-aiohttp-server/src/opentelemetry/instrumentation/aiohttp_server/__init__.py
Co-authored-by: Tammy Baylis <96076570+tammy-baylis-swi@users.noreply.github.com>
1 parent 3de4702 commit 45010c9

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def get_default_span_name(request: web.Request) -> str:
242242
Args:
243243
request: the request object itself.
244244
Returns:
245-
The canonical name of a resource if possible or just request path.
245+
The span name as "{method} {canonical_name}" of a resource if possible or just "{method}".
246246
"""
247247
try:
248248
resource = request.match_info.route.resource

0 commit comments

Comments
 (0)