[Strimzi] Strimzi with Prometheus

Paolo Patierno ppatiern at redhat.com
Mon Aug 5 08:03:21 UTC 2019


Hi Debdeep,
can you provide the Prometheus log?
In the prometheus.yaml file, the ClusterRoleBinding resource provides the
binding between the promethes-server service account and the cluster role
but specifing "myproject" as namespace. Is you Kafka cluster running in the
myproject namespace? Is the same for the Prometheus server you installed
through the Prometheus operator?

Thanks,
Paolo.

On Mon, Jul 29, 2019 at 5:36 PM Das, Debdeep <debdeep.das at in.unisys.com>
wrote:

> Hello,
>
> I have a Kubernetes environment with Strimzi and Kafka deployed. I am able
> to produce and consume successfully. I want to use Prometheus and Grafana
> to report metrics. The environment already has Prometheus Operator and
> Grafana installed, but in a different namespace than where I installed the
> Strimzi + Kafka.
>
> I used the instructions here https://strimzi.io/docs/latest/#prometheus
> to add the rules.  I used the following instructions under the namespace
> where Strimzi-Kafka is installed, but I don’t see the Rules under
> Prometheus. The metrics are already added in the YAML to deploy the
> Kafka(+zookeper)
>
>
>
> kubectl apply -f strimzi-service-monitor.yaml
>
> kubectl apply -f prometheus-rules.yaml
>
> kubectl apply -f prometheus.yaml
>
>  Can you please help what needs to be done to get the rules. I guess
> because the rules are not getting to Prometheus, the Grafana is not
> reporting anything on the Dashboard.
>
>
>
> Regards
>
> Debdeep
>
>
>
> *Debdeep Das* | Lead Engineer | Communication Products - InTC
>
> Unisys | +91 9980101186 | debdeep.das at in.unisys.com
>
>
>
> [image: unisys_logo] <http://www.unisys.com/>
>
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is for use only by the intended recipient. If you received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all devices.
>
> [image: Grey_LI] <http://www.linkedin.com/company/unisys>  [image:
> Grey_TW] <http://twitter.com/unisyscorp> [image: Grey_YT]
> <http://www.youtube.com/theunisyschannel>[image: Grey_FB]
> <http://www.facebook.com/unisyscorp>[image: Grey_Vimeo]
> <https://vimeo.com/unisys>[image: Grey_UB] <http://blogs.unisys.com/>
>
>
> _______________________________________________
> Strimzi mailing list
> Strimzi at redhat.com
> https://www.redhat.com/mailman/listinfo/strimzi
>


-- 

Paolo Patierno

Principal Software Engineer, Messaging & IoT

Red Hat <https://www.redhat.com/>
<https://red.ht/sig>
<https://redhat.com/summit>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/strimzi/attachments/20190805/5444e53e/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4550 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/strimzi/attachments/20190805/5444e53e/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 778 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/strimzi/attachments/20190805/5444e53e/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 776 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/strimzi/attachments/20190805/5444e53e/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 775 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/strimzi/attachments/20190805/5444e53e/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.jpg
Type: image/jpeg
Size: 755 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/strimzi/attachments/20190805/5444e53e/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.jpg
Type: image/jpeg
Size: 1737 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/strimzi/attachments/20190805/5444e53e/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.jpg
Type: image/jpeg
Size: 791 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/strimzi/attachments/20190805/5444e53e/attachment-0005.jpg>


More information about the Strimzi mailing list