Closed tico24 closed 2 months ago
Did you deliberately drop the port-forwarding docs?
Yes, but this will give you the impression I really thought about it. My vague reasoning is that you now define the port, path and security of the URL, and we already define the service. If you can't work out that the service points to the metrics and that you could port forward that, then maybe this isn't for you?
Happy to add it back though.
We document this elsewhere, and for beginners this is a useful way to understand or remember they can see the numbers there to verify where in this kubernetes world of duct tape and string things aren't going well for them today.
Motivation
The docs now separate prometheus and OTEL metrics information, but there was some prometheus stuff hanging towards the bottom of the page. It makes sense to move this up.
Also people struggled to read the last line about using a headless service, so made it more obvious and updated the example to match.