MCPcopy Index your code
hub / github.com/cortexproject/cortex / SamplesComparator

Struct SamplesComparator

tools/querytee/response_comparator.go:37–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37type SamplesComparator struct {
38 tolerance float64
39 sampleTypesComparator map[string]SamplesComparatorFunc
40}
41
42// RegisterSamplesType helps with registering custom sample types
43func (s *SamplesComparator) RegisterSamplesType(samplesType string, comparator SamplesComparatorFunc) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected