Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gauge ¶
type Gauge interface { Inc() Dec() }
Gauge is a subset of a prometheus Gauge
func RegisterReplicationJobsInFlight ¶
RegisterReplicationJobsInFlight creates and registers a gauge to track the size of the replication queue
type Histogram ¶
type Histogram interface {
Observe(float64)
}
Histogram is a subset of a prometheus Histogram
func RegisterReplicationLatency ¶
func RegisterReplicationLatency(conf promconfig.Config) (Histogram, error)
RegisterReplicationLatency creates and registers a prometheus histogram to observe replication latency times
Click to show internal directories.
Click to hide internal directories.