forked from mirrors_public/oddlama_nix-config
feat: define global monitoring for each service and automatically configure telegraf based on it
This commit is contained in:
parent
79e1e782c4
commit
e35daee76d
23 changed files with 403 additions and 83 deletions
|
@ -78,6 +78,12 @@ in {
|
|||
};
|
||||
|
||||
globals.services.grafana.domain = grafanaDomain;
|
||||
globals.monitoring.http.grafana = {
|
||||
url = "https://${grafanaDomain}";
|
||||
location = "home";
|
||||
network = "internet";
|
||||
};
|
||||
|
||||
nodes.sentinel = {
|
||||
age.secrets.loki-basic-auth-hashes.generator.dependencies = [
|
||||
config.age.secrets.grafana-loki-basic-auth-password
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue