Skip to main content

A sidecar for nginx to send statsd metrics to a statsd server

Project description

nginx_statsd_sidecar

The purpose of this container is to be deployed alongside a Docker container running nginx and to report the stats that are reported from the ngx_http_stub_status_module module to a statsd server. It polls stats from nginx every 10 seconds (this is configurable via an environment variable).

nginx_statsd_sidecar reports these stats to statsd:

  • requests the number of requests that nginx has handled since the last time nginx_statsd_sidecar retrieved stats from nginx
  • active_connections the number of currently active nginx connections
  • reading the number of active nginx connections in reading state
  • writing the number of active nginx connections in writing state
  • waiting the number of active nginx connections in waiting state

Documentation

Please see <nginx_statsd_sidecar.readthedocs.io> for the full set of docs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nginx_statsd_sidecar-0.2.1.tar.gz (22.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nginx_statsd_sidecar-0.2.1-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

Details for the file nginx_statsd_sidecar-0.2.1.tar.gz.

File metadata

  • Download URL: nginx_statsd_sidecar-0.2.1.tar.gz
  • Upload date:
  • Size: 22.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.10

File hashes

Hashes for nginx_statsd_sidecar-0.2.1.tar.gz
Algorithm Hash digest
SHA256 0aaf40a6da84ad659e4370a86b6d77f63bec665835d6a590af85ea89e7650bb8
MD5 8baf689c74e9b7325c360d05b39776c2
BLAKE2b-256 c121c9d7a1011d58b92e854e0a6c2163ae6a24466816caea350d882d33953908

See more details on using hashes here.

File details

Details for the file nginx_statsd_sidecar-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nginx_statsd_sidecar-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 11ffdd720904f3299878f100990237b2028e54d1926009fe2560dc037bdc17a6
MD5 5d9ad350b0d6953f0c3403ec6bf5250b
BLAKE2b-256 eccce716539fd68f81affb4470228a314045ec81758f0847bb6e9da0d783ccdb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page