Add prometheus pushgateway
Some checks failed
Run nix flake check / flake-check (push) Failing after 12m59s
Some checks failed
Run nix flake check / flake-check (push) Failing after 12m59s
This commit is contained in:
parent
b9102b5a44
commit
5b06a95222
@ -106,6 +106,14 @@
|
|||||||
}
|
}
|
||||||
reverse_proxy http://monitoring01.home.2rjus.net:4040
|
reverse_proxy http://monitoring01.home.2rjus.net:4040
|
||||||
}
|
}
|
||||||
|
pushgw.home.2rjus.net {
|
||||||
|
log {
|
||||||
|
output file /var/log/caddy/pushgw.log {
|
||||||
|
mode 644
|
||||||
|
}
|
||||||
|
}
|
||||||
|
reverse_proxy http://monitoring01.home.2rjus.net:9091
|
||||||
|
}
|
||||||
http://http-proxy.home.2rjus.net/metrics {
|
http://http-proxy.home.2rjus.net/metrics {
|
||||||
log {
|
log {
|
||||||
output file /var/log/caddy/caddy-metrics.log {
|
output file /var/log/caddy/caddy-metrics.log {
|
||||||
|
@ -199,6 +199,20 @@
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
job_name = "pushgateway";
|
||||||
|
static_configs = [
|
||||||
|
{
|
||||||
|
targets = [ "localhost:9091" ];
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
pushgateway = {
|
||||||
|
enable = true;
|
||||||
|
web = {
|
||||||
|
external-url = "https://pushgw.home.2rjus.net";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
$ORIGIN home.2rjus.net.
|
$ORIGIN home.2rjus.net.
|
||||||
$TTL 1800
|
$TTL 1800
|
||||||
@ IN SOA ns1.home.2rjus.net. admin.test.2rjus.net. (
|
@ IN SOA ns1.home.2rjus.net. admin.test.2rjus.net. (
|
||||||
2061 ; serial number
|
2062 ; serial number
|
||||||
3600 ; refresh
|
3600 ; refresh
|
||||||
900 ; retry
|
900 ; retry
|
||||||
1209600 ; expire
|
1209600 ; expire
|
||||||
@ -76,6 +76,7 @@ jelly IN CNAME http-proxy
|
|||||||
auth IN CNAME http-proxy
|
auth IN CNAME http-proxy
|
||||||
lldap IN CNAME http-proxy
|
lldap IN CNAME http-proxy
|
||||||
pyroscope IN CNAME http-proxy
|
pyroscope IN CNAME http-proxy
|
||||||
|
pushgw IN CNAME http-proxy
|
||||||
|
|
||||||
ldap IN CNAME auth01
|
ldap IN CNAME auth01
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user