Documentation ¶
Index ¶
- func Counter(prometheusRegisterer prometheus.Registerer, namespace, subsystem, name string) prometheus.Counter
- func CounterVec(prometheusRegisterer prometheus.Registerer, namespace, subsystem, name string, ...) *prometheus.CounterVec
- func Counters(prometheusRegisterer prometheus.Registerer, namespace, subsystem string, ...) map[string]prometheus.Counter
- func Gauge(prometheusRegisterer prometheus.Registerer, namespace, subsystem, name string) prometheus.Gauge
- func GaugeVec(prometheusRegisterer prometheus.Registerer, namespace, subsystem, name string, ...) *prometheus.GaugeVec
- func Gauges(prometheusRegisterer prometheus.Registerer, namespace, subsystem string, ...) map[string]prometheus.Gauge
- type App
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Counter ¶ added in v4.31.2
func Counter(prometheusRegisterer prometheus.Registerer, namespace, subsystem, name string) prometheus.Counter
func CounterVec ¶ added in v4.25.2
func CounterVec(prometheusRegisterer prometheus.Registerer, namespace, subsystem, name string, labels ...string) *prometheus.CounterVec
func Counters ¶ added in v4.25.2
func Counters(prometheusRegisterer prometheus.Registerer, namespace, subsystem string, names ...string) map[string]prometheus.Counter
func Gauge ¶ added in v4.31.2
func Gauge(prometheusRegisterer prometheus.Registerer, namespace, subsystem, name string) prometheus.Gauge
func GaugeVec ¶ added in v4.26.0
func GaugeVec(prometheusRegisterer prometheus.Registerer, namespace, subsystem, name string, labels ...string) *prometheus.GaugeVec
func Gauges ¶ added in v4.31.2
func Gauges(prometheusRegisterer prometheus.Registerer, namespace, subsystem string, names ...string) map[string]prometheus.Gauge
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (App) Registerer ¶
func (a App) Registerer() prometheus.Registerer
Click to show internal directories.
Click to hide internal directories.