prometheus

package
v1.1.0-beta.45 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PrometheusURL string

Functions

This section is empty.

Types

type PrometheusClient

type PrometheusClient struct {
	promV1.API
}

func (PrometheusClient) GetHistogramQuantileLatency

func (p PrometheusClient) GetHistogramQuantileLatency(percentile, checkKey, duration string) (latency float64, err error)

func (PrometheusClient) GetUptime

func (p PrometheusClient) GetUptime(checkKey, duration string) (float64, error)

Jump to

Keyboard shortcuts

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