opentelemetry-java-instrume.../instrumentation/elasticsearch/elasticsearch-transport-5.0/metadata.yaml

22 lines
1.2 KiB
YAML

description: >
This instrumentation enables database client spans and database client metrics for Elasticsearch
transport client requests. Each call produces a span named after the Elasticsearch action,
enriched with transport-specific attributes.
configurations:
- name: otel.instrumentation.elasticsearch.experimental-span-attributes
description: >
Enable the capture of the experimental span attributes `elasticsearch.action`,
`elasticsearch.id`, `elasticsearch.request`, `elasticsearch.request.indices`,
`elasticsearch.request.write.routing`, `elasticsearch.request.write.type`,
`elasticsearch.response.status`, `elasticsearch.shard.replication.failed`,
`elasticsearch.shard.replication.successful`, `elasticsearch.shard.replication.total`,
`elasticsearch.type`, and `elasticsearch.version`.
type: boolean
default: false
- name: otel.instrumentation.http.known-methods
description: >
Configures the instrumentation to recognize an alternative set of HTTP request methods. All
other methods will be treated as `_OTHER`.
type: list
default: "CONNECT,DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT,TRACE"