1
0
Форкнуть 0
This commit is contained in:
Wesley Yao 2018-03-02 12:20:40 -08:00 коммит произвёл GitHub
Родитель 0feb9bcf43
Коммит 00afbd92e0
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 16 добавлений и 20 удалений

Просмотреть файл

@ -1,8 +1,10 @@
# fluent-plugin-clouderametrics
[Fluentd](https://fluentd.org/) input plugin to do something.
[Fluentd](https://fluentd.org/) input plugin for cloudera metrics.
TODO: write description for you plugin.
Cloudera metrics plugin queries for cloudera cluster metrics and is easily configurable so that you can pull the metrics you want.
[Cloudera Manager APIs](https://cloudera.github.io/cm_api/apidocs/v19/index.html/)
## Installation
@ -12,32 +14,26 @@ TODO: write description for you plugin.
$ gem install fluent-plugin-clouderametrics
```
### Bundler
Add following line to your Gemfile:
```ruby
gem "fluent-plugin-clouderametrics"
```
And then execute:
```
$ bundle
```
## Configuration
You can generate configuration template:
```
$ fluent-plugin-config-format input clouderametrics
<source>
@type clouderametrics
 tag   tagname (default: cloudera.metrics)
 user username   (default: user)
pass password (default: password)
host http://cloudera-host.com (default: http://localhost)
port 7180 (default: 7180)
api_endpoint timeseries
api_version v19 (default: v19)
query select+*+where+roletype=DATANODE
</source>
```
You can copy and paste generated documents here.
## Copyright
* Copyright(c) 2018- Wesley Yao
* Copyright(c) 2018- Wesley Yao & Zach Miller
* License
* Apache License, Version 2.0