Skip to content

Add metrics exporter for Prometheus - #31

Merged
solsson merged 2 commits into
kafka-011from
metrics-via-jmx
Jun 25, 2017
Merged

solsson merged 2 commits into
kafka-011from
metrics-via-jmx

Conversation

@solsson

@solsson solsson commented Jun 25, 2017

Copy link
Copy Markdown
Contributor

Compatible with https://github.com/Yolean/kubernetes-monitoring and probably most other Kubernetes + Prometheus setups. Should be useful with the Grafana dashboard from https://github.com/rama-nallamilli/kafka-prometheus-monitoring/blob/master/dashboards/Kafka.json.

Unlike https://github.com/rama-nallamilli/kafka-prometheus-monitoring/blob/master/prometheus-jmx-exporter/confd/templates/kafka.yml.tmpl I saw no reason to make the JMX_PORT configurable, as there's no need to export it outside the pod (a benefit with k8s compared to docker-compose). To tweak configuration I suggest a ConfigMap with the metrics setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant