Commit 8b31ce3
committed
feat(durable-buffer): Enhance durable_buffer observability with utilization and dropped/expired per-signal metrics
- Added a new storage_utilization Gauge (f64) metric to track persistent storage capacity.
- Added per-signal dropped/expired metrics (dropped_log_records, dropped_spans, dropped_metric_datapoints, expired_log_records, expired_spans, expired_metric_datapoints) utilizing Quiver's native per-slot atomic tracking.
- Appended new metrics to the end of DurableBufferMetrics to prevent index shifting.
- Renamed recompute_queued_counters to recompute_metrics to align with the expanded scope.
- Added changelog entry and unit tests verifying the metrics functionality.1 parent f8cd17f commit 8b31ce3
8 files changed
Lines changed: 491 additions & 37 deletions
File tree
- rust/otap-dataflow
- .chloggen
- crates
- core-nodes/src/processors/durable_buffer_processor
- otap/tests
- quiver/src
- segment
- subscriber
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
116 | 121 | | |
117 | 122 | | |
118 | 123 | | |
| |||
1007 | 1012 | | |
1008 | 1013 | | |
1009 | 1014 | | |
1010 | | - | |
| 1015 | + | |
1011 | 1016 | | |
1012 | 1017 | | |
1013 | 1018 | | |
| |||
0 commit comments