uWSGI metrics exporter for prometheus.io
Clone or download
Latest commit ddbc18f Sep 20, 2018

README.md

uWSGI Exporter Build Status

CircleCI Docker Repository on Quay Docker Pulls Go Report Card

Prometheus exporter for uWSGI metrics.

Building and running

Build

make

Running

./uwsgi_exporter <flags>

Flags

Name Description
--stats.uri 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. (default: true)
--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.

Using Docker

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