Versions in this module Expand all Collapse all v1 v1.5.0 Jan 30, 2022 Changes in this version + var DefaultRelabelConfig = Config + func Process(labels labels.Labels, cfgs ...*Config) labels.Labels + type Action string + const Drop + const HashMod + const Keep + const LabelDrop + const LabelKeep + const LabelMap + const Replace + func (a *Action) UnmarshalYAML(unmarshal func(interface{}) error) error + type Config struct + Action Action + Modulus uint64 + Regex Regexp + Replacement string + Separator string + SourceLabels model.LabelNames + TargetLabel string + func (c *Config) UnmarshalYAML(unmarshal func(interface{}) error) error + type Regexp struct + func MustNewRegexp(s string) Regexp + func NewRegexp(s string) (Regexp, error) + func (re *Regexp) UnmarshalYAML(unmarshal func(interface{}) error) error + func (re Regexp) MarshalYAML() (interface{}, error)