When tracing is enabled, opentelemetry warns about query_name attribute being None.
[warning ] Invalid type NoneType for attribute 'query_name' value. Expected one of ['bool', 'str', 'bytes', 'int', 'float'] or a sequence of those types [opentelemetry.attributes]
When tracing is enabled, opentelemetry warns about query_name attribute being None.