MCPcopy Create free account
hub / github.com/cortexproject/cortex / newSampleTimestampTooNewError

Function newSampleTimestampTooNewError

pkg/util/validation/errors.go:180–186  ·  view source on GitHub ↗
(metricName string, timestamp int64)

Source from the content-addressed store, hash-verified

178}
179
180func newSampleTimestampTooNewError(metricName string, timestamp int64) ValidationError {
181 return &sampleValidationError{
182 message: "timestamp too new: %d metric: %.200q",
183 metricName: metricName,
184 timestamp: timestamp,
185 }
186}
187
188// exemplarValidationError is a ValidationError implementation suitable for exemplar validation errors.
189type exemplarValidationError struct {

Callers 1

ValidateSampleTimestampFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected