thanks for your help I newbie on prometheus app and i don't known many
things

On Fri, 6 Mar 2020, 16:21 Brian Candler, <[email protected]> wrote:

> On Friday, 6 March 2020 18:56:08 UTC, Ricardo Estalder wrote:
>>
>>       - source_labels: [module, __address__]
>>         target_label: __param_target
>>         replacement: $1
>>         action: replace
>>
>
> Not sure what's going on: there's no need to join labels together, and
> then later on you replace __param_target anyway.
>
> It should simplify down to:
>
>     relabel_configs:
>       - source_labels: [__address__]
>         target_label: instance
>       - source_labels: [__address__]
>         target_label: __param_target
>       - source_labels: [module]
>         target_label: __param_module
>       - target_label: __address__
>         replacement: prometheus.edgelan:9115  # The blackbox 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/7690c460-d4bc-4561-8073-4ec35406e294%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/7690c460-d4bc-4561-8073-4ec35406e294%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_RBz3%3DNH15DJN5wqULt9YrEbekKn5gNu6%2BD57bT_GYoGA%40mail.gmail.com.

Reply via email to