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.
OpenPGP_0x61776FA8E38403FB.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature