~sumner/nixos-configuration

eb18e220ef71a3439f221cdcc7eef4cea9fcd079 — Sumner Evans 3 months ago 1961cc4 linkedin-matrix
linkedin-matrix: add prometheus scraper
1 files changed, 12 insertions(+), 0 deletions(-)

M modules/services/matrix/linkedin-matrix.nix
M modules/services/matrix/linkedin-matrix.nix => modules/services/matrix/linkedin-matrix.nix +12 -0
@@ 217,5 217,17 @@ in
        Restart = "on-failure";
      };
    };

    services.prometheus = {
      enable = true;
      scrapeConfigs = [
        {
          job_name = "linkedinmatirx";
          scrape_interval = "15s";
          metrics_path = "/";
          static_configs = [ { targets = [ "0.0.0.0:9010" ]; } ];
        }
      ];
    };
  };
}