Documentation
¶
Index ¶
- Constants
- func Filter(lbls labels.Labels) (identityLabels, informationLabels labels.Labels)
- func FilterLabelsByRegex(excludePatterns []*regexp.Regexp, labels map[string]string) map[string]string
- func FilterNodeLabels(lbls labels.Labels) (identityLabels, informationLabels labels.Labels)
- func ParseLabelPrefixCfg(logger *slog.Logger, prefixes, nodePrefixes []string, file string) error
- type LabelPrefix
Constants ¶
View Source
const (
// LPCfgFileVersion represents the version of a Label Prefix Configuration File
LPCfgFileVersion = 1
)
Variables ¶
This section is empty.
Functions ¶
func Filter ¶
Filter returns Labels from the given labels that have the same source and the same prefix as one of lpc valid prefixes, as well as labels that do not match the aforementioned filtering criteria.