Skip to content

Commit a880307

Browse files
committed
Metrics intro belongs in ...
#49 but maybe with tests instead of talk
1 parent c4f3c41 commit a880307

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,3 @@ You might want to verify in logs that Kafka found its own DNS name(s) correctly.
4444
kubectl -n kafka logs kafka-0 | grep "Registered broker"
4545
# INFO Registered broker 0 at path /brokers/ids/0 with addresses: PLAINTEXT -> EndPoint(kafka-0.broker.kafka.svc.cluster.local,9092,PLAINTEXT)
4646
```
47-
48-
## Metrics, Prometheus style
49-
50-
Is the metrics system up and running?
51-
```
52-
kubectl logs -c metrics kafka-0
53-
kubectl exec -c broker kafka-0 -- /bin/sh -c 'apk add --no-cache curl && curl http://localhost:5556/metrics'
54-
kubectl logs -c metrics zoo-0
55-
kubectl exec -c zookeeper zoo-0 -- /bin/sh -c 'apk add --no-cache curl && curl http://localhost:5556/metrics'
56-
```
57-
Metrics containers can't be used for the curl because they're too short on memory.

0 commit comments

Comments
 (0)