metricsstore

package
v1.46.0-tgt.2 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricsReader

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

MetricsReader is a Prometheus metrics reader.

func NewMetricsReader

func NewMetricsReader(logger *zap.Logger, cfg config.Configuration) (*MetricsReader, error)

NewMetricsReader returns a new MetricsReader.

func (MetricsReader) GetCallRates

GetCallRates gets the call rate metrics for the given set of call rate query parameters.

func (MetricsReader) GetErrorRates

GetErrorRates gets the error rate metrics for the given set of error rate query parameters.

func (MetricsReader) GetLatencies

GetLatencies gets the latency metrics for the given set of latency query parameters.

func (MetricsReader) GetMinStepDuration

GetMinStepDuration gets the minimum step duration (the smallest possible duration between two data points in a time series) supported.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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