Lettuce
OpenTelemetry Java agent instrumentation
This instrumentation enables database client spans and database client metrics for the Lettuce Redis client.
- Name:
lettuce-4.0 - Scope:
io.opentelemetry.lettuce-4.0 - Target versions:
biz.paluch.redis:lettuce:[4.0.Final,) - Library: https://github.com/redis/lettuce
Telemetry
- Metrics:
db.client.operation.duration - Span attributes:
db.operation,db.system,server.address,server.port,peer.service,db.operation.batch.size,db.operation.name,db.system.name,error.type,service.peer.name,lettuce.command.cancelled
Configuration
| Option | Type | Default | Description |
|---|---|---|---|
otel.instrumentation.common.peer-service-mapping | map | Used to specify a mapping from host names or IP addresses to peer services. | |
otel.instrumentation.lettuce.connection-telemetry.enabled | boolean | false | Enables connection telemetry spans for Redis connections. |
otel.instrumentation.lettuce.experimental-span-attributes | boolean | false | Enables experimental span attribute lettuce.command.cancelled. |