Post-migration cleanups
This commit is contained in:
parent
52a4563192
commit
f38f17af41
2 changed files with 9 additions and 17 deletions
|
@ -27,18 +27,6 @@
|
|||
}))
|
||||
];
|
||||
|
||||
# TODO: Remove this once they are migrated to this repo.
|
||||
compat = map (
|
||||
name: {
|
||||
job_name = name;
|
||||
static_configs = [
|
||||
{
|
||||
targets = ["${name}.dmz:${toString config.services.prometheus.exporters.node.port}"];
|
||||
}
|
||||
];
|
||||
}
|
||||
) ["lewis" "jefke"];
|
||||
|
||||
pikvm = {
|
||||
job_name = "pikvm";
|
||||
metrics_path = "/api/export/prometheus/metrics";
|
||||
|
@ -58,7 +46,7 @@
|
|||
];
|
||||
};
|
||||
in
|
||||
generated ++ compat ++ [pikvm]
|
||||
generated ++ [pikvm]
|
||||
);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue