opentelemetry-python-contrib/reference/ddtrace/ext/db.py

5 lines
176 B
Python

# tags
NAME = 'db.name' # the database name (eg: dbname for pgsql)
USER = 'db.user' # the user connecting to the db
ROWCOUNT = 'db.rowcount' # the rowcount of a query