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?