Enhanced plan details for oracle - #49279
Merged
atoulme merged 9 commits intoJul 2, 2026
Merged
Conversation
sv-splunk
marked this pull request as ready for review
June 25, 2026 15:44
sv-splunk
requested review from
a team,
atoulme,
crobert-1 and
dmitryax
as code owners
June 25, 2026 15:44
crobert-1
reviewed
Jun 26, 2026
Contributor
Author
|
@crobert-1 Thanks for the review. I have addressed all your comments. Please check! |
crobert-1
approved these changes
Jun 30, 2026
atoulme
approved these changes
Jul 2, 2026
tommyers-elastic
pushed a commit
to tommyers-elastic/opentelemetry-collector-contrib
that referenced
this pull request
Jul 3, 2026
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description The Oracle DB receiver currently queries `V$SQL_PLAN` to obtain optimizer-estimated plan nodes for top queries. Oracle also provides `V$SQL_PLAN_STATISTICS_ALL`, a superset view that includes actual runtime statistics per plan node when statistics were gathered during execution. This PR switches the table to `V$SQL_PLAN_STATISTICS_ALL` and adds the below 7 stats into plan details. ``` - OUTPUT_ROWS, - LAST_OUTPUT_ROWS, - LAST_ELAPSED_TIME, - LAST_CR_BUFFER_GETS, - LAST_CU_BUFFER_GETS, - STARTS, - LAST_STARTS ``` <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes open-telemetry#49329 <!--Describe what testing was performed and which tests were added.--> #### Testing Test templates updated <!--Describe the documentation added.--> #### Documentation Updated <!--Authorship attestation. See AGENTS.md for details. AI agents must not check this box on behalf of the user; the human author must check it themselves before the PR is ready for review.--> #### Authorship - [x] I, a human, wrote this pull request description myself. <!--Please delete paragraphs that you did not use before submitting.-->
akhileshsingh85
pushed a commit
to akhileshsingh85/opentelemetry-collector-contrib
that referenced
this pull request
Jul 6, 2026
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description The Oracle DB receiver currently queries `V$SQL_PLAN` to obtain optimizer-estimated plan nodes for top queries. Oracle also provides `V$SQL_PLAN_STATISTICS_ALL`, a superset view that includes actual runtime statistics per plan node when statistics were gathered during execution. This PR switches the table to `V$SQL_PLAN_STATISTICS_ALL` and adds the below 7 stats into plan details. ``` - OUTPUT_ROWS, - LAST_OUTPUT_ROWS, - LAST_ELAPSED_TIME, - LAST_CR_BUFFER_GETS, - LAST_CU_BUFFER_GETS, - STARTS, - LAST_STARTS ``` <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes open-telemetry#49329 <!--Describe what testing was performed and which tests were added.--> #### Testing Test templates updated <!--Describe the documentation added.--> #### Documentation Updated <!--Authorship attestation. See AGENTS.md for details. AI agents must not check this box on behalf of the user; the human author must check it themselves before the PR is ready for review.--> #### Authorship - [x] I, a human, wrote this pull request description myself. <!--Please delete paragraphs that you did not use before submitting.-->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The Oracle DB receiver currently queries
V$SQL_PLANto obtain optimizer-estimated plan nodes for top queries. Oracle also providesV$SQL_PLAN_STATISTICS_ALL, a superset view that includes actual runtime statistics per plan node when statistics were gathered during execution.This PR switches the table to
V$SQL_PLAN_STATISTICS_ALLand adds the below 7 stats into plan details.Link to tracking issue
Fixes #49329
Testing
Test templates updated
Documentation
Updated
Authorship