opentelemetry-python-contrib icon indicating copy to clipboard operation
opentelemetry-python-contrib copied to clipboard

Aiohttp-server instrumentation does not follow semantic conventions about http span name

Open nesb1 opened this issue 9 months ago • 1 comments
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:

  1. Show only http method in span name by a default.
  2. 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

nesb1 avatar Jan 30 '25 08:01 nesb1