waffentrager: move prometheus stateDir
This commit is contained in:
parent
f892292aa0
commit
3406af1780
|
@ -25,6 +25,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
port = 3233;
|
port = 3233;
|
||||||
globalConfig.scrape_interval = "30s";
|
globalConfig.scrape_interval = "30s";
|
||||||
|
stateDir = "elements/services/prometheus";
|
||||||
scrapeConfigs = [
|
scrapeConfigs = [
|
||||||
{
|
{
|
||||||
job_name = "node";
|
job_name = "node";
|
||||||
|
@ -39,6 +40,7 @@
|
||||||
port = 3234;
|
port = 3234;
|
||||||
enabledCollectors = [ "systemd" ];
|
enabledCollectors = [ "systemd" ];
|
||||||
extraFlags = [ "--collector.ethtool" "--collector.softirqs" "--collector.tcpstat" "--collector.wifi" ];
|
extraFlags = [ "--collector.ethtool" "--collector.softirqs" "--collector.tcpstat" "--collector.wifi" ];
|
||||||
|
|
||||||
};
|
};
|
||||||
services.nginx.virtualHosts."watchman.materus.pl" = {
|
services.nginx.virtualHosts."watchman.materus.pl" = {
|
||||||
addSSL = true;
|
addSSL = true;
|
||||||
|
|
Loading…
Reference in New Issue