Which reporters plugin is better for Gerrit metrics

195 views
Skip to first unread message

bhanu prakash

unread,
Sep 20, 2023, 7:15:14 AM9/20/23
to Repo and Gerrit Discussion
Hello Team,

I have a question about the plugin, which gives us a better insight into Gerrit metrics.
We are currently using the metrics-reporter-prometheus plugin on our Gerrit instances for monitoring and planning to use the JMX plugin instead of the metrics-reporter-prometheus.

Are there any more metrics we will get using the metrics-reporter-prometheus plugin than JMX?

As per the list at the URL below, which plugin gives us a better insight into Gerrit metrics?
https://gerrit-review.googlesource.com/admin/repos/q/filter:metrics-reporter 

Please suggest.

BR,
Bhanu V




Sven Selberg

unread,
Sep 20, 2023, 7:30:28 AM9/20/23
to Repo and Gerrit Discussion
They plugin in to the same metric-pipeline in Gerrit, so by default there should be no difference.
I think metrics-reporter-prometheus and metrics-reporter-jmx are  very much comparable with regards to which metrics they produce.

If you are setting up a monitoring stack for Gerrit you might want to look at the gerrit-monitoring project? It might provide you with what you need.

bhanu prakash

unread,
Sep 20, 2023, 3:40:57 PM9/20/23
to Sven Selberg, Repo and Gerrit Discussion
On Wed, 20 Sept 2023 at 13:30, Sven Selberg <sven.s...@axis.com> wrote:


On Wednesday, September 20, 2023 at 1:15:14 PM UTC+2 bhanu prakash wrote:
Hello Team,

I have a question about the plugin, which gives us a better insight into Gerrit metrics.
We are currently using the metrics-reporter-prometheus plugin on our Gerrit instances for monitoring and planning to use the JMX plugin instead of the metrics-reporter-prometheus.

Are there any more metrics we will get using the metrics-reporter-prometheus plugin than JMX?

As per the list at the URL below, which plugin gives us a better insight into Gerrit metrics?
https://gerrit-review.googlesource.com/admin/repos/q/filter:metrics-reporter 

They plugin in to the same metric-pipeline in Gerrit, so by default there should be no difference.
I think metrics-reporter-prometheus and metrics-reporter-jmx are  very much comparable with regards to which metrics they produce.
Hi Sven, Thank you so much for this information.

If you are setting up a monitoring stack for Gerrit you might want to look at the gerrit-monitoring project? It might provide you with what you need.
Sure, We will check this and get back to you if we have any further questions on this topic. Thanks again!

Please suggest.

BR,
Bhanu V




--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to a topic in the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/repo-discuss/EXml-dfY56I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/b70185e5-7fca-4083-8c32-3cbb86f04c7dn%40googlegroups.com.

bhanu prakash

unread,
Sep 21, 2023, 4:03:48 AM9/21/23
to Sven Selberg, Repo and Gerrit Discussion
On Wed, 20 Sept 2023 at 21:40, bhanu prakash <vbhanupr...@gmail.com> wrote:


On Wed, 20 Sept 2023 at 13:30, Sven Selberg <sven.s...@axis.com> wrote:


On Wednesday, September 20, 2023 at 1:15:14 PM UTC+2 bhanu prakash wrote:
Hello Team,

I have a question about the plugin, which gives us a better insight into Gerrit metrics.
We are currently using the metrics-reporter-prometheus plugin on our Gerrit instances for monitoring and planning to use the JMX plugin instead of the metrics-reporter-prometheus.

Are there any more metrics we will get using the metrics-reporter-prometheus plugin than JMX?

As per the list at the URL below, which plugin gives us a better insight into Gerrit metrics?
https://gerrit-review.googlesource.com/admin/repos/q/filter:metrics-reporter 

They plugin in to the same metric-pipeline in Gerrit, so by default there should be no difference.
I think metrics-reporter-prometheus and metrics-reporter-jmx are  very much comparable with regards to which metrics they produce.
Hi Sven, I am curious to know why we need two different plugins if they plugin to the same Metric-plugin and provide the same metrics. 

Matthias Sohn

unread,
Sep 21, 2023, 4:21:27 AM9/21/23
to bhanu prakash, Sven Selberg, Repo and Gerrit Discussion
On Thu, Sep 21, 2023 at 10:03 AM bhanu prakash <vbhanupr...@gmail.com> wrote:


On Wed, 20 Sept 2023 at 21:40, bhanu prakash <vbhanupr...@gmail.com> wrote:


On Wed, 20 Sept 2023 at 13:30, Sven Selberg <sven.s...@axis.com> wrote:


On Wednesday, September 20, 2023 at 1:15:14 PM UTC+2 bhanu prakash wrote:
Hello Team,

I have a question about the plugin, which gives us a better insight into Gerrit metrics.
We are currently using the metrics-reporter-prometheus plugin on our Gerrit instances for monitoring and planning to use the JMX plugin instead of the metrics-reporter-prometheus.

Are there any more metrics we will get using the metrics-reporter-prometheus plugin than JMX?

As per the list at the URL below, which plugin gives us a better insight into Gerrit metrics?
https://gerrit-review.googlesource.com/admin/repos/q/filter:metrics-reporter 

They plugin in to the same metric-pipeline in Gerrit, so by default there should be no difference.
I think metrics-reporter-prometheus and metrics-reporter-jmx are  very much comparable with regards to which metrics they produce.
Hi Sven, I am curious to know why we need two different plugins if they plugin to the same Metric-plugin and provide the same metrics. 

they report the same metrics for different monitoring systems
 
 
Hi Sven, Thank you so much for this information. 


If you are setting up a monitoring stack for Gerrit you might want to look at the gerrit-monitoring project? It might provide you with what you need.
Sure, We will check this and get back to you if we have any further questions on this topic. Thanks again!

Please suggest.

BR,
Bhanu V




--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to a topic in the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/repo-discuss/EXml-dfY56I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/b70185e5-7fca-4083-8c32-3cbb86f04c7dn%40googlegroups.com.

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/CAFd-7xFAnPbe3akWKKQNq5ea%2BmS55vXh3LHqM9Ww_jodYTDz%2Bg%40mail.gmail.com.

Sven Selberg

unread,
Sep 21, 2023, 5:08:55 AM9/21/23
to Repo and Gerrit Discussion
On Thursday, September 21, 2023 at 10:21:27 AM UTC+2 Matthias Sohn wrote:
On Thu, Sep 21, 2023 at 10:03 AM bhanu prakash <vbhanupr...@gmail.com> wrote:


On Wed, 20 Sept 2023 at 21:40, bhanu prakash <vbhanupr...@gmail.com> wrote:


On Wed, 20 Sept 2023 at 13:30, Sven Selberg <sven.s...@axis.com> wrote:


On Wednesday, September 20, 2023 at 1:15:14 PM UTC+2 bhanu prakash wrote:
Hello Team,

I have a question about the plugin, which gives us a better insight into Gerrit metrics.
We are currently using the metrics-reporter-prometheus plugin on our Gerrit instances for monitoring and planning to use the JMX plugin instead of the metrics-reporter-prometheus.

Are there any more metrics we will get using the metrics-reporter-prometheus plugin than JMX?

As per the list at the URL below, which plugin gives us a better insight into Gerrit metrics?
https://gerrit-review.googlesource.com/admin/repos/q/filter:metrics-reporter 

They plugin in to the same metric-pipeline in Gerrit, so by default there should be no difference.
I think metrics-reporter-prometheus and metrics-reporter-jmx are  very much comparable with regards to which metrics they produce.
Hi Sven, I am curious to know why we need two different plugins if they plugin to the same Metric-plugin and provide the same metrics. 

they report the same metrics for different monitoring systems
Simply put "metrics-reporter-.*" plugins are adapters between Gerrit's internal metric pipeline (dropwizard.metrics) and external monitoring systems/protocols.

bhanu prakash

unread,
Sep 21, 2023, 7:10:50 AM9/21/23
to Sven Selberg, Repo and Gerrit Discussion
On Thu, 21 Sept 2023 at 11:09, Sven Selberg <sven.s...@axis.com> wrote:
On Thursday, September 21, 2023 at 10:21:27 AM UTC+2 Matthias Sohn wrote:
On Thu, Sep 21, 2023 at 10:03 AM bhanu prakash <vbhanupr...@gmail.com> wrote:


On Wed, 20 Sept 2023 at 21:40, bhanu prakash <vbhanupr...@gmail.com> wrote:


On Wed, 20 Sept 2023 at 13:30, Sven Selberg <sven.s...@axis.com> wrote:


On Wednesday, September 20, 2023 at 1:15:14 PM UTC+2 bhanu prakash wrote:
Hello Team,

I have a question about the plugin, which gives us a better insight into Gerrit metrics.
We are currently using the metrics-reporter-prometheus plugin on our Gerrit instances for monitoring and planning to use the JMX plugin instead of the metrics-reporter-prometheus.

Are there any more metrics we will get using the metrics-reporter-prometheus plugin than JMX?

As per the list at the URL below, which plugin gives us a better insight into Gerrit metrics?
https://gerrit-review.googlesource.com/admin/repos/q/filter:metrics-reporter 

They plugin in to the same metric-pipeline in Gerrit, so by default there should be no difference.
I think metrics-reporter-prometheus and metrics-reporter-jmx are  very much comparable with regards to which metrics they produce.
Hi Sven, I am curious to know why we need two different plugins if they plugin to the same Metric-plugin and provide the same metrics. 

they report the same metrics for different monitoring systems
Simply put "metrics-reporter-.*" plugins are adapters between Gerrit's internal metric pipeline (dropwizard.metrics) and external monitoring systems/protocols.
Great! Thank you, Sven and Matthias, for the clarification.
Reply all
Reply to author
Forward
0 new messages