I am using Prometheus on OpenShift platform. Authentication is handled by OpenShift for Prometheus and all its sub domains except /metrics endpoint. It bypasses all authentication and shows Prometheus go client metrics plain texted.
Is it possible to somehow force OpenShift authentication on prometheus/metrics endpoint or to disable that endpoint since I don't really need go client metrics?
I know that node_exporters have flags to control certain collectors but I couldn't find it for Prometheus client itself.