See
|
send_span.set_attribute("type", message["type"]) |
This results in an attribute like {'type': 'http.request.body'}, which seems wrong. type is a super generic key and I don't think leaking the details of the web framework spec (http.request.body is an ASGI specific string) is very helpful to users.
Can we get rid of this?
See
opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-asgi/src/opentelemetry/instrumentation/asgi/__init__.py
Line 681 in 7166de6
This results in an attribute like
{'type': 'http.request.body'}, which seems wrong.typeis a super generic key and I don't think leaking the details of the web framework spec (http.request.bodyis an ASGI specific string) is very helpful to users.Can we get rid of this?