-
Notifications
You must be signed in to change notification settings - Fork 34
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
Configuration to scrape repository metrics #381
Conversation
Signed-off-by: Paul S. Schweigert <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, I think so One thing I saw is that we're running the Django apps in debug mode (well, the repository is... didn't check the gateway). Debug mode will add |
Yes for |
Signed-off-by: Paul S. Schweigert <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @psschwei 🙏
Summary
Configuration to allow prometheus to scrape metrics from the repository
prereq for #368
Details and comments
Added a dependency on
django-allow-cidr
so that we could configureALLOWED_HOSTS
to be internal services (i.e. from a10.
address). Also added arepository: "true"
label for the repository pod(s) in order for the serviceMonitor to be able to scrape them.