MaxRegexPatternLength returns the maximum length of an unoptimized regex pattern. This is only used in Ingester.
(userID string)
| 1147 | // MaxRegexPatternLength returns the maximum length of an unoptimized regex pattern. |
| 1148 | // This is only used in Ingester. |
| 1149 | func (o *Overrides) MaxRegexPatternLength(userID string) int { |
| 1150 | return o.GetOverridesForUser(userID).MaxRegexPatternLength |
| 1151 | } |
| 1152 | |
| 1153 | // MaxLabelCardinalityForUnoptimizedRegex returns the maximum cardinality for a label with an unoptimized regex matcher. |
| 1154 | // This is only used in Ingester. |
no test coverage detected