mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-27 17:02:31 +01:00
fix(monitoring): restore youko metrics, alerts and VM-host deploys (#431)
* flake.lock: Update nixpkgs only. The new revision builds VictoriaMetrics with cgo (CGO_ENABLED=1); its pure-Go zstd decoder rejected a stored values block, so every small-part merge panicked on youko. * fix(colmena): address the VM hosts by name, not by their IP `~/.ssh/config` pins the passphrase-protected builder key with IdentitiesOnly for 192.168.*, so IP-addressed ssh cannot authenticate without a terminal. The name resolves through the aliases in /etc/ssh/ssh_config. * fix(monitoring): repair two alert rules VictoriaMetrics rejects `on(uid)` matches on a label kube-state-metrics no longer emits, and `!= ON(__name__, instance)` treats every pg_settings series as a duplicate. They now join on (namespace, pod) and compare with `changes(...[5m])`. * fix(monitoring): keep disk latency alerts off mechanical disks Both rules averaged per-op latency with no device or sample guard, so the 4 TB USB HDD volumes paged constantly (>100 ms/write in 26% of the last 30 days). They now require a non-rotational physical device and >=5 ops/s. Assisted-by: DeepSeek Harness 0.2.0-rc.2 (deepseek-flash)
This commit is contained in:
1 parent
497fabbf92
commit
2f6f2b6926
7 files changed
+17
-22
No files matched your search
Generated
+4
-4
@@ -974,11 +974,11 @@
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1790822859,
|
||||
"narHash": "sha256-69xHQhAeMAD2wDXO7T2pcOZIF9Sga2W+JkmY2a11Ops=",
|
||||
"owner": "nixos",
|
||||
"lastModified": 1791000213,
|
||||
"narHash": "sha256-qsAQkushLI1nYI/Uz/OAufjcvg50bZBGBq25pe/jcWk=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "c59305bab2065cfecc4944690d9eedbb56f3a9fa",
|
||||
"rev": "f71476e8faba8240824d77877d2da77cc42e6d00",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
Reference in new issue
Block a user