grafana init

This commit is contained in:
mjallen18
2025-01-22 11:55:46 -06:00
parent d243f3e8f7
commit 1eca478a7b
6 changed files with 94 additions and 70 deletions

View File

@@ -48,12 +48,25 @@ in
asDefault = true;
http.tls.certResolver = "letsencrypt";
};
metrics = {
address = ":8082"; # Port for metrics
};
};
log = {
level = "INFO";
};
metrics = {
prometheus = {
entryPoint = "metrics";
addEntryPointsLabels = true;
addServicesLabels = true;
buckets = [0.1 0.3 1.2 5.0]; # Response time buckets
};
};
certificatesResolvers.letsencrypt.acme = {
email = "jalle008@proton.me";
storage = "${config.services.traefik.dataDir}/acme.json";