Interface: MetricsBufferOptions
worker.MetricsBufferOptions
Properties
maxBufferSize
• Optional maxBufferSize: number
Maximum number of metric events to buffer before dropping new events.
The buffer accumulates metric updates from Core and should be drained regularly by calling Runtime.retrieveBufferedMetrics. If the buffer fills up, new metric updates will be dropped and an error will be logged.
Default
10000
useSecondsForDurations
• Optional useSecondsForDurations: boolean
If set to true, the exporter will use seconds for durations instead of milliseconds.
Default
false