Oracle UCP
OpenTelemetry Java agent instrumentation
The Oracle Universal Connection Pool (UCP) instrumentation enables database connection pool metrics for Oracle UCP data sources.
- Name:
oracle-ucp-11.2 - Scope:
io.opentelemetry.oracle-ucp-11.2 - Target versions:
com.oracle.database.jdbc:ucp:[,) - Library: https://docs.oracle.com/database/121/JJUCP/
Telemetry
When default
Metrics
| Metric | Instrument | Type | Unit | Description |
|---|---|---|---|---|
db.client.connections.max | updowncounter | LONG_SUM | {connections} | The maximum number of open connections allowed. |
db.client.connections.pending_requests | updowncounter | LONG_SUM | {requests} | The number of pending requests for an open connection, cumulative for the entire pool. |
db.client.connections.usage | updowncounter | LONG_SUM | {connections} | The number of connections that are currently in state described by the state attribute. |
| Metric | Attributes |
|---|---|
db.client.connections.max | pool.name (STRING) |
db.client.connections.pending_requests | pool.name (STRING) |
db.client.connections.usage | pool.name (STRING), state (STRING) |
When otel.semconv-stability.opt-in=database
Metrics
| Metric | Instrument | Type | Unit | Description |
|---|---|---|---|---|
db.client.connection.count | updowncounter | LONG_SUM | {connection} | The number of connections that are currently in state described by the state attribute. |
db.client.connection.limit | updowncounter | LONG_SUM | {connection} | The maximum number of open connections allowed. |
db.client.connection.pending_requests | updowncounter | LONG_SUM | {request} | The number of current pending requests for an open connection. |
| Metric | Attributes |
|---|---|
db.client.connection.count | db.client.connection.pool.name (STRING), db.client.connection.state (STRING), db.namespace (STRING), db.system.name (STRING), server.address (STRING), server.port (LONG) |
db.client.connection.limit | db.client.connection.pool.name (STRING), db.namespace (STRING), db.system.name (STRING), server.address (STRING), server.port (LONG) |
db.client.connection.pending_requests | db.client.connection.pool.name (STRING), db.namespace (STRING), db.system.name (STRING), server.address (STRING), server.port (LONG) |