docker pull prom/prometheus
docker pull prom/node-exporter
docker pull grafana/grafana
docker run -d -p 9100:9100 --name=node-exporter -v "/Users/babywang/Documents/reserch/studySummary/monitor/prometheus/proc:/host/proc:ro" -v "/Users/babywang/Documents/reserch/studySummary/monitor/prometheus/sys:/host/sys:ro" -v "/Users/babywang/Documents/reserch/studySummary/monitor/prometheus/:/rootfs:ro" prom/node-exporter
docker run -d -p 9090:9090 -v ~/Documents/reserch/studySummary/monitor/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml --name=prometheus prom/prometheus
docker run -d -p 9091:9091 --name pushgateway prom/pushgateway
docker run -d -p 3000:3000 --name=grafana -v ~/Documents/reserch/studySummary/monitor/grafana:/var/lib/grafana grafana/grafana
metrics.reporter.promgateway.class: org.apache.flink.metrics.prometheus.PrometheusPushGatewayReporter
metrics.reporter.promgateway.host: localhost
metrics.reporter.promgateway.port: 9091
metrics.reporter.promgateway.jobName: myJob
metrics.reporter.promgateway.randomJobNameSuffix: true
metrics.reporter.promgateway.deleteOnShutdown: false
metrics.reporter.promgateway.groupingKey: k1=v1;k2=v2
metrics.reporter.promgateway.interval: 60 SECONDS
Databoard