Posts

Showing posts from 2019

Installing Influxdb and Grafana on EMR

Image
I wanted to install recent versions of Grafana/InfluxDB stack onto a EMR cluster node for publishing metrics from Spark. This will allow me to receive metrics coming directly from the Spark listeners. Used Dockerfile here  for configs and setup.   Find Amazon Linux version cat /etc/issue Amazon Linux AMI release 2018.03 cat /etc/system-release Amazon Linux AMI release 2018.03 Install Version 5.4.2 of Grafana sudo yum install https://dl.grafana.com/oss/release/grafana-5.4.2-1.x86_64.rpm Install Version 1.7.2 on Influx sudo yum install https://repos.influxdata.com/centos/6/x86_64/stable/influxdb-1.7.2.x86_64.rpm Configure Grafana/Influx Move influxdb/config.toml from linked repo to /etc/influxdb/config.toml Move graphana/config.ini from linked repo to /etc/grafana/config.ini Add these lines to grafana config file: type = influxdb host = localhost:8086 name = grafana user = grafana password = grafana Start Influx /usr/bin/influxd -config=/