metrics

package
v0.5.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2024 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DelayReadTime = prometheus.NewGauge(prometheus.GaugeOpts{
	Namespace: "go_mysql_sr",
	Subsystem: "read_delay",
	Name:      "time_seconds",
	Help:      "Delay in seconds to read the binlog at the source.",
})
View Source
var DelayWriteTime = prometheus.NewGauge(prometheus.GaugeOpts{
	Namespace: "go_mysql_sr",
	Subsystem: "write_delay",
	Name:      "time_seconds",
	Help:      "Delay in seconds to write at the destination.",
})
View Source
var OpsReadProcessed = promauto.NewCounter(prometheus.CounterOpts{
	Name: "go_mysql_sr_read_processed_ops_total",
	Help: "The total number of read processed events",
})
View Source
var OpsStartTime = prometheus.NewGauge(prometheus.GaugeOpts{
	Namespace: "go_mysql_sr",
	Subsystem: "start",
	Name:      "time",
	Help:      "go-mysql-sr startup timestamp(s).",
})
View Source
var OpsWriteProcessed = promauto.NewCounter(prometheus.CounterOpts{
	Name: "go_mysql_sr_write_processed_ops_total",
	Help: "The total number of write processed events",
})

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL