From a880307fa1eb7ec785f12d08a12d2e27ff669454 Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Fri, 28 Jul 2017 09:48:29 +0200 Subject: Metrics intro belongs in ... https://github.com/Yolean/kubernetes-kafka/pull/49 but maybe with tests instead of talk --- README.md | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/README.md b/README.md index 547ddcd..56e270d 100644 --- a/README.md +++ b/README.md @@ -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. -- cgit v1.2.3