feat(monitoring): drop prometheus in favor of victorialogs #348
No reviewers
Labels
No labels
awaiting
awaiting-author
awaiting
awaiting-reviewer
bot
deployed
Silenced alert
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
DGNum/infrastructure!348
Loading…
Reference in a new issue
No description provided.
Delete branch "drop_prometheus"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -162,0 +163,4 @@static_configs = [ { targets = [ "localhost:${builtins.toString port}" ]; } ];basic_auth = {username = "prometheus";password_file = config.age.secrets."vmagent-uptime-kuma-apikey".path;vmagent-uptime_kuma_api_key@ -162,0 +168,4 @@}];};age-secrets.autoMatch = [ "vmagent" ];Y'a pas d'user
vmagentlorsque l'unitévmagent.servicene tourne pas, le bon méchanisme est d'utiliserLoadCredentialet des chemins utilisant%{CREDENTIALS_DIRECTORY}(c.f. https://docs.victoriametrics.com/#how-to-scrape-prometheus-exporters-such-as-node-exporter )@ -75,1 +97,4 @@proxy_set_header Host $host;'';};?
Je suis obligé de factoriser services à cause du linter
@ -97,2 +110,4 @@};};age-secrets.autoMatch = [ "vmagent" ];Pareil que sur le fichier
uptime-kuma, ça n'a pas lieu d'être@ -100,1 +98,4 @@dgn-monitoring.scrapeConfigsOverrides."nut" = {metrics_path = "/ups_metrics";#static_configs = [ { targets = [ "127.0.0.1:9199/ups_metrics" ]; } ];À enlever ig ?
@ -51,3 +67,4 @@)(filterAttrs (name: cfg:Je verrais plutôt ce qui suit:
78778fe1a1698ff217f7@ -162,0 +168,4 @@}];};systemd.services.uptime-kuma.serviceConfig.LoadCredential = [C'est pas le bon service du coup, ça doit aller dans
vmagent698ff217f774420380937442038093cc0481f05fcc0481f05fed65f5cf96ed65f5cf96aed96b16e1