feat: prometheus nixos module & test-container

for testing grafana in container
export QEMU_NET_OPTS="hostfwd=tcp::3000-:3000"
 nixos-rebuild build-vm --flake .#test-container
and then run the container, login is test/test

and the grafana port is forwarded to host machine, yay
This commit is contained in:
efim
2023-12-02 08:19:13 +00:00
parent 0a8db09fe8
commit 42c73c5902
2 changed files with 47 additions and 15 deletions

1
.gitignore vendored
View File

@@ -4,3 +4,4 @@
/result
/routes/static/out.css
/nixos.qcow2
/data/