This message was deleted.
# general
a
This message was deleted.
m
You would probably be looking for something like Thanos if you want to monitor multiple clusters at once. https://thanos.io/ Although you could configure Prometheus to scrape metrics from things outside of your cluster. Rancher is just installing the regular Prometheus stack. https://github.com/prometheus-operator/kube-prometheus
b
darn, it's not practical to just configure prom to scrape other clusters?
m
Sorry for the late response here. You can totally configure the Prometheus to scrape other clusters. Since the Rancher Monitoring is really just kube-prometheus, you can set scrape targets to anything you want. It's not too bad.
q
Even I'm looking for the same option, untill
Rancher v2.5
it was pretty straight forward under
cattle-monitoring-system
namespace
we have
Secrets
where
additional_scrape_config.yaml
file was present where we can add the target nodes which prometheus can scrape the endpoint
/metrics
. But in
Rancher v2.7
I'm really finding it hard to locate the scrape config file and not sure how to configure my target nodes in order to scrape the metrics