pub const DB_ELASTICSEARCH_PATH_PARTS: &str = "db.elasticsearch.path_parts";
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"