Moved grafana / prometheus to kitt
This commit is contained in:
parent
1ea703bfa1
commit
9aeb7313b4
2 changed files with 26 additions and 26 deletions
|
@ -26,8 +26,6 @@ Notes:
|
|||
groups_trusted = map (x: "@${x}") groups;
|
||||
in {
|
||||
imports = [
|
||||
../applications/grafana.nix
|
||||
../applications/prometheus.nix
|
||||
];
|
||||
|
||||
deployment = {
|
||||
|
@ -52,30 +50,6 @@ in {
|
|||
sudo_groups = groups;
|
||||
};
|
||||
|
||||
services.skynet.prometheus = {
|
||||
server = {
|
||||
host = {
|
||||
ip = ip_pub;
|
||||
name = name;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.skynet.grafana = {
|
||||
enable = true;
|
||||
|
||||
host = {
|
||||
ip = ip_pub;
|
||||
name = name;
|
||||
};
|
||||
|
||||
# maybe just do provision config directly ?
|
||||
datasource = {
|
||||
name = "Prometheus";
|
||||
url = "localhost:${toString config.services.prometheus.port}";
|
||||
};
|
||||
};
|
||||
|
||||
skynet_dns.records = [
|
||||
{
|
||||
record = name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue