That looks good, I think the issue is which target(s) you discover for
these jobs.

If you scrape Prometheus directly you may have to change the TLS settings
depending on your configuration.

/MR

On Sat, Apr 24, 2021, 08:58 'Evelyn Pereira Souza' via Prometheus Users <
prometheus-users@googlegroups.com> wrote:

> On 23.04.21 20:35, Matthias Rampke wrote:
> > It seems like you are federating through an ingress or load balancer
> > that balances over multiple Prometheus server replicas. Either federate
>
> > from each separately, or make sure that you only get responses from one
>
> > consistently.
> >
> > As an alternative to the global federation, consider Thanos, it scales
> > further and handles this situation out of the box.
> >
> > /MR
>
> Thank you. Will check this. This sounds right.
>
> In official docs
> (https://prometheus.io/docs/prometheus/latest/federation/) there is an
> other federation config than I use
>
> scrape_configs:
>    - job_name: 'federate'
>      scrape_interval: 15s
>
>      honor_labels: true
>      metrics_path: '/federate'
>
>      params:
>        'match[]':
>          - '{job="prometheus"}'
>          - '{__name__=~"job:.*"}'
>
> Do I also need to modify that?
>
> I use at the moment:
>
>    - job_name: federate
>      scrape_interval: 15s
>      scrape_timeout: 15s
>      honor_labels: false
>      metrics_path: /federate
>      scheme: https
>      tls_config:
>        insecure_skip_verify: true
>      params:
>          match[]:
>            - '{__name__=~".+"}'
>
> best regards
> Evelyn
>
> --
> 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 prometheus-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/7eb91b81-29f8-b66c-c7f3-4112c3abf4d6%40disroot.org
> .
>

-- 
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CAMV%3D_gayjvdf%3DCPYT1qre9yKJYz28rmkrh-hKyz0OLxaNHAYPQ%40mail.gmail.com.

Reply via email to