May 2019
Intermediate to advanced
442 pages
11h 36m
English
When you unpack the Prometheus release archive, besides the binaries for the server and promtool, there are also a few console templates readily available. To make this clear, we can look inside our test environment where we unpacked these templates into system paths, shown as follows:
vagrant@prometheus:/usr/share/prometheus$ systemctl cat prometheus...ExecStart=/usr/bin/prometheus \ --config.file=/etc/prometheus/prometheus.yml \ --storage.tsdb.path=/var/lib/prometheus/data \ --web.console.templates=/usr/share/prometheus/consoles \ --web.console.libraries=/usr/share/prometheus/console_libraries...
Both directories need to be properly configured for consoles to work. Console libraries define helper functions ...
Read now
Unlock full access