nix-dotfiles/hosts/tsuki/services/grafana/prometheus-exporters/redis.nix

18 lines
282 B
Nix
Raw Normal View History

{ ... }:
{
services.prometheus = {
scrapeConfigs = [{
job_name = "redis";
scrape_interval = "15s";
static_configs = [{
targets = [ "localhost:10394" ];
}];
}];
exporters.redis = {
enable = true;
port = 10394;
};
};
}