Db metrics pending requests (#1290)

Co-authored-by: Liudmila Molkova <limolkova@microsoft.com>
This commit is contained in:
Marylia Gutierrez 2024-08-12 14:47:40 -04:00 committed by GitHub
parent b2424db774
commit 8101a6397c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 2 deletions

4
.chloggen/1290.yaml Normal file
View File

@ -0,0 +1,4 @@
change_type: enhancement
component: db
note: Change description of `db.client.connection.pending_requests` from cumulative to current value
issues: [ 1290 ]

View File

@ -386,7 +386,7 @@ This metric is [recommended][MetricRecommended].
| Name | Instrument Type | Unit (UCUM) | Description | Stability |
| -------- | --------------- | ----------- | -------------- | --------- |
| `db.client.connection.pending_requests` | UpDownCounter | `{request}` | The number of pending requests for an open connection, cumulative for the entire pool | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `db.client.connection.pending_requests` | UpDownCounter | `{request}` | The number of current pending requests for an open connection | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
<!-- markdownlint-restore -->

View File

@ -83,7 +83,7 @@ groups:
type: metric
metric_name: db.client.connection.pending_requests
stability: experimental
brief: "The number of pending requests for an open connection, cumulative for the entire pool"
brief: "The number of current pending requests for an open connection"
instrument: updowncounter
unit: "{request}"
attributes: