Thank now it works !

    relabel_configs:
      - source_labels: [module]
        target_label: __param_module
      - source_labels: [module, __address__]
        target_label: __param_target
        replacement: $1
        action: replace
      - source_labels: [__address__]
        separator: ;
        regex: (.*)
        target_label: __param_target
        replacement: $1
        action: replace
      - source_labels: [__param_target]
        separator: ;
        regex: (.*)
        target_label: instance
        replacement: $1
        action: replace
      - target_label: __address__
        replacement: prometheus.edgelan:9115 # The blackbox exporter
        action: replace

El vie., 6 mar. 2020 a las 15:40, Brian Candler (<[email protected]>)
escribió:

> In your relabeling, you also need to copy label "module" to
> "__param_module" (otherwise it won't get sent to the exporter)
>
> --
> 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/9b7d65ed-9a78-4517-8ebc-f551c8e2183f%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/9b7d65ed-9a78-4517-8ebc-f551c8e2183f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAKDAv_TYKPsqgPZtZ4O4%3Ddgb-1yaU%3Dya0y9239r2Ct1oOG3izA%40mail.gmail.com.

Reply via email to