-
Type:
Task
-
Resolution: Fixed
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: Observability
-
None
-
Storage Engines - Foundations
-
637.86
-
StorEng - Defined Pipeline
-
None
OTel counters must be monotonically increasing. For otel, counters expect to receive an increment to add onto the current total. Currently, wiredtiger only reports the cumulative total, so mongo has to work around this and calculate the delta themelves. WiredTiger should instead pass increments to mongo
Additionally, The idea of the "clear" behaviour is to report what happened since the last stats read, but that's not useful behaviour for an OTel counter.
We should extend stats.py to check that any stat declared as an OTel counter does not have the "no_clear" flag set.
- is related to
-
SERVER-135009 Extend the WT metric registry to handle updates
-
- Closed
-