Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

django-prometheus How to collect data on multiple machines and multiple processes? #431

Open
ponponon opened this issue Jul 15, 2024 · 1 comment

Comments

@ponponon
Copy link

If my service is deployed in k8s, there will be multiple pod instances scattered across different nodes, how do I summarize them?

@andrew-cybsafe
Copy link

There are various guides online on how to do this, but essentially you'll need to:

  1. create a prometheus service in your cluster
  2. configure your services to export metrics, usually via a HTTP GET to /metrics
  3. configure the prometheus service to scrape the metrics

Guides:
https://www.squadcast.com/blog/install-prometheus-kubernetes
https://devopscube.com/setup-prometheus-monitoring-on-kubernetes/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants