(series []cortexpb.LabelAdapter, receivedSchema int)
| 252 | } |
| 253 | |
| 254 | func newNativeHistogramSchemaInvalidError(series []cortexpb.LabelAdapter, receivedSchema int) ValidationError { |
| 255 | return &nativeHistogramSchemaInvalidError{ |
| 256 | series: series, |
| 257 | receivedSchema: receivedSchema, |
| 258 | } |
| 259 | } |
| 260 | |
| 261 | func (e *nativeHistogramSchemaInvalidError) Error() string { |
| 262 | return fmt.Sprintf("invalid native histogram schema %d for metric: %.200q. supported schema from %d to %d", e.receivedSchema, formatLabelSet(e.series), histogram.ExponentialSchemaMin, histogram.ExponentialSchemaMax) |
no outgoing calls