(metricName string, timestamp int64)
| 178 | } |
| 179 | |
| 180 | func 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. |
| 189 | type exemplarValidationError struct { |
no outgoing calls
no test coverage detected