MaxExemplars gets the maximum number of exemplars that will be stored per user. 0 or less means disabled.
(userID string)
| 1033 | |
| 1034 | // MaxExemplars gets the maximum number of exemplars that will be stored per user. 0 or less means disabled. |
| 1035 | func (o *Overrides) MaxExemplars(userID string) int { |
| 1036 | return o.GetOverridesForUser(userID).MaxExemplars |
| 1037 | } |
| 1038 | |
| 1039 | // Notification limits are special. Limits are returned in following order: |
| 1040 | // 1. per-tenant limits for given integration |