otsql icon indicating copy to clipboard operation
otsql copied to clipboard

use otel semantic convention attribute name for db query

Open mathnogueira opened this issue 2 years ago • 0 comments

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

mathnogueira avatar Jul 04 '22 15:07 mathnogueira