prometheus operator v0.71.2

ServiceMonitor.spec.endpoints[].relabelings[].action

Action to perform based on the regex matching. `Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0. `DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0. Default: "Replace"

1 fields
ServiceMonitor.spec.endpoints[].relabelings[].action fields and descriptions
Field / TypeDescription
ServiceMonitor.spec.endpoints[].relabelings[].action
string

Action to perform based on the regex matching. `Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0. `DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0. Default: "Replace"

  • enum: ["replace","Replace","keep","Keep","drop","Drop","hashmod","HashMod","labelmap","LabelMap","labeldrop","LabelDrop","labelkeep","LabelKeep","lowercase","Lowercase","uppercase","Uppercase","keepequal","KeepEqual","dropequal","DropEqual"]
  • default: "replace"