No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/fluent/plugin
test
.gitignore
.travis.yml
AUTHORS
Gemfile
README.md
Rakefile
VERSION
fluent-plugin-graphite.gemspec

README.md

Fluent event to Graphite plugin (like statsd ).

Installation

$ fluent-gem install fluent-plugin-graphite

Usage

<match graphite>
  type graphite
  host localhost # optional
  port 2003 # optional
</match>
fluent_logger.post('graphite',
  :key => 'mycounter',
  :count => 1
)

fluent_logger.post('graphite',
  :key => 'myrenderingtime',
  :count => 1,
  :sampling => 0.1
)

fluent_logger.post('graphite',
  :key => 'gaugor',
  :gauge => 333
)

# not work now...
fluent_logger.post('graphite',
  :key => 'myrenderingtime',
  :timer => 320
)

Copyright

Copyright (c) 2012- Yuichi Tateno

License

Apache License, Version 2.0