Skip to content

fix: correct OTel instrument kind for db.client.connection.count and db.client.connection.pending_requests#2953

Open
elena-kolevska wants to merge 1 commit intoredis:mainfrom
elena-kolevska:fix-otel-metric-names
Open

fix: correct OTel instrument kind for db.client.connection.count and db.client.connection.pending_requests#2953
elena-kolevska wants to merge 1 commit intoredis:mainfrom
elena-kolevska:fix-otel-metric-names

Conversation

@elena-kolevska
Copy link
Copy Markdown
Contributor

@elena-kolevska elena-kolevska commented Mar 29, 2026

Two client observability metrics (db.client.connection.count and db.client.connection.pending_requests) changed from a gauge to an UpDownCounter. This Pr brings the docs in alignment with the change.


Note

Low Risk
Low risk docs/spec update: only the metric metadata in data/client_obs_metrics.json changes, with no runtime code impact. Risk is limited to consumers relying on the previous Gauge/async semantics for these two metric definitions.

Overview
Updates the client observability metrics spec to reflect that db.client.connection.count and db.client.connection.pending_requests are synchronous UpDownCounters rather than observable Gauges.

This changes their declared type, otel.instrument_kind, and async/observable flags, and removes wording that described them as async metrics.

Written by Cursor Bugbot for commit 0cd7ba1. This will update automatically on new commits. Configure here.

Signed-off-by: Elena Kolevska <elena@kolevska.com>
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants