{"repo":"cnieg/gitlab-tokens-exporter","free":true,"listed":false,"github":"https://github.com/cnieg/gitlab-tokens-exporter","clone":"git clone https://github.com/cnieg/gitlab-tokens-exporter.git","description":"Exports the status of gitlab tokens as Prometheus metrics","language":"Rust","stars":21,"topics":["gitlab","prometheus","rust","rust-lang"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"Gitlab tokens prometheus exporter Exports the number of days before GitLab tokens expire as Prometheus metrics. Configuration The following environment variables are mandatory (locally you can use a .env file): Optional environment variables with defaults values: Optional environment variables not set by default: Getting Started Run the following commands : if you have cargo already installed: if you want to build a OCI image with docker: Known limitations To get the users tokens, the token used to connect to gitlab must have is admin When launching the exporter, it will first get infos on all the gitlab tokens (unless OWNED ENTITIES ONLY is set to yes ), so it can take some time depending on the number of projects/groups/users to scan. The exporter returns 204 No Content until the first scan is done.","default_branch":null,"files":null,"tree":[],"storefront":"/r/cnieg","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cnieg/gitlab-tokens-exporter/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."}