1 { config, lib, pkgs, options, ... }:
4 cfg = config.services.prometheus.exporters.nats;
5 inherit (lib) mkOption types concatStringsSep;
13 default = "http://127.0.0.1:8222";
15 NATS monitor endpoint to query.
23 ${pkgs.prometheus-nats-exporter}/bin/prometheus-nats-exporter \
24 -addr ${cfg.listenAddress} \
25 -port ${toString cfg.port} \
26 ${concatStringsSep " \\\n " cfg.extraFlags} \