opentelemetry-python-contrib
opentelemetry-python-contrib copied to clipboard
Aiohttp-server instrumentation does not follow semantic conventions about http span name
trafficstars
Describe your environment
Problem not related to the environment
What happened?
I found that aiohttp-server do not follow convention about http span name.
There are two things that need to be fixed:
- Show only http method in span name by a default.
- Create an option to show url in a span name, but it must be disabled by default.
Steps to Reproduce
Just make request to app with aiohttp-server-instrumentation
Expected Result
Spans created by this instrumentation follow semantic conventions for http spans
Actual Result
Spans created by this instrumentation do not follow semantic conventions for http spans
Additional context
No response
Would you like to implement a fix?
Yes