Skip to content

Add wait event timeout count to session wait samples - #49940

Merged
ChrsMark merged 1 commit into
open-telemetry:mainfrom
rluidash:feat/oracledb-wait-event-timeouts
Aug 5, 2026
Merged

Add wait event timeout count to session wait samples#49940
ChrsMark merged 1 commit into
open-telemetry:mainfrom
rluidash:feat/oracledb-wait-event-timeouts

Conversation

@rluidash

Copy link
Copy Markdown
Contributor

Description

Adds oracledb.wait.timeouts to the db.server.session.wait_sample event, sourced from V$SESSION_EVENT.TOTAL_TIMEOUTS. This reports, per session and wait event, how many waits ended in a timeout — completing the wait-event picture alongside the existing oracledb.wait.count and oracledb.wait.duration fields.

The value comes from the same V$SESSION_EVENT row the receiver already reads for the wait-sample event, so this adds one column to the existing query and one attribute to the existing event — no new query, metric, or collection path. The field is part of the wait-sample event, which is disabled by default.

Link to tracking issue

Fixes #49934

Testing

Extended the session-wait-event scraper test to assert the new attribute is emitted with the expected value from the fake DB client.

Documentation

Regenerated documentation.md via make generate.

Authorship

  • I, a human, wrote this pull request description myself.

@rluidash
rluidash marked this pull request as ready for review July 29, 2026 08:21
@rluidash
rluidash requested review from a team, atoulme, crobert-1 and dmitryax as code owners July 29, 2026 08:21
@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Jul 29, 2026

Copy link
Copy Markdown

Pull request dashboard status

Merged · refreshed 2026-08-05 06:44 UTC

Status above doesn't look right?
  • Anything look wrong? Report it with what you expected; it helps us improve the dashboard.

@rluidash
rluidash force-pushed the feat/oracledb-wait-event-timeouts branch from a7fdfdd to 1456ef8 Compare July 29, 2026 09:33
Comment thread receiver/oracledbreceiver/metadata.yaml Outdated
@rluidash
rluidash force-pushed the feat/oracledb-wait-event-timeouts branch from 1456ef8 to ff5ec61 Compare August 1, 2026 07:06
@singhvibhanshu singhvibhanshu added the ready to merge Code review completed; ready to merge by maintainers label Aug 5, 2026
@ChrsMark
ChrsMark merged commit afe6ab0 into open-telemetry:main Aug 5, 2026
174 checks passed
@otelbot

otelbot Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Thank you for your contribution @rluidash! 🎉 We would like to hear from you about your experience contributing to OpenTelemetry by taking a few minutes to fill out this survey.

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

Labels

ready to merge Code review completed; ready to merge by maintainers receiver/oracledb

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add wait event timeout count to per-session wait samples

4 participants