Compare commits

...

2 Commits

Author SHA1 Message Date
8f3f3599fe Add raccoon node exporter monitoring 2025-04-22 11:41:43 +02:00
4fff83c503 Increase data retention to 5 years
Now that we have more space, we can extend the retention time to 5 years
to hold the monitoring metrics. For a year we have:

	# du -sh /var/lib/prometheus2
	13G     /var/lib/prometheus2

So we can expect it to increase to about 65 GiB. In the future we may
want to reduce some adquisition frequency.
2025-04-22 11:22:53 +02:00

View File

@ -46,7 +46,7 @@
services.prometheus = { services.prometheus = {
enable = true; enable = true;
port = 9001; port = 9001;
retentionTime = "1y"; retentionTime = "5y";
listenAddress = "127.0.0.1"; listenAddress = "127.0.0.1";
}; };
@ -250,6 +250,14 @@
module = [ "raccoon" ]; module = [ "raccoon" ];
}; };
} }
{
job_name = "raccoon";
static_configs = [
{
targets = [ "127.0.0.1:19002" ]; # Node exporter
}
];
}
{ {
job_name = "ipmi-fox"; job_name = "ipmi-fox";
metrics_path = "/ipmi"; metrics_path = "/ipmi";