Hello World!
I’m trying to follow Configure and run Prometheus
Prometheus’ running:
% docker service list
ID NAME MODE REPLICAS IMAGE PORTS
d5k8lg0zcryk prometheus replicated 1/1 prom/prometheus:latest *:9090->9090/tcp
%
probing docker’ endpoint via curl
% curl -I http://X.local:9323/metrics
HTTP/1.1 200 OK
Content-Type: text/plain; version=0.0.4; charset=utf-8
Date: Mon, 31 Jan 2022 05:28:21 GMT
%
yet, when I access UI via “http://localhost:9090/targets” “docker” endpoint shows up with an error
Get “http://X.local:9323/metrics”: context deadline exceeded
Please advise.