-
Notifications
You must be signed in to change notification settings - Fork 38
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
Metrics not accessible with disableHttp=true #247
Comments
hi, have you used port 8443? This works for me:
|
Huh, you are correct, this seems to work when querying localhost in the pod itself. EDIT: I was using a PodMonitor as follows. First I had a wrong label matched, but now it works.
|
Actually, I just realized that this operator generates a |
In my custom resource
ApicurioRegistry
I want to setfor security hygiene. My enterprise environment forbids plain http.
When I set that, port 8080 is no longer exposed on the registry pod. But then, my
ServiceMonitor
still guides Prometheus to port 8080 for metrics, which seems to fail since I don't see those metrics in Prometheus afterwards. Only when I setdisableHttp
back tofalse
can I see metrics again.What's the idea here? Is this a bug?
How can I disable the plain endpoint for API clients, but still get metrics to operate the registry?
The text was updated successfully, but these errors were encountered: