Add basic prometheus/grafana setup

This commit is contained in:
Chandler Swift 2024-10-31 01:50:48 -05:00
parent 40bb9b51f6
commit db88613987
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F
4 changed files with 48 additions and 0 deletions

View file

@ -4,6 +4,7 @@
encode zstd gzip
file_server
root * /srv/home.chandlerswift.com
reverse_proxy /grafana/* localhost:3000
# hide .git # ???
'';
systemd.tmpfiles.settings."10-home-chandlerswift-com" = {

View file

@ -8,5 +8,10 @@
services.caddy = {
enable = true;
email = "chandler@chandlerswift.com";
globalConfig = ''
servers {
metrics # Enable Prometheus monitoring
}
'';
};
}