Elasticsearch API Client
OpenTelemetry Java agent instrumentation
This instrumentation enriches Elasticsearch database client spans generated by the elasticsearch-rest-7.0 instrumentation by adding db.elasticsearch.path_parts.id and db.elasticsearch.path_parts.index attributes. It does not emit any telemetry on its own. Versions 8.10 and later of the Elasticsearch Java client have native OpenTelemetry support.
- Name:
elasticsearch-api-client-7.16 - Scope:
io.opentelemetry.elasticsearch-api-client-7.16 - Target versions:
co.elastic.clients:elasticsearch-java:[7.16,7.17.20),co.elastic.clients:elasticsearch-java:[8.0.0,8.10) - Library: https://www.elastic.co/docs/reference/elasticsearch/clients/java
Telemetry
- Metrics:
db.client.operation.duration - Span attributes:
db.elasticsearch.path_parts.id,db.elasticsearch.path_parts.index,db.operation,db.system,http.request.method,server.address,server.port,url.full,db.operation.name,db.system.name