Update README.md
This commit is contained in:
Родитель
0feb9bcf43
Коммит
00afbd92e0
36
README.md
36
README.md
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче