Great, thanks On Monday, 23 March 2020 17:59:41 UTC+8, Brian Candler wrote: > > 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/82da9507-291d-48ff-9470-3959e8743318%40googlegroups.com.

