Belajar Sendiri

Commands

curl localhost:9090/-/ready

curl localhost:9090/-/ready

Risk: Safe

What it does

Asks Prometheus if it is ready to answer queries.

When to use it

Right after you start Prometheus, or when a screen shows no data.

Example

$ curl localhost:9090/-/ready

It answers: Prometheus Server is Ready.

$ curl localhost:9090/-/healthy

Is the server alive at all?