otsql
otsql copied to clipboard
use otel semantic convention attribute name for db query
In OTEL's semantic convention page, they mention that database queries should be recorded using the attribute db.statement
.
It would be nice to use it instead of sql.query