This commit is contained in:
@@ -7,6 +7,7 @@ in {
|
||||
./machines.nix
|
||||
./matrix-synapse.nix
|
||||
./mysqld.nix
|
||||
./phpfpm.nix
|
||||
./postgres.nix
|
||||
];
|
||||
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
{ ... }:
|
||||
{
|
||||
services.prometheus.scrapeConfigs = [{
|
||||
job_name = "phpfpm";
|
||||
scheme = "https";
|
||||
metrics_path = "/prometheus-php-fpm-exporter/metrics";
|
||||
|
||||
static_configs = [
|
||||
{
|
||||
labels.hostname = "bekkalokk";
|
||||
targets = [ "www.pvv.ntnu.no:443" ];
|
||||
}
|
||||
];
|
||||
}];
|
||||
}
|
||||
Reference in New Issue
Block a user