jupiter: add VictoriaMetrics monitoring #1
@@ -10,7 +10,7 @@
|
|||||||
{
|
{
|
||||||
services.victoriametrics = {
|
services.victoriametrics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
retentionPeriod = "30d";
|
retentionPeriod = "15d";
|
||||||
|
luna marked this conversation as resolved
|
|||||||
listenAddress = ":8428";
|
listenAddress = ":8428";
|
||||||
|
|
||||||
prometheusConfig = {
|
prometheusConfig = {
|
||||||
|
|||||||
Reference in New Issue
Block a user
This puts the TSDB on jupiter's eMMC, which I think is the one real blocker here.
The module hardcodes
-storageDataPath=/var/lib/${cfg.stateDir}and runs withDynamicUser = true, so the data actually lands in/var/lib/private/victoriametricson the 29G OS disk. ThestateDiroption cannot help — it is always relative to/var/lib/.Every other stateful service on jupiter lives on the array under
/mnt/data/AppData. More to the point,services/media/prowlarr.nix:32documents this exact trap from the last time it bit this repo:Same shape here, same
DynamicUser->/var/lib/private/path, so the existing idiom drops straight in:Please also add the
RequiresMountsForpin that prowlarr.nix calls out — that is the half people forget, and without it this silently falls back to the eMMC whenever the array is not assembled.This matters more than usual right now: 6 targets at a 5s interval is a continuous small-write workload aimed at the box's wear-limited disk, which was at 85% full earlier today.