-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
QO 2022-11-14
The implementation for the stub created in https://jira.mongodb.org/browse/SERVER-70932, i.e the read path. It will have two modes of operation
- read and clear
{$telemetry: {clearEntries: true}}
- read without clear (default)
{$telemetry: {clearEntries: false}}
(1) will return a snapshot of the telemetry store at a point in time while (2) will not. Note, we should track and return a "first seen" timestamp for each entry as well as the time that entry was read/scanned. This is particularly important for (2) so that downstream consumers can determine if entries were evicted or not. Both modes should minimize blocking writes.
- is related to
-
SERVER-71234 Coverity analysis defect 134103: Explicit null dereferenced
- Closed