Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init(inputMaxLabelsPerTimeseries, inputMaxLabelNameLen, inputMaxLabelValueLen int)
Init prepares package for usage
func IsExceeding ¶
func IsExceeding(labels []prompbmarshal.Label) bool
IsExceeding checks if passed labels exceed one of the limits: * Maximum allowed labels limit * Maximum allowed label name length limit * Maximum allowed label value length limit
increments metrics and shows warning in logs
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.