Generate "business" statistics (in logs) #23105
-
How are you running Renovate?Self-hosted If you're self-hosting Renovate, tell us what version of Renovate you run.35.40.0 If you're self-hosting Renovate, select which platform you are using.GitLab self-hosted Was this something which used to work for you, and then stopped?I never saw this working Wanted end result.Introducing Renovate in an organization, I started with a few testing project, added some more (still defined explicitly) and, in the end, I am using an autodiscovery feature, just adding the Renovate user to another groups in GitLab. It works pretty well, however, I am also a person who like to see a progress of own actions. It could be useful to have Renovate(-cli) to produce some "business" stats expressing "metrics" such as number of: processed projects (in general, in onboarding, effectively active), ignored projects, new generated MRs, updated MRs, avg/max execution time per project, ... They could be gathered (somehow) from logs and collected (in external way - not in the scope if this feature idea) to be able to generate some incremental analysis (e.g. charts in Grafana). What you tried so far.I have seen that Renovate supports exporting traces in OTel format (which is great!), however, I'm not sure, if it would be possible to obtain the "metrics", I mentioned (rather to trace where processing takes the most). Exposing the metrics endpoint (mend/renovate-ce-ee#221) could be useful for the on-prem version (to some degree), but it is somehow problematic if the cli is used from a CI server. Currently, I gather some stats by parsing logs with Relevant debug logsNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 17 replies
-
|
Your are probably interested in #17661 |
Beta Was this translation helpful? Give feedback.
-
|
By the way, @onigoetz do you want to open a PR to add your diagram and explanations into the Renovate swissquote article? Also, the metrics under the new dashboard image don't match the image anymore. |
Beta Was this translation helpful? Give feedback.
Here's your issue! 😉