modules/nixos: remove cgroup-exporter
This commit is contained in:
parent
5571427575
commit
a7ee03f5f3
3 changed files with 0 additions and 35 deletions
modules/nixos
|
@ -1,20 +1,8 @@
|
|||
{
|
||||
config,
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
inputs.cgroup-exporter.nixosModules.default
|
||||
];
|
||||
|
||||
services.prometheus.exporters.cgroup.enable = true;
|
||||
|
||||
services.telegraf.extraConfig.inputs.prometheus.urls = [
|
||||
"http://localhost:${toString config.services.prometheus.exporters.cgroup.port}/metrics"
|
||||
];
|
||||
|
||||
nix = {
|
||||
package = pkgs.nixVersions.nix_2_25;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue