Fluend plugin for Dogstatsd, that is statsd server for Datadog.
This sections described changes that have been done after fork.
- Removed options
use_tag_as_key,use_tag_as_key_if_missing,flat_tags,flat_tag,value_key. - Appended fluentd event tag parsing to send to Dogstatsd under the tag.
- Appended option
key_nameto clearly set the statsd metric name. The original plugin supports onlyuse_tag_as_keyandvalue_keyoptions. - Appended option
dogstatsd_tag_nameto name the tag of Dogstatsd metric.
$ gem install specific_install
$ td-agent-gem specific_install -l https://github.com/ifunny/fluent-plugin-dogstatsd
<store>
@type dogstatsd
metric_type increment
key_name ifunny.fluentd.messages.rate_avg
dogstatsd_tag_name log_name
</store>
Supported type is only increment.
- Fork it ( https://github.com/ryotarai/fluent-plugin-dogstatsd/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