{"repo":"raffis/renovate-metrics","free":true,"listed":false,"github":"https://github.com/raffis/renovate-metrics","clone":"git clone https://github.com/raffis/renovate-metrics.git","description":"Renovate prometheus metrics exporter","language":"Go","stars":28,"topics":["prometheus","renovate","prometheus-exporter","metrics","renovate-metrics"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"Renovate prometheus metrics Ever wanted to get metrics from renovate? This is now possible with this tool. It extracts the necessary data from the structured renovate logs and transforms the information into prometheus metrics. This is possible if renovate runs in self-hosted environments. (If you are able to get the structured logs from other deployments it will also work.) Requirements renovate-metrics requires a prometheus-pushgateway. Metrics Installed dependency \\ renovate dependency labels: \"repository\", \"manager\", \"packageFile\", \"depName\", \"currentVersion\", \"warning\", \"baseBranch\" Available update of an installed dependency \\ renovate dependency update labels: \"repository\", \"manager\", \"packageFile\", \"depName\", \"currentVersion\", \"updateType\", \"newVersion\", \"vulnerabilityFix\", \"releaseTimestamp\", \"baseBranch\", \"pending\" Timestamp of the last successful execution \\ renovate last successful timestamp labels: \"repository\" Usage If renovate is executed via the official image (which it usually is in self-hosted environments) the structured output can be piped to renovate-metrics which transforms the output into prometheus compatible metrics and pushes them to a prometheus push gateway. Important renovate needs to be started with LOG LEVEL=debug as well as LOG FORMAT=json otherwise renovate-metrics is unable to get all information required. Example execution (It also goes through a tee pipe to get the renovate output to stderr as well): Grafana dashboard This repository comes ","default_branch":null,"files":null,"tree":[],"storefront":"/r/raffis","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/raffis/renovate-metrics/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}