May 2019
Intermediate to advanced
442 pages
11h 36m
English
The first thing that is usually important to set is the Prometheus configuration file path, through the --config.file flag. By default, Prometheus will look for a file named prometheus.yml in the current working directory. While this is great for local tests, production deployments usually place server binaries and configuration files in their own paths, and so this flag is commonly needed. As a side note, this and a storage directory are the only hard requirements for starting a Prometheus server; without a configuration file, Prometheus refuses to start.
Read now
Unlock full access