custom

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddMetrics

func AddMetrics(p *prometheus.Manager, metrics Metrics)

AddMetrics add mysql metrics into prometheus

Types

type Metrics

type Metrics struct {
	Name     string
	Metrics  []string
	Interval time.Duration
	Timeout  time.Duration
	Scheme   string
	Path     string
}

Metrics metrics struct

Jump to

Keyboard shortcuts

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