Fluent::Plugin::OutHostedGraphite
fluentd plugin for Hosted Graphite.
Installation
Add this line to your application's Gemfile:
gem 'fluent-plugin-out_hosted_graphite'
And then execute:
$ bundle
Or install it yourself as:
$ gem install fluent-plugin-out_hosted_graphite
Configure
fluentd.conf
<match *.*>
type hosted_graphite
api_key xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxxxxxxx
metric_key foo.bar,hoge,fuga,bar
protocol udp
</match>
api_key
- Required
metric_key
- Required
- Supported multiple keys
protocol
- UDP
- TCP
- HTTP(Default)
Contributing
- Fork it ( https://github.com/[my-github-username]/fluent-plugin-out_hosted_graphite/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request