Skip to content

opentelemetry-instrumentation-dbapi: Add Database client operation duration and returned rows metrics#4481

Open
herin049 wants to merge 2 commits intoopen-telemetry:mainfrom
herin049:feat/dbapi-metrics
Open

opentelemetry-instrumentation-dbapi: Add Database client operation duration and returned rows metrics#4481
herin049 wants to merge 2 commits intoopen-telemetry:mainfrom
herin049:feat/dbapi-metrics

Conversation

@herin049
Copy link
Copy Markdown
Contributor

Description

Adds support for client operation duration and returned row metrics when Semconv opt-in is enabled for Database semantic conventions.

Fixes #4480

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

uv run tox -e py314-test-instrumentation-dbapi

Does This PR Require a Core Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

@herin049 herin049 requested a review from a team as a code owner April 23, 2026 02:37
@herin049 herin049 moved this to Ready for review in Python PR digest Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Ready for review

Development

Successfully merging this pull request may close these issues.

Add Metrics to "opentelemetry-instrumentation-dbapi"

1 participant