Skip to content

Commit

Permalink
Db metrics pending requests (#1290)
Browse files Browse the repository at this point in the history
Co-authored-by: Liudmila Molkova <[email protected]>
  • Loading branch information
2 people authored and ezimuel committed Aug 20, 2024
1 parent 61b0f2c commit ceae2ca
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .chloggen/1290.yaml
Original file line number Diff line number Diff line change
@@ -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 ]
2 changes: 1 addition & 1 deletion docs/database/database-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 -->
Expand Down
2 changes: 1 addition & 1 deletion model/metrics/database-metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ceae2ca

Please sign in to comment.