Prometheus exporter for uWSGI metrics.
make
./uwsgi_exporter <flags>
Name | Description |
---|---|
--stats.uri | required URI for accessing uwsgi stats (currently supports: "http", "https", "unix", "tcp"). |
--stats.timeout | Timeout for trying to get stats from uwsgi. (default 5s) |
--collect.cores | Whether to collect cores information per uwsgi worker. WARNING may cause tremendous resource utilization when using gevent engine. (default: false) |
--log.level | Logging verbosity. (default: info) |
--web.listen-address | Address to listen on for web interface and telemetry. (default: ":9117") |
--web.telemetry-path | Path under which to expose metrics. |
--version | Print the version information. |
You can deploy this exporter using the Docker image from following registry:
For example:
docker pull timonwong/uwsgi-exporter
docker run -d -p 9117:9117 timonwong/uwsgi-exporter --stats.uri localhost:8001
(uWSGI Stats Server port, 8001 in this example, is configured in ini
uWSGI configuration files)