custom

package
v5.1.11-release+incomp... Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2020 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
	Path     string
}

Metrics metrics struct

Jump to

Keyboard shortcuts

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