No commit activity in last 3 years
No release in over 3 years
fluentd output filter plugin to send metrics to Esty StatsD
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
~> 3.0

Runtime

>= 0.10.8
 Project Readme

Fluent event to statsd plugin.

Build Status Gem Version

Installation

$ fluent-gem install fluent-plugin-statsd-output

Usage

<match statsd>
  type statsd
  host localhost # optional
  port 8125 # optional
  namespace a.b.c # optional
  batch_byte_size 512 # optional
  sample_rate 0.9 # optional

  <metric>
    statsd_type timing
    statsd_key my_app.nginx.response_time
    statsd_val ${record['response_time']}
    statsd_rate 0.6 # optional
  </metric>

  <metric>
    statsd_type increment
    statsd_key my_app.nginx.${record['response_code'].to_i / 100}xx # 2xx 4xx 5xx
  </metric>
</match>

Development

$ rspec

Copyright

Copyright (c) 2014- Chris Song

License

Apache License, Version 2.0