-
-
Save LnL7/7666af126198abad8959f74f4274dadb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
systemd.services."prometheus-rabbitmq-exporter".serviceConfig.ExecStart = "${pkgs.prometheus-rabbitmq-exporter}/bin/rabbitmq_exporter"; | |
systemd.services."prometheus-rabbitmq-exporter".wantedBy = [ "multi-user.target" ]; | |
systemd.services."prometheus-rabbitmq-exporter".serviceConfig.User = "node-exporter"; | |
systemd.services."prometheus-rabbitmq-exporter".serviceConfig.Group = "node-exporter"; | |
systemd.services."prometheus-rabbitmq-exporter".environment.PUBLISH_PORT = "9419"; | |
systemd.services."prometheus-rabbitmq-exporter".environment.RABBIT_CAPABILITIE = "bert,no_sort"; | |
systemd.services."prometheus-rabbitmq-exporter".environment.RABBIT_EXPORTERS = "connections,exchange,node,queue"; | |
systemd.services."prometheus-rabbitmq-exporter".environment.RABBIT_USER = "node-exporter"; | |
systemd.services."prometheus-rabbitmq-exporter".environment.RABBIT_PASSWORD_FILE = "/run/keys/rabbitmq_exporter"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment