Skip to content

Latest commit

 

History

History
118 lines (76 loc) · 1.95 KB

File metadata and controls

118 lines (76 loc) · 1.95 KB

relabel_configs

Index

Fields

fn withAction

withAction(value)

PARAMETERS:

  • value (string)

Action is the action to be performed for the relabeling.

fn withModulus

withModulus(value)

PARAMETERS:

  • value (integer)

Modulus to take of the hash of concatenated values from the source labels.

fn withRegex

withRegex(value)

PARAMETERS:

  • value (object)

Regexp encapsulates a regexp.Regexp and makes it YAML marshalable.

fn withRegexMixin

withRegexMixin(value)

PARAMETERS:

  • value (object)

Regexp encapsulates a regexp.Regexp and makes it YAML marshalable.

fn withReplacement

withReplacement(value)

PARAMETERS:

  • value (string)

Replacement is the regex replacement pattern to be used.

fn withSeparator

withSeparator(value)

PARAMETERS:

  • value (string)

Separator is the string between concatenated values from the source labels.

fn withSourceLabels

withSourceLabels(value)

PARAMETERS:

  • value (array)

LabelNames is a sortable LabelName slice.

fn withSourceLabelsMixin

withSourceLabelsMixin(value)

PARAMETERS:

  • value (array)

LabelNames is a sortable LabelName slice.

fn withTargetLabel

withTargetLabel(value)

PARAMETERS:

  • value (string)

TargetLabel is the label to which the resulting string is written in a replacement. Regexp interpolation is allowed for the replace action.