I am trying to configure the prometheus federation, but the target is not 
up and the only error I can see is `read: connection reset by peer`

The scrape_config I've added is as follows:

- job_name: federate
  scrape_interval: 30s
  scrape_timeout: 15s
  scheme: https
  honor_labels: true
  metrics_path: "/federate"
  params:
    match[]:
    - '{job="jobname"}'
  static_configs:
  - targets:
    - another_prom_server

But if I use `curl` command from this central prometheus server, it works 
and can return the metrics correctly. 

another_prom_server is the one deployed by kube-prometheus-stack helm 
chart. Not sure what is the issue here? Could anyone help advise, thanks! 

-- 
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/a5a85deb-3f97-46f9-906f-d53045251a61n%40googlegroups.com.

Reply via email to