Skip to content

Add additional physical read/write metrics to oracledb receiver #37814

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 20 commits into from
Mar 25, 2025
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions receiver/oracledbreceiver/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,14 @@ Number of physical reads
| ---- | ----------- | ---------- | ----------------------- | --------- |
| {reads} | Sum | Int | Cumulative | true |

### oracledb.physical_writes

Number of physical writes

| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
| ---- | ----------- | ---------- | ----------------------- | --------- |
| {writes} | Sum | Int | Cumulative | true |

### oracledb.processes.limit

Maximum limit of active processes, -1 if unlimited.
Expand Down Expand Up @@ -257,6 +265,38 @@ Number of times a current block was requested from the buffer cache.
| ---- | ----------- | ---------- | ----------------------- | --------- |
| {gets} | Sum | Int | Cumulative | true |

### oracledb.physical_read_io_requests

Number of read requests for application activity

| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
| ---- | ----------- | ---------- | ----------------------- | --------- |
| {requests} | Sum | Int | Cumulative | true |

### oracledb.physical_reads_direct

Number of reads directly from disk, bypassing the buffer cache

| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
| ---- | ----------- | ---------- | ----------------------- | --------- |
| {reads} | Sum | Int | Cumulative | true |

### oracledb.physical_write_io_requests

Number of write requests for application activity

| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
| ---- | ----------- | ---------- | ----------------------- | --------- |
| {requests} | Sum | Int | Cumulative | true |

### oracledb.physical_writes_direct

Number of writes directly from disk, bypassing the buffer cache

| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
| ---- | ----------- | ---------- | ----------------------- | --------- |
| {writes} | Sum | Int | Cumulative | true |

## Resource Attributes

| Name | Description | Values | Enabled |
Expand Down
3 changes: 1 addition & 2 deletions receiver/oracledbreceiver/generated_package_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

74 changes: 47 additions & 27 deletions receiver/oracledbreceiver/internal/metadata/generated_config.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

118 changes: 64 additions & 54 deletions receiver/oracledbreceiver/internal/metadata/generated_config_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading