What relabel actions exist?
IntermediateConceptPrometheus Architecture
Answer
replace(default): regex on joinedsource_labels, writereplacementtotarget_label.keep/drop: keep or drop the target or sample if the regex matches.keepequal/dropequal: compare source labels to the target label.labelmap: copy labels whose names match the regex, for example__meta_kubernetes_pod_label_(.+).labeldrop/labelkeep: remove or keep label names matching a regex.hashmod: set a label to a hash modulo N, used for sharding.lowercase/uppercase.
More on Prometheus Architecture
Describe the Prometheus architecture.BeginnerWhat does a basic prometheus.yml look like?BeginnerWhat is the `up` metric?BeginnerWhat are `job` and `instance` labels and where do they come from?BeginnerHow is the Prometheus TSDB organized on disk?AdvancedWhat is the WAL and why does Prometheus restart slowly sometimes?Advanced