You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rename db.client.connections.* metrics to db.client.connection.* and rename db.client.connection.usage to db.client.connection.count and adapting units (open-telemetry#966)
|`db.client.connections.usage`| UpDownCounter |`{connection}`| The number of connections that are currently in state described by the `state` attribute ||
168
+
|`db.client.connection.count`| UpDownCounter |`{connection}`| The number of connections that are currently in state described by the `state` attribute ||
|[`db.client.connections.pool.name`](/docs/attributes-registry/db.md)| string | The name of the connection pool; unique within the instrumented application. In case the connection pool implementation doesn't provide a name, instrumentation should use a combination of `server.address` and `server.port` attributes formatted as `server.address:server.port`. |`myDataSource`|`Required`||
@@ -181,129 +181,129 @@ This metric is [required][MetricRequired].
|`db.client.connections.idle.max`| UpDownCounter |`{connection}`| The maximum number of idle open connections allowed ||
191
+
|`db.client.connection.idle.max`| UpDownCounter |`{connection}`| The maximum number of idle open connections allowed ||
|[`db.client.connections.pool.name`](/docs/attributes-registry/db.md)| string | The name of the connection pool; unique within the instrumented application. In case the connection pool implementation doesn't provide a name, instrumentation should use a combination of `server.address` and `server.port` attributes formatted as `server.address:server.port`. |`myDataSource`|`Required`||
|`db.client.connections.idle.min`| UpDownCounter |`{connection}`| The minimum number of idle open connections allowed ||
207
+
|`db.client.connection.idle.min`| UpDownCounter |`{connection}`| The minimum number of idle open connections allowed ||
|[`db.client.connections.pool.name`](/docs/attributes-registry/db.md)| string | The name of the connection pool; unique within the instrumented application. In case the connection pool implementation doesn't provide a name, instrumentation should use a combination of `server.address` and `server.port` attributes formatted as `server.address:server.port`. |`myDataSource`|`Required`||
|`db.client.connections.max`| UpDownCounter |`{connection}`| The maximum number of open connections allowed ||
223
+
|`db.client.connection.max`| UpDownCounter |`{connection}`| The maximum number of open connections allowed ||
|[`db.client.connections.pool.name`](/docs/attributes-registry/db.md)| string | The name of the connection pool; unique within the instrumented application. In case the connection pool implementation doesn't provide a name, instrumentation should use a combination of `server.address` and `server.port` attributes formatted as `server.address:server.port`. |`myDataSource`|`Required`||
|`db.client.connections.pending_requests`| UpDownCounter |`{request}`| The number of pending requests for an open connection, cumulative for the entire pool ||
239
+
|`db.client.connection.pending_requests`| UpDownCounter |`{request}`| The number of pending requests for an open connection, cumulative for the entire pool ||
|[`db.client.connections.pool.name`](/docs/attributes-registry/db.md)| string | The name of the connection pool; unique within the instrumented application. In case the connection pool implementation doesn't provide a name, instrumentation should use a combination of `server.address` and `server.port` attributes formatted as `server.address:server.port`. |`myDataSource`|`Required`||
|`db.client.connections.timeouts`| Counter |`{timeout}`| The number of connection timeouts that have occurred trying to obtain a connection from the pool ||
255
+
|`db.client.connection.timeouts`| Counter |`{timeout}`| The number of connection timeouts that have occurred trying to obtain a connection from the pool ||
|[`db.client.connections.pool.name`](/docs/attributes-registry/db.md)| string | The name of the connection pool; unique within the instrumented application. In case the connection pool implementation doesn't provide a name, instrumentation should use a combination of `server.address` and `server.port` attributes formatted as `server.address:server.port`. |`myDataSource`|`Required`||
|`db.client.connections.create_time`| Histogram |`ms`| The time it took to create a new connection ||
271
+
|`db.client.connection.create_time`| Histogram |`s`| The time it took to create a new connection ||
|[`db.client.connections.pool.name`](/docs/attributes-registry/db.md)| string | The name of the connection pool; unique within the instrumented application. In case the connection pool implementation doesn't provide a name, instrumentation should use a combination of `server.address` and `server.port` attributes formatted as `server.address:server.port`. |`myDataSource`|`Required`||
|`db.client.connections.wait_time`| Histogram |`ms`| The time it took to obtain an open connection from the pool ||
287
+
|`db.client.connection.wait_time`| Histogram |`s`| The time it took to obtain an open connection from the pool ||
|[`db.client.connections.pool.name`](/docs/attributes-registry/db.md)| string | The name of the connection pool; unique within the instrumented application. In case the connection pool implementation doesn't provide a name, instrumentation should use a combination of `server.address` and `server.port` attributes formatted as `server.address:server.port`. |`myDataSource`|`Required`||
|`db.client.connections.use_time`| Histogram |`ms`| The time between borrowing a connection and returning it to the pool ||
303
+
|`db.client.connection.use_time`| Histogram |`s`| The time between borrowing a connection and returning it to the pool ||
|[`db.client.connections.pool.name`](/docs/attributes-registry/db.md)| string | The name of the connection pool; unique within the instrumented application. In case the connection pool implementation doesn't provide a name, instrumentation should use a combination of `server.address` and `server.port` attributes formatted as `server.address:server.port`. |`myDataSource`|`Required`||
0 commit comments