Add metronom + tankstelle to grafana + loki #202

Merged
teutat3s merged 7 commits from monitor-metronom-tankstelle into main 2024-06-06 16:41:23 +00:00
4 changed files with 26 additions and 0 deletions
Showing only changes of commit 4350cbf7c4 - Show all commits

View file

@ -82,6 +82,8 @@
./tankstelle ./tankstelle
self.nixosModules.overlays self.nixosModules.overlays
self.nixosModules.core self.nixosModules.core
self.nixosModules.prometheus-exporters
self.nixosModules.promtail
]; ];
}; };
}; };

View file

@ -38,6 +38,15 @@
]; ];
persistentKeepalive = 15; persistentKeepalive = 15;
} }
{
# tankstelle.pub.solar
endpoint = "80.244.242.5:51820";
publicKey = "iRTlY1lB7nPXf2eXzX8ZZDkfMmXyGjff5/joccbP8Cg=";
allowedIPs = [
"10.7.6.4/32"
"fd00:fae:fae:fae:fae:4::/96"
];
}
]; ];
}; };
}; };

View file

@ -28,6 +28,15 @@
"fd00:fae:fae:fae:fae:1::/96" "fd00:fae:fae:fae:fae:1::/96"
]; ];
} }
{
# flora-6.pub.solar
endpoint = "80.71.153.210:51820";
publicKey = "jtSR5G2P/nm9s8WrVc26Xc/SQLupRxyXE+5eIeqlsTU=";
allowedIPs = [
"10.7.6.2/32"
"fd00:fae:fae:fae:fae:2::/96"
];
}
]; ];
}; };
}; };

View file

@ -59,6 +59,12 @@
instance = "metronom"; instance = "metronom";
}; };
} }
{
targets = [ "tankstelle.wg.${config.pub-solar-os.networking.domain}:${toString config.services.prometheus.exporters.node.port}" ];
labels = {
instance = "tankstelle";
};
}
]; ];
} }
{ {