I have a service running locally (no container) and it has a proper Prometheus endpoint. It is reachable through http://localhost:8094/actuator/prometheus. When I start a separate curl container, I can reach the endpoint at http://host.docker.internal:8094/actuator/prometheus from within the container.
I started the promlens container as directed in the documentation: docker run -p 8099:8080 prom/promlens
I can reach the promlens endpoint at http://localhost:8099/, but when I enter http://host.docker.internal:8094/actuator/prometheus in the URL bar, an error message is displayed: Error validating server health: Not Found.
I am running MacOS.
What am I doing wrong?