-
Notifications
You must be signed in to change notification settings - Fork 7
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
Enable Prometheus Plugin on Jenkins #23
Comments
@lordofthejars If you are working on this, assign it to yourself and put this on the sprint board. Thanks. |
@pradeepto if I have rights I would do it :) But I have no idea why in all f8 projects I cannot assign myself |
@lordofthejars just invited you to this org, |
Does this mechanism expose the prometheus metrics to unauthenticated localhost (so we'd need the oso-tenant prometheus-relay code in the pod to get at it)? Does it expose them to authenticated routed external URL (so we'd need a user token to get at it)? |
@fche I am not sure if it is exposed to external URLs. I think that if jenkins server endpoints are available outside localhost, then this Prometheus endpoint is external as well. |
To enable metrics in Jenkins instances we need to enable Prometheus Jenkins plugin in our base image.
Apart from that we need to configure the plugin accordantly by creating a
org.jenkinsci.plugins.prometheus.config.PrometheusConfiguration.xm
with next content:Now what else we would need? @fche I think you mention that we could do something with this but some changes would also be required because of OSIO infrastructure. Can we discuss in this issue what else it is required?
CC/ @chmouel @krishnapaparaju @pradeepto
Related with: openshiftio/openshift.io#2778
The text was updated successfully, but these errors were encountered: