This documentation has an index for AI agents at /llms.txt. A Markdown version of this page is available at https://explorer.opentelemetry.io/java-agent/instrumentation/apache-commons-pool-2.0.md.

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

OptionTypeDefaultDescription
otel.instrumentation.apache-commons-pool.enabledbooleanfalseEnables the Apache Commons Pool instrumentation.

Data

  • JSON: /data/javaagent/instrumentations/apache-commons-pool-2.0/apache-commons-pool-2.0-ad6e6e94ca9a.json
  • Explore: /java-agent/instrumentation/apache-commons-pool-2.0