diff options
author | solsson <solsson@gmail.com> | 2017-06-25 15:42:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-25 15:42:57 +0200 |
commit | 4a56062d2ce168d50bed8a17108e3c8b4199699f (patch) | |
tree | 5b168cd904fc2bf093651b77225b0b80af4c32b7 /README.md | |
parent | 5919d454d84739edf90d3478afaec9fc559e9f2f (diff) | |
parent | a1823a8f21149b6b82a91593c1a35117a0aee1bc (diff) | |
download | kubernetes-kafka-4a56062d2ce168d50bed8a17108e3c8b4199699f.tar.gz kubernetes-kafka-4a56062d2ce168d50bed8a17108e3c8b4199699f.tar.bz2 kubernetes-kafka-4a56062d2ce168d50bed8a17108e3c8b4199699f.zip |
Merge pull request #31 from Yolean/metrics-via-jmx
Add metrics exporter for Prometheus
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -78,3 +78,11 @@ Testing and retesting... delete the namespace. PVs are outside namespaces so del kubectl delete namespace kafka rm -R ./data/ && kubectl -n kafka delete pv datadir-kafka-0 datadir-kafka-1 datadir-kafka-2 ``` + +## Metrics, Prometheus style + +Is the metrics system up and running? +``` +kubectl logs -c metrics kafka-0 +kubectl exec -c broker kafka-0 -- /bin/sh -c 'apk add --no-cache curl && curl http://localhost:5556/metrics' +``` |