diff options
author | Staffan Olsson <staffan@repos.se> | 2017-07-28 09:48:29 +0200 |
---|---|---|
committer | Staffan Olsson <staffan@repos.se> | 2017-07-28 09:50:23 +0200 |
commit | a880307fa1eb7ec785f12d08a12d2e27ff669454 (patch) | |
tree | 8a26c345015f350b2dd2f9920e3a614040605f2f | |
parent | c4f3c412c8338d562e49a1ac77d4654c07c71ce1 (diff) | |
download | kubernetes-kafka-a880307fa1eb7ec785f12d08a12d2e27ff669454.tar.gz kubernetes-kafka-a880307fa1eb7ec785f12d08a12d2e27ff669454.tar.bz2 kubernetes-kafka-a880307fa1eb7ec785f12d08a12d2e27ff669454.zip |
Metrics intro belongs in ...
https://github.com/Yolean/kubernetes-kafka/pull/49
but maybe with tests instead of talk
-rw-r--r-- | README.md | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -44,14 +44,3 @@ You might want to verify in logs that Kafka found its own DNS name(s) correctly. kubectl -n kafka logs kafka-0 | grep "Registered broker" # INFO Registered broker 0 at path /brokers/ids/0 with addresses: PLAINTEXT -> EndPoint(kafka-0.broker.kafka.svc.cluster.local,9092,PLAINTEXT) ``` - -## 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' -kubectl logs -c metrics zoo-0 -kubectl exec -c zookeeper zoo-0 -- /bin/sh -c 'apk add --no-cache curl && curl http://localhost:5556/metrics' -``` -Metrics containers can't be used for the curl because they're too short on memory. |