From ceae2cabb6c63e64cd78d2db70faa664cddce8f9 Mon Sep 17 00:00:00 2001 From: Marylia Gutierrez Date: Mon, 12 Aug 2024 14:47:40 -0400 Subject: [PATCH] Db metrics pending requests (#1290) Co-authored-by: Liudmila Molkova --- .chloggen/1290.yaml | 4 ++++ docs/database/database-metrics.md | 2 +- model/metrics/database-metrics.yaml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .chloggen/1290.yaml diff --git a/.chloggen/1290.yaml b/.chloggen/1290.yaml new file mode 100644 index 0000000000..c9b4d85bfa --- /dev/null +++ b/.chloggen/1290.yaml @@ -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 ] diff --git a/docs/database/database-metrics.md b/docs/database/database-metrics.md index 7587bf0f1e..89b9510cb6 100644 --- a/docs/database/database-metrics.md +++ b/docs/database/database-metrics.md @@ -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) | diff --git a/model/metrics/database-metrics.yaml b/model/metrics/database-metrics.yaml index 45a92a12fc..716776b3cf 100644 --- a/model/metrics/database-metrics.yaml +++ b/model/metrics/database-metrics.yaml @@ -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: