11 Dec 2024 10:10 PM
I have a service using Python and psycopg3 utilizing the OpenTelemetry auto instrumentation and the OpenTelemetry SDK using the attributes in the semantic conventions common attributes. I do not see a database service represented by those spans.
The Database detection and monitoring docs include "you will see database statements traces only if the application that makes them either sends distributed traces to the OpenTelemetry trace ingest API".
Are there specific attributes that need to be included or other pre-requisites to enabling that database service?
Solved! Go to Solution.
12 Dec 2024 12:43 AM
Hey @lukegoyer
I believe that section of the documentation is specifically referring to seeing database statement traces and not the creation of the database entity but understandably it is misleading. As far as I can tell this is not supported with OTEL tracing at the moment.