Hadoop metrics sink for influxdb
tested on Hadoop version 2.7.1
- copy the jar to the classpath and alter the file: hadoop-metrics2.properties with the following content:
*.sink.file.class=org.apache.hadoop.metrics2.sink.InfluxdbSink
*.sink.influxdb.influxdb_host=influxdb.example.com
*.sink.influxdb.influxdb_port=8086
*.sink.influxdb.influxdb_database=hadoop
*.sink.influxdb.influxdb_username=hadoop
*.sink.influxdb.influxdb_password=hadoop
*.sink.ingluxdb.cluster=clustername