Relabeling allows creation of arbitrary labels.  This ought to work to set 
foo="bar" (untested)

      - source_labels: []
        target_label: foo
        replacement: bar

If for some reason source_labels cannot be an empty list, then use any 
other label which exists and its value will be ignored, e.g.

      - source_labels: [__address__]
        target_label: foo
        replacement: bar

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/746e6b6c-eed9-4270-a166-96ed11688713%40googlegroups.com.

Reply via email to