1
0
Форкнуть 0
Fluentd plugin for Cloudera metrics
Перейти к файлу
Wesley Yao 99fe381157
Merge pull request #1 from cosmo0920/update-gemspec
Update gemspec
2019-03-18 16:25:20 -07:00
lib/fluent/plugin Update in_clouderametrics.rb 2018-03-02 20:13:18 -08:00
test add tests 2018-03-02 17:33:46 -08:00
.gitignore Initial commit 2018-02-27 14:31:46 -08:00
Gemfile fluent plugin scaffold 2018-02-27 16:05:42 -08:00
LICENSE Create LICENSE 2018-03-02 11:29:27 -08:00
README.md add msft contribution readme 2018-03-15 23:03:22 -07:00
Rakefile fluent plugin scaffold 2018-02-27 16:05:42 -08:00
fluent-plugin-clouderametrics.gemspec Follow the repository location 2019-03-14 16:01:11 +09:00

README.md

fluent-plugin-clouderametrics

Gem Version

Fluentd input plugin for cloudera metrics.

Cloudera metrics plugin queries for cloudera cluster metrics and is easily configurable so that you can pull the metrics you want.

Cloudera Manager APIs provides documentation on how to use each api.

Installation

RubyGems

$ gem install fluent-plugin-clouderametrics

Configuration

<source>
  @type        clouderametrics
  tag          tagname                          (default: cloudera.metrics)
  timespan     60                               (default: 60) [seconds]
  user         username                         (default: user)
  pass         password                         (default: password)
  host         http://cloudera-host.com         (default: http://localhost)
  port         7180                             (default: 7180)
  api_version  v19                              (default: v19)
  api_endpoint timeseries
  query        select+*+where+roletype=DATANODE (default: "")
</source>

Sample Configuration

<source>
  @type clouderametrics
  tag azure.cloudera
  timespan 10
  user username
  pass password
  host http://test-cloudera-mn0.westus.cloudapp.azure.com
  port 7180
  api_endpoint hosts
  api_version v17
  query select+cpu_user_rate+where+roletype=DATANODE
</source>

Test

Run tests:

$ rake test

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.