1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

Remove nginxlog exporter

This commit is contained in:
RGBCube 2024-01-13 21:27:28 +03:00
parent d171c70029
commit e96561b036
No known key found for this signature in database

View file

@ -3,14 +3,8 @@
serverSystemConfiguration { serverSystemConfiguration {
networking.firewall.allowedTCPPorts = [ 80 443 ]; networking.firewall.allowedTCPPorts = [ 80 443 ];
services.prometheus.exporters = { services.prometheus.exporters.nginx = enabled {
nginxlog = enabled { port = 9010;
port = 9011;
};
nginx = enabled {
port = 9010;
};
}; };
services.prometheus.scrapeConfigs = [{ services.prometheus.scrapeConfigs = [{
@ -18,10 +12,7 @@ serverSystemConfiguration {
static_configs = [{ static_configs = [{
labels.job = "nginx"; labels.job = "nginx";
targets = [ targets = [ "[::]:${toString config.services.prometheus.exporters.nginx.port}" ];
"[::]:${toString config.services.prometheus.exporters.nginxlog.port}"
"[::]:${toString config.services.prometheus.exporters.nginx.port}"
];
}]; }];
}]; }];