forging2012
7/8/2018 - 4:10 PM

StreamSets Data Collector JMX Monitoring Docker Compose Demo

StreamSets Data Collector JMX Monitoring Docker Compose Demo

datacollector:
  image: 'streamsets/datacollector:1.1.4'
  environment:
    - 'SDC_JAVA_OPTS=-Dcom.sun.management.jmxremote.port=1105 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false'
  expose:
    - '1105'
  ports:
    - '18630:18630'
grafana:
  image: 'grafana/grafana:latest'
  links:
    - influxdb
  ports:
    - '3000:3000'
influxdb:
  image: 'tutum/influxdb:0.9'
  environment:
    - 'GRAPHITE_BINDING=:2003'
    - GRAPHITE_DB=grafana
    - GRAPHITE_PROTOCOL=tcp
    - PRE_CREATE=grafana
  expose:
    - '2003'
    - '8084'
  ports:
    - '8083:8083'
    - '8086:8086'
jmxtrans:
  image: 'kunickiaj/jmxtrans:jmxdemo'
  environment:
    - JMXTRANS_GRAPHITE_HOST=influxdb
    - JMXTRANS_GRAPHITE_PORT=2003
    - JMXTRANS_JMX_HOST=datacollector
    - JMXTRANS_JMX_PORT=1105
  links:
    - datacollector
    - influxdb