Apache Commons Pool
OpenTelemetry Java agent instrumentation
This instrumentation enables object pool metrics for Apache Commons Pool GenericObjectPool and GenericKeyedObjectPool instances.
- Name:
apache-commons-pool-2.0 - Scope:
io.opentelemetry.apache-commons-pool-2.0 - Target versions:
org.apache.commons:commons-pool2:[2.0,) - Library: https://commons.apache.org/proper/commons-pool/
Telemetry
- Metrics:
apache_commons_pool.object.count,apache_commons_pool.object.idle.max,apache_commons_pool.object.idle.min,apache_commons_pool.object.max,apache_commons_pool.object.pending_requests
Configuration
| Option | Type | Default | Description |
|---|---|---|---|
otel.instrumentation.apache-commons-pool.enabled | boolean | false | Enables the Apache Commons Pool instrumentation. |