See: https://hub.docker.com/r/bitnami/zookeeper/
static_configs:
- targets:
- "zookeeper:80"
static_configs:
- targets:
- "zookeeper:80"
labels:
env: "dev"
relabel_configs:
labels:
env: "dev"
relabel_configs:
RUN chmod -R 777 /opt/prometheus
USER 1001
RUN chmod -R 777 /opt/prometheus
USER 1001
+ENV ZOO_ENABLE_PROMETHEUS_METRICS=true
ENV JVMFLAGS=-javaagent:/opt/prometheus/jmx_prometheus_javaagent.jar=80:/opt/prometheus/config.yml
ENV JVMFLAGS=-javaagent:/opt/prometheus/jmx_prometheus_javaagent.jar=80:/opt/prometheus/config.yml