Class MetricsCollector.SnapshotTextOptions

java.lang.Object
com.soklet.MetricsCollector.SnapshotTextOptions
Enclosing interface:
MetricsCollector

@ThreadSafe public static final class MetricsCollector.SnapshotTextOptions extends Object
Options for rendering a textual metrics snapshot.

Use withMetricsFormat(MetricsFormat) to obtain a builder and customize output.

Key options:

  • metricFilter allows per-sample filtering by name and labels
  • histogramFormat controls bucket vs count/sum output
  • includeZeroBuckets drops empty bucket samples when false
Author:
Mark Allen