mocks

package
v0.0.0-...-9b598c7 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	SampleTimeStamp  = int64(12345)
	SampleFloatValue = 200.99
)

Variables

This section is empty.

Functions

func GetInstantQueryWithMetrics

func GetInstantQueryWithMetrics() public.InstantQuery

func GetKafkaMetricWithError

func GetKafkaMetricWithError() *observatorium.KafkaMetrics

func GetNotAllowedLabelRangeQuery

func GetNotAllowedLabelRangeQuery() public.RangeQuery

func GetNotAllowedLabelsSample

func GetNotAllowedLabelsSample() *pModel.Sample

func GetNotAllowedSampleStream

func GetNotAllowedSampleStream() *pModel.SampleStream

func GetRangeQueryStringMapMetric

func GetRangeQueryStringMapMetric() public.RangeQuery

func GetSampleInstantQueryNoMetrics

func GetSampleInstantQueryNoMetrics() public.InstantQuery

func GetSampleInstantQuerySlice

func GetSampleInstantQuerySlice() []public.InstantQuery

func GetSampleInstantQuerySliceEmptyMetrics

func GetSampleInstantQuerySliceEmptyMetrics() []public.InstantQuery

func GetSampleKafkaMetric

func GetSampleKafkaMetric() *observatorium.KafkaMetrics

func GetSampleMatrix

func GetSampleMatrix() pModel.Matrix

func GetSamplePair

func GetSamplePair() *pModel.SamplePair

func GetSamplePmodelmapMetric

func GetSamplePmodelmapMetric() map[pModel.LabelName]pModel.LabelValue

func GetSampleRangeQuerySlice

func GetSampleRangeQuerySlice() []public.RangeQuery

func GetSampleStream

func GetSampleStream() *pModel.SampleStream

func GetSampleStringMapMetric

func GetSampleStringMapMetric() map[string]string

func GetSampleValue

func GetSampleValue() public.Values

func GetSampleValuePair

func GetSampleValuePair() pModel.SamplePair

func GetSampleVector

func GetSampleVector() pModel.Vector

func GetSampleWithValidLabel

func GetSampleWithValidLabel() *pModel.Sample

Types

This section is empty.

Jump to

Keyboard shortcuts

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