mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-02-21 10:27:26 +08:00
* v2.1.0.9 * resolved: sync skipping, time reel disconnect for consensus nodes, proxy pubsub bugs, worker management bugs
25 lines
528 B
Go
25 lines
528 B
Go
package sync
|
|
|
|
import (
|
|
"github.com/prometheus/client_golang/prometheus"
|
|
"github.com/prometheus/client_golang/prometheus/promauto"
|
|
)
|
|
|
|
const (
|
|
metricsNamespace = "quilibrium"
|
|
subsystem = "sync"
|
|
)
|
|
|
|
var (
|
|
// Sync status metrics
|
|
syncStatusCheck = promauto.NewCounterVec(
|
|
prometheus.CounterOpts{
|
|
Namespace: metricsNamespace,
|
|
Subsystem: subsystem,
|
|
Name: "sync_status_check_total",
|
|
Help: "Total number of sync status checks",
|
|
},
|
|
[]string{"filter", "result"}, // result: "synced", "syncing"
|
|
)
|
|
)
|