fluent-plugin-dd
Output plugin for Datadog
Installation
$ gem install fluent-plugin-dd
Configuration
<match datadog.**>
@type dd
dd_api_key ...
#dd_app_key_key ...
#host my_host.example.com
#device my_device
#silent true
#timeout 5
#use_fluentd_tag_for_datadog_tag false
#emit_in_background false
</match>
Usage
echo '{"metric":"some.metric.name", "value":50.0}' | fluent-cat datadog.metric
echo '{"metric":"some.metric.name", "value":100.0, "tag":"any.tag", "host":"any.host", "type":"gauge", "device":"my_device"}' | fluent-cat datadog.metric
Contributing
- Fork it
- 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 new Pull Request