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

Function newSampleTimestampTooOldError

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

Source from the content-addressed store, hash-verified

170}
171
172func newSampleTimestampTooOldError(metricName string, timestamp int64) ValidationError {
173 return &sampleValidationError{
174 message: "timestamp too old: %d metric: %.200q",
175 metricName: metricName,
176 timestamp: timestamp,
177 }
178}
179
180func newSampleTimestampTooNewError(metricName string, timestamp int64) ValidationError {
181 return &sampleValidationError{

Callers 1

ValidateSampleTimestampFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected