Optional
intervalNumber of cluster tend iterations between metrics notification events. One tend iteration is defined as "tend_interval" in the client config plus the time to tend all nodes.
Optional
latencyNumber of elapsed time range buckets in latency histograms.
Optional
latencyPower of 2 multiple between each range bucket in latency histograms starting at column 3. The bucket units are in milliseconds. The first 2 buckets are “<=1ms” and “>1ms”.
Optional
metricsListeners that handles metrics notification events. If set to None, the default listener implementation will be used, which writes the metrics snapshot to a file which can later be read and forwarded to OpenTelemetry by a separate offline application. Otherwise, use all listeners set in the class instance. The listener could be overridden to send the metrics snapshot directly to OpenTelemetry.
Optional
reportDirectory path to write metrics log files for listeners that write logs.
Optional
reportMetrics file size soft limit in bytes for listeners that write logs. When report_size_limit is reached or exceeded, the current metrics file is closed and a new metrics file is created with a new timestamp. If report_size_limit is zero, the metrics file size is unbounded and the file will only be closed when disable_metrics() or close() is called.
Option specification for MetricsPolicy class values.