Enable proxy for Grafana too
The alerts need to contact the slack endpoint, so we add the proxy environment variables to the grafana systemd service. Reviewed-By: Aleix Roca Nonell <aleix.rocanonell@bsc.es>
This commit is contained in:
parent
0e66aad099
commit
736eacaac5
@ -18,6 +18,9 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Make grafana alerts also use the proxy
|
||||||
|
systemd.services.grafana.environment = config.networking.proxy.envVars;
|
||||||
|
|
||||||
services.prometheus = {
|
services.prometheus = {
|
||||||
enable = true;
|
enable = true;
|
||||||
port = 9001;
|
port = 9001;
|
||||||
|
Loading…
Reference in New Issue
Block a user