You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[receiver/oracledb] Add transaction, lock, and recovery metrics
Surfaces transaction-rollback, lock-timing, recovery, SMON, and RAC
cache-fusion statistics already returned by the existing system-statistics
query as seven opt-in metrics. No new SQL queries are introduced.
| oracledb.parse.type | Type of parse operation (e.g., soft). | Str: ``soft`` | Recommended | - |
321
321
322
+
### oracledb.gc.current_block.receive.time
323
+
324
+
Cumulative time spent receiving current blocks from other instances over RAC cache fusion, in seconds (converted from centiseconds). Sourced from v$sysstat name gc current block receive time.
325
+
326
+
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability |
| s | Sum | Double | Cumulative | true | Development |
329
+
322
330
### oracledb.host.cpu.utilization
323
331
324
332
Fraction of host CPU time in use, as computed by Oracle V$SYSMETRIC (% Busy/(Idle+Busy)).
@@ -335,6 +343,28 @@ Fraction of library cache pin requests that found the object already cached, as
335
343
| ---- | ----------- | ---------- | --------- |
336
344
| % | Gauge | Double | Development |
337
345
346
+
### oracledb.lock.time
347
+
348
+
Cumulative time spent on transaction lock activity, in seconds (converted from centiseconds). Sourced from v$sysstat names transaction lock background get time (oracledb.lock.kind=background) and transaction lock foreground wait time (oracledb.lock.kind=foreground).
349
+
350
+
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability |
| {posts} | Sum | Int | Cumulative | true | Development |
571
+
572
+
### oracledb.smon.txn_recovery.posts
573
+
574
+
Number of times SMON was posted to perform transaction recovery for other instances. Sourced from v$sysstat name SMON posted for txn recovery for other instances.
575
+
576
+
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability |
| {posts} | Sum | Int | Cumulative | true | Development |
579
+
526
580
### oracledb.sort.ratio
527
581
528
582
Fraction of sorts performed in memory vs disk, as computed by Oracle V$SYSMETRIC (% MemSort/(MemSort + DiskSort)). Low values indicate PGA memory pressure.
@@ -576,6 +630,14 @@ Fraction of allocated database storage that is used.
576
630
| ---- | ----------- | ---------- | --------- |
577
631
| 1 | Gauge | Double | Development |
578
632
633
+
### oracledb.transaction.rollbacks
634
+
635
+
Number of transactions rolled back. Sourced from v$sysstat name transaction rollbacks.
636
+
637
+
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability |
0 commit comments