Skip to main content

SHARD_METRICS

Constant SHARD_METRICS 

Source
pub const SHARD_METRICS: Config<&'static str>;
Expand description

Which persist shard metrics this process exports, one of the ShardMetricsExport values.

Read on every metrics scrape, so a change takes effect on the next scrape. A scrape reads it twice, once collecting the aggregates and once filtering the families, so a change between the two mixes the modes for that scrape.