Scope (proto)
type.v3.Scope
Stats scope configuration. This configuration can be used to create a singleton scope that is shared across multiple instances within the process.
{
"max_counters": {...},
"max_gauges": {...},
"max_histograms": {...},
"enable_eviction": ...,
"prefix": ...,
"sharing_name": ...
}
- max_counters
(UInt32Value) Max number of counters allowed in this scope.
- max_gauges
(UInt32Value) Max number of gauges allowed in this scope.
- max_histograms
(UInt32Value) Max number of histograms allowed in this scope.
- enable_eviction
(bool) Whether the scope and its stats can be evicted from the store caches. The eviction policy is a mark-and-sweep approach where stats are evicted if they are not updated or accessed between two successive eviction sweeps. The eviction will happen only if the stats_eviction_interval is configured in the bootstrap.
- prefix
(string) The stats scope prefix.
- sharing_name
(string) The sharing name of the scope. If non-empty, the scope is shared across multiple instances with the same sharing_name if all fields in this message have the same values.