Yolean / kubernetes-kafka

Kafka cluster as Kubernetes StatefulSet, plain manifests and config
Apache License 2.0
1.84k stars 733 forks source link

Add kafka for monitoring in prometheous-operator #278

Open abhi-dwivedi opened 5 years ago

abhi-dwivedi commented 5 years ago

Hi Team

I have kafka-exporter pod running and i have jmx container running on the same pod where kafka container is running .

No i have to capture the matrix in promethous-operator which is running on different name sapce in kubernets custer. Could you please let me know how can i do that ?

Regards Abhinav

abhi-dwivedi commented 5 years ago

any update

solsson commented 5 years ago

IMO that's a generic Kubernetes / Prometheus Operator question. But the example ServiceMonitor https://github.com/Yolean/kubernetes-kafka/blob/v6.0.1/variants/prometheus-operator-example/k8s-kafka-servicemonitor.yaml is created in namespace kafka, with the operator in monitoring.

abhi-dwivedi commented 5 years ago

Hi

Thanks for you info actully i am using kafka-exporter to see the kafka matrix and that was installed in different name space.

Could you please let me know how can i monitor that in PO with grafana.

abhi-dwivedi commented 5 years ago

Hi Any update

solsson commented 5 years ago

Please describe your problem again and how you used this repo and what it is you suspect needs improvement.

abhi-dwivedi commented 5 years ago

HI

I cant be able to see all metrics which i wanted to see like jmx/jvm information in dashboard broker info.

i am jusing JMX at 5556 and kafka exporter at 9038