# pmacct-prometheus Current version: 0.2.0 Prometheus metrics endpoint for pmacct accounting data. ## Modes This tool can be run in either `single`, `parse-csv` or `serve` mode. In `single` and `parse-csv` mode, Prometheus metrics will be generated and output to stdout. The difference is that `single` will use the `pmacct` binary to get realtime information from the running daemon, while `parse-csv` will process a file that was generated and stored earlier by that same command. In `serve` mode, a simple HTTP server will be started at `--listen-address` and `--listen-port` with a single endpoint at `/metrics`. TLS encryption or any type of authentication is not supported. ## Configuration Configuration can be done with command line arguments. All CLI arguments can also be specified as environment variable. # License GPL-3.0-only, see LICENSE file for details.