Skip to content

Commit 7d8c5ca

Browse files
committed
Trim metric descriptions and use singular session unit
1 parent cdea1dc commit 7d8c5ca

5 files changed

Lines changed: 41 additions & 41 deletions

File tree

.chloggen/feat_add-oracledb-sysmetric-health-metrics.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ issues: [49087]
1616
# These lines will be padded with 2 spaces and then inserted directly into the document.
1717
# Use pipe (|) for multiline entries.
1818
subtext: |
19-
All metrics are Oracle-computed values read from V$SYSMETRIC (group_id=2, ~60s interval) and are disabled by default with development stability. New metrics: oracledb.session.active.average, oracledb.io.single_block_read.latency, oracledb.transaction.response.time, oracledb.cursor_cache.utilization, oracledb.pga_cache.utilization, oracledb.cpu.usage.rate, oracledb.host.cpu.usage.rate, oracledb.session.count.
19+
All metrics are disabled by default with development stability.
2020
2121
# If your change doesn't affect end users or the exported elements of any package,
2222
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.

receiver/oracledbreceiver/documentation.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -259,15 +259,15 @@ Number of times a consistent read was requested for a block from the buffer cach
259259
260260
### oracledb.cpu.usage.rate
261261
262-
Oracle database CPU consumption rate, expressed as CPU-seconds used per second (fractional CPU cores); unbounded by core count. Distinct from oracledb.database.cpu.utilization, which is a 0-100 busy ratio. Oracle-computed value read from V$SYSMETRIC (group_id=2, ~60s; 'CPU Usage Per Sec', converted from centiseconds per second).
262+
Oracle database CPU consumption rate, in CPU-seconds used per second.
263263
264264
| Unit | Metric Type | Value Type | Stability |
265265
| ---- | ----------- | ---------- | --------- |
266266
| 1 | Gauge | Double | Development |
267267
268268
### oracledb.cursor_cache.utilization
269269
270-
Fraction of cursor executions that reused a usable cursor in the session cursor cache, as computed by Oracle V$SYSMETRIC (group_id=2, ~60s; 'Cursor Cache Hit Ratio').
270+
Percentage of cursor executions that reused a cursor in the session cursor cache.
271271
272272
| Unit | Metric Type | Value Type | Stability |
273273
| ---- | ----------- | ---------- | --------- |
@@ -337,7 +337,7 @@ Fraction of executions that did not require a parse, as computed by Oracle V$SYS
337337
338338
### oracledb.host.cpu.usage.rate
339339
340-
Host CPU consumption rate across all cores, expressed as CPU-seconds used per second (fractional CPU cores); unbounded by core count. Distinct from oracledb.host.cpu.utilization, which is a 0-100 busy ratio. Oracle-computed value read from V$SYSMETRIC (group_id=2, ~60s; 'Host CPU Usage Per Sec', converted from centiseconds per second).
340+
Host CPU consumption rate across all cores, in CPU-seconds used per second.
341341
342342
| Unit | Metric Type | Value Type | Stability |
343343
| ---- | ----------- | ---------- | --------- |
@@ -353,7 +353,7 @@ Fraction of host CPU time in use, as computed by Oracle V$SYSMETRIC (% Busy/(Idl
353353
354354
### oracledb.io.single_block_read.latency
355355
356-
Average latency of a synchronous single-block read. Oracle-computed value read from V$SYSMETRIC (group_id=2, ~60s; 'Average Synchronous Single-Block Read Latency', converted from milliseconds to seconds).
356+
Average latency of a synchronous single-block read.
357357
358358
| Unit | Metric Type | Value Type | Stability |
359359
| ---- | ----------- | ---------- | --------- |
@@ -447,7 +447,7 @@ Fraction of parse calls that were soft parses, as computed by Oracle V$SYSMETRIC
447447
448448
### oracledb.pga_cache.utilization
449449
450-
Fraction of PGA work-area memory requests satisfied optimally (without spilling to temporary disk), as computed by Oracle V$SYSMETRIC (group_id=2, ~60s; 'PGA Cache Hit %').
450+
Percentage of PGA work-area memory requests satisfied without spilling to temporary disk.
451451
452452
| Unit | Metric Type | Value Type | Stability |
453453
| ---- | ----------- | ---------- | --------- |
@@ -557,19 +557,19 @@ Fraction of redo allocations that succeeded without space contention, as compute
557557
558558
### oracledb.session.active.average
559559
560-
Average Active Sessions (AAS), the mean number of sessions actively running or waiting over the metric interval; a standard Oracle database load indicator. Oracle-computed value read from V$SYSMETRIC (group_id=2, ~60s; 'Average Active Sessions').
560+
Average number of active sessions over the metric interval.
561561
562562
| Unit | Metric Type | Value Type | Stability |
563563
| ---- | ----------- | ---------- | --------- |
564-
| {sessions} | Gauge | Double | Development |
564+
| {session} | Gauge | Double | Development |
565565
566566
### oracledb.session.count
567567
568-
Point-in-time total number of sessions. Distinct from oracledb.sessions.usage, which breaks the session population down by status and type. Oracle-reported value read from V$SYSMETRIC (group_id=2, ~60s; 'Session Count').
568+
Number of sessions.
569569
570570
| Unit | Metric Type | Value Type | Stability |
571571
| ---- | ----------- | ---------- | --------- |
572-
| {sessions} | Gauge | Int | Development |
572+
| {session} | Gauge | Int | Development |
573573
574574
### oracledb.shared_pool.utilization
575575
@@ -634,7 +634,7 @@ Fraction of allocated database storage that is used.
634634
635635
### oracledb.transaction.response.time
636636
637-
Average response time per transaction. Oracle-computed value read from V$SYSMETRIC (group_id=2, ~60s; 'Response Time Per Txn', converted from centiseconds to seconds).
637+
Average response time per transaction.
638638
639639
| Unit | Metric Type | Value Type | Stability |
640640
| ---- | ----------- | ---------- | --------- |

receiver/oracledbreceiver/internal/metadata/generated_metrics.go

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

receiver/oracledbreceiver/internal/metadata/generated_metrics_test.go

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)