Sha256: c1bad2f246407d2e98949ced240623c5f775d4ba666ca7efea6a4fe801961811

Contents?: true

Size: 721 Bytes

Versions: 1

Compression:

Stored size: 721 Bytes

Contents

# Fluent event to statsd plugin.

# Installation

```
$ fluent-gem install fluent-plugin-statsd
```

[![Gem Version](https://badge.fury.io/rb/fluent-plugin-statsd.png)](http://badge.fury.io/rb/fluent-plugin-statsd)

# Usage

```
<match statsd>
  type statsd
  host localhost # optional
  port 8125 # optional
  namespace a.b.c # optional

  <metric>
    statsd_type timing
    statsd_key my_app.nginx.response_time
    statsd_key ${record['response_time']}
  </metric>

  <metric>
    statsd_type incrument
    statsd_key my_app.nginx.${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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fluent-plugin-statsd-output-1.1.0 README.md