Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PeerGauge = promauto.NewGaugeVec(prometheus.GaugeOpts{ Namespace: types.MetricsNamespace, Subsystem: types.ManagerMetricsName, Name: "peer_total", Help: "Gauge of the number of peer.", }, []string{"version", "commit"}) SearchSchedulerClusterCount = promauto.NewCounterVec(prometheus.CounterOpts{ Namespace: types.MetricsNamespace, Subsystem: types.ManagerMetricsName, Name: "search_scheduler_cluster_total", Help: "Counter of the number of searching scheduler cluster.", }, []string{"version", "commit"}) SearchSchedulerClusterFailureCount = promauto.NewCounterVec(prometheus.CounterOpts{ Namespace: types.MetricsNamespace, Subsystem: types.ManagerMetricsName, Name: "search_scheduler_cluster_failure_total", Help: "Counter of the number of failed of searching scheduler cluster.", }, []string{"version", "commit"}) VersionGauge = promauto.NewGaugeVec(prometheus.GaugeOpts{ Namespace: types.MetricsNamespace, Subsystem: types.ManagerMetricsName, Name: "version", Help: "Version info of the service.", }, []string{"major", "minor", "git_version", "git_commit", "platform", "build_time", "go_version", "go_tags", "go_gcflags"}) )
Variables declared for metrics.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.