prometheus

package
v1.3.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PrometheusService

type PrometheusService struct {
	// contains filtered or unexported fields
}

func NewPrometheusService

func NewPrometheusService(config *config.CKManPrometheusConfig) *PrometheusService

func (*PrometheusService) QueryMetric

func (p *PrometheusService) QueryMetric(params *model.MetricQueryReq) (m.Value, error)

func (*PrometheusService) QueryRangeMetric

func (p *PrometheusService) QueryRangeMetric(params *model.MetricQueryRangeReq) (m.Value, error)

Jump to

Keyboard shortcuts

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