Skip to content

Commit

Permalink
v0.9: Added metric reporting and status command
Browse files Browse the repository at this point in the history
 * Added ability to report various image metrics to a StatsD server
 * Added various timing metrics, which get sent to both StatsD
   and included in the Dirpy-Data reponse header
 * Added 'status' command to permit health checking of the daemon
 * Various small optimizations
  • Loading branch information
eschwim committed Oct 26, 2016
1 parent cb5ef8d commit 6bed801
Show file tree
Hide file tree
Showing 5 changed files with 177 additions and 72 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ A few of Dirpy's more interesting capabilities include:
* Saving output images to disk (useful when acting as a LRU image cache)
* JPEG ICC profile support
* Running in a standalone configuration or via UWSGI
* Ability to report statistics to a StatsD daemon

A full list of Dirpy's commands and their options is available in the
[Dirpy API Guide](https://github.com/redfin/dirpy/blob/master/docs/api.md).
Expand Down
18 changes: 18 additions & 0 deletions conf/dirpy.conf
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,24 @@

#allow_overwrite=false

## statsd_server: The DNS/IP of your StatsD server. If set, this enables
## statsd reporting of various metrics.
## default: None

#statsd_server=None

## statsd_port: The UDP port StatsD is listening to on the server defined
## in the statsd_server variable.
## default: 8125

#statsd_port=8125

## statsd_prefix: The string that all metrics reported to your StatsD
## server will be prefixed with.
## default: dirpy

#statsd_prefix=dirpy

## debug: Cause Dirpy to emit debug log output
## default: false

Expand Down
Loading

0 comments on commit 6bed801

Please sign in to comment.