Question about : plugins/metrics-reporter-prometheus/metrics

69 views
Skip to first unread message

Guy Levkowitz

unread,
May 12, 2025, 9:30:53 AM5/12/25
to Repo and Gerrit Discussion
Hey

We have Enable  the plugins/metrics-reporter-prometheus/metrics

Looking for one of the base mertics :
proc/uptime
: Uptime of the Gerrit process.
it show the wrong data
I just restart our service :
./gerrit.sh restart
and looking at the proc/uptime value :

# HELP proc_uptime Generated from Dropwizard metric import (metric=proc/uptime, type=com.google.gerrit.metrics.dropwizard.CallbackMetricImpl0$$Lambda$317/0x00007f841848be58) # TYPE proc_uptime gauge proc_uptime 38254.0 checking over: https://chatgpt.com/
the value of : proc_uptime 38254.0 it says : proc_uptime 38254.0 → 10 hours, 37 minutes, 34 seconds 

what Am i missing ?
 

Matthias Sohn

unread,
May 12, 2025, 9:56:19 AM5/12/25
to Guy Levkowitz, Repo and Gerrit Discussion
 
 

--
--
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 visit https://groups.google.com/d/msgid/repo-discuss/df570a0a-c6f8-41b8-81d6-33c9b3f50893n%40googlegroups.com.

Guy Levkowitz

unread,
May 13, 2025, 7:02:43 AM5/13/25
to Repo and Gerrit Discussion
thanks for the quick response

Is there any list of suggested metrics that are Best practices to check and monitor? 
like jave heap memory? load on CPU, high load on Gerrit process that you can recommend? 


BR

Guy


 

ב-יום שני, 12 במאי 2025 בשעה 16:56:19 UTC+3, Matthias Sohn כתב/ה:

Matthias Sohn

unread,
May 13, 2025, 7:16:17 AM5/13/25
to Guy Levkowitz, Repo and Gerrit Discussion
On Tue, May 13, 2025 at 1:02 PM Guy Levkowitz <sil...@gmail.com> wrote:
thanks for the quick response

Is there any list of suggested metrics that are Best practices to check and monitor? 
like jave heap memory? load on CPU, high load on Gerrit process that you can recommend? 

Start from the process and queue dashboards provided in 
This monitoring setup has more dashboards providing additional details.
 
Reply all
Reply to author
Forward
0 new messages