Skip to content

tailsdotcom/uwsgi_exporter

 
 

Repository files navigation

uWSGI Exporter

CircleCI Docker Pulls Go Report Card

Prometheus exporter for uWSGI metrics.

Building and running

Build

make

Running

./uwsgi_exporter <flags>

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.

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 --stats.uri localhost:8001

(uWSGI Stats Server port, 8001 in this example, is configured in ini uWSGI configuration files)

About

uWSGI metrics exporter for prometheus.io

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Go 96.9%
  • Makefile 2.3%
  • Dockerfile 0.8%