Starting Prometheus

Start Prometheus with your newly created configuration file:


By default, Prometheus stores its database in the ./data directory (this can be configured using the flag --storage.tsdb.path) and reads its configuration from the file prometheus.yml (flag --config.file).

NOTE: Any settings provided via the configuration file are reloadable during runtime (by sending a HUP signal), while any changes to flag-based settings require a full server restart to take effect.

Prometheus should start up and show a status page about itself at http://<machine-ip>:9090/. Give it a couple of seconds to collect data about itself from its own HTTP metrics endpoint.

You can also verify that Prometheus is serving metrics about itself by navigating to its metrics endpoint: http://<machine-ip>:9090/metrics