Prometheus and the NixOS System Version
posted on February 04 2018
Use the Prometheus Node Exporter Textfile collector to help correlate changes in your application’s behavior with NixOS deployments.
First, configure Prometheus’s NodeExporter to enable Textfile collection:
Second, populate the textfile directory with the current system version on every boot and deployment:
Then, configure Grafana to use the
system_version as an Annotation with the following query: