| 218 | var labelLenMsg = "exemplar combined labelset exceeds " + strconv.Itoa(ExemplarMaxLabelSetLength) + " characters, timestamp: %d series: %s labels: %s" |
| 219 | |
| 220 | func newExemplarLabelLengthError(seriesLabels []cortexpb.LabelAdapter, exemplarLabels []cortexpb.LabelAdapter, timestamp int64) ValidationError { |
| 221 | return &exemplarValidationError{ |
| 222 | message: labelLenMsg, |
| 223 | seriesLabels: seriesLabels, |
| 224 | exemplarLabels: exemplarLabels, |
| 225 | timestamp: timestamp, |
| 226 | } |
| 227 | } |
| 228 | |
| 229 | // histogramBucketLimitExceededError is a ValidationError implementation for samples with native histogram |
| 230 | // exceeding max bucket limit and cannot reduce resolution further to be within the max bucket limit. |