utils

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckerInChecks added in v0.33.7

func CheckerInChecks(allChecks []external.Check, checker checks.Checker) bool

Types

type PrometheusClient added in v0.31.0

type PrometheusClient struct {
	v1.API
}

func NewPrometheusAPI added in v0.31.0

func NewPrometheusAPI(url string) (*PrometheusClient, error)

func (PrometheusClient) GetHistogramQuantileLatency added in v0.31.0

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

func (PrometheusClient) GetUptime added in v0.31.0

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

Jump to

Keyboard shortcuts

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