{"repo":"max-wittig/gitlab-languages","free":true,"listed":false,"github":"https://github.com/max-wittig/gitlab-languages","clone":"git clone https://github.com/max-wittig/gitlab-languages.git","description":"Utility to generate a Prometheus exporter text file for your GitLab repository using the GitLab Language API","language":"Python","stars":14,"topics":["python","gitlab","language","api","python-gitlab","prometheus","grafana"],"license":"MIT","category":"analytics","readme_excerpt":"gitlab-languages Utility to generate a Prometheus data source text file for your GitLab instance using the GitLab Language API installation from PyPI 1. Install from PyPI as CLI 1. Run the program installation from source 1. Install python dependencies 1. Set the required environment variables 1. Run the tool usage additional arguments You can specify additional arguments, that will be directly supplied to the python-gitlab library or to the GitLab API endpoint. Example: More info about the available additional args can be found here: http://python-gitlab.readthedocs.io/en/stable/ https://docs.gitlab.com/ee/api/ example output The output will look something like this: Run the script via GitLab CI with schedules and export the metrics.txt file as GitLab pages. Then you can add it to your Prometheus instance as scrape source.","default_branch":null,"files":null,"tree":[],"storefront":"/r/max-wittig","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/max-wittig/gitlab-languages/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."}