Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Config ExporterConfig IsAlive = promauto.NewGauge(prometheus.GaugeOpts{ Name: "is_alive", Help: "Indicates whether overlaybd-snapshotter is running or not.", }) GRPCErrCount = promauto.NewCounterVec(prometheus.CounterOpts{ Name: "grpc_error_count", Help: "Error count of GRPC APIs.", }, []string{"function"}) GRPCLatency = promauto.NewHistogramVec(prometheus.HistogramOpts{ Name: "grpc_latency_seconds", Help: "Latency of GRPC APIs.", Buckets: prometheus.ExponentialBuckets(0.0001, 2, 20), }, []string{"function"}) )
Functions ¶
Types ¶
type ExporterConfig ¶
Click to show internal directories.
Click to hide internal directories.