Semantic Span Attributes¶
|Attribute Key/Name||Attribute Value||Obfuscated/Unset when
|db.statement||The database statement being executed. Will be
|db.system||Name of the database system being used. In this case, elasticsearch.||False|
|db.operation||The database operation being executed as uppercase. This is the HTTP method, e.g. PUT,...||False|
|db.elasticsearch.index||The elasticsearch index being executed against.||False|
Span names for elasticsearch transaction spans are the HTTP method associated with the Database operation. e.g
Things to be aware of¶
db.elasticsearch.indexattribute may sometimes not be present and other times may contain multiple values.
- Async Elasticsearch requests can have a callback span.
- Use the
subFlavourspan attribute to gain greater insight into the type of elasticsearch command is being executed.
- Tracing may not be supported for versions of Elasticsearch above 7.13.4
Properties for ElasticSearch¶
There are no system properties that are specific to Elasticsearch. Check the attributes page for general properties that affect Elasticsearch.
|Brief example of an Elasticsearch span.|