void logChanSetSampling(LogChannel *chan, uint32 n)
void logResetStats(void)
Zero the cumulative counters and the queue high-water mark.
void logSetDedup(int64 window, uint32 threshold)
void logSetStatsInterval(int64 interval)
void logGetStats(LogStats *out)
void logSetSyncLevel(int level)
uint64 dropped
Entries lost because a queue and its overflow list were both full.
uint32 queued
Entries currently waiting in drain queues, summed over groups.
uint32 groups
Number of drain groups.
uint32 queuedmax
High-water mark of the above.
uint64 synchronous
Entries written from the logging thread under backpressure.
uint64 suppressed
Records the drain-thread deduplicator did not deliver.
uint64 sampled
Entries never created because sampling discarded them.
uint64 enqueued
Entries created and handed to at least one drain group.