Constant DB_QUERY_SUMMARY
pub const DB_QUERY_SUMMARY: &'static str;
Expand description
Low cardinality representation of a database query text.
§Notes
db.query.summary
provides static summary of the query text. It describes a class of database queries and is useful as a grouping key, especially when analyzing telemetry for database calls involving complex queries.
Summary may be available to the instrumentation through instrumentation hooks or other means. If it is not available, instrumentations that support query parsing SHOULD generate a summary following Generating query summary section.
§Examples
"SELECT wuser_table"
"INSERT shipping_details SELECT orders"
"get user by id"