metricsstore

package
v1.56.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 22 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(cfg config.Configuration, logger *zap.Logger, tracer trace.TracerProvider) (*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