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/redisson-metrics-3.18.md.

Redisson

OpenTelemetry Java agent instrumentation

This instrumentation enables database connection pool metrics for Redisson.

  • Name: redisson-metrics-3.18
  • Scope: io.opentelemetry.redisson-metrics-3.18
  • Target versions: org.redisson:redisson:[3.18.0,3.26.0)
  • Library: https://github.com/redisson/redisson

Telemetry

When default

Metrics

MetricInstrumentTypeUnitDescription
db.client.connections.idle.minupdowncounterLONG_SUM{connections}The minimum number of idle open connections allowed.
db.client.connections.maxupdowncounterLONG_SUM{connections}The maximum number of open connections allowed.
db.client.connections.pending_requestsupdowncounterLONG_SUM{requests}The number of pending requests for an open connection, cumulative for the entire pool.
db.client.connections.usageupdowncounterLONG_SUM{connections}The number of connections that are currently in state described by the state attribute.
MetricAttributes
db.client.connections.idle.minpool.name (STRING)
db.client.connections.maxpool.name (STRING)
db.client.connections.pending_requestspool.name (STRING)
db.client.connections.usagepool.name (STRING), state (STRING)

When otel.semconv-stability.opt-in=database

Metrics

MetricInstrumentTypeUnitDescription
db.client.connection.countupdowncounterLONG_SUM{connection}The number of connections that are currently in state described by the state attribute.
db.client.connection.idle.minupdowncounterLONG_SUM{connection}The minimum number of idle open connections allowed.
db.client.connection.limitupdowncounterLONG_SUM{connection}The maximum number of open connections allowed.
db.client.connection.pending_requestsupdowncounterLONG_SUM{request}The number of current pending requests for an open connection.
MetricAttributes
db.client.connection.countdb.client.connection.pool.name (STRING), db.client.connection.state (STRING), db.system.name (STRING)
db.client.connection.idle.mindb.client.connection.pool.name (STRING), db.system.name (STRING)
db.client.connection.limitdb.client.connection.pool.name (STRING), db.system.name (STRING)
db.client.connection.pending_requestsdb.client.connection.pool.name (STRING), db.system.name (STRING)

Configuration

OptionTypeDefaultDescription
otel.semconv-stability.opt-inlistOpt-in to emit stable semantic conventions instead of the old experimental semantic conventions. Accepts a comma-separated list of semantic convention groups (e.g., database, http, messaging). Use <group>/dup to emit both old and new conventions simultaneously. Stable semantic conventions will become the default in version 3.0 of the agent.

Data

  • JSON (latest): /data/javaagent/instrumentations/redisson-metrics-3.18/latest.json
  • JSON (pinned): /data/javaagent/instrumentations/redisson-metrics-3.18/redisson-metrics-3.18-317c7fde5157.json
  • Explore: /java-agent/instrumentation/redisson-metrics-3.18