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

Constant DB_ELASTICSEARCH_PATH_PARTS

pub const DB_ELASTICSEARCH_PATH_PARTS: &'static str;
Expand description

A dynamic value in the url path.

§Notes

Many Elasticsearch url paths allow dynamic values. These SHOULD be recorded in span attributes in the format db.elasticsearch.path_parts.<key>, where <key> is the url path part name. The implementation SHOULD reference the elasticsearch schema in order to map the path part values to their names.

§Examples

  • "db.elasticsearch.path_parts.index=test-index"
  • "db.elasticsearch.path_parts.doc_id=123"