rama::telemetry::opentelemetry::semantic_conventions::trace

Constant DB_QUERY_PARAMETER

pub const DB_QUERY_PARAMETER: &'static str;
Expand description

A query parameter used in db.query.text, with <key> being the parameter name, and the attribute value being a string representation of the parameter value.

§Notes

Query parameters should only be captured when db.query.text is parameterized with placeholders. If a parameter has no name and instead is referenced only by index, then <key> SHOULD be the 0-based index. This attribute has stability level RELEASE CANDIDATE.

§Examples

  • "someval"
  • "55"