All Projects → caarlos0 → github_releases_exporter

caarlos0 / github_releases_exporter

Licence: MIT license
Exports GitHub release metrics to the Prometheus format

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to github releases exporter

version exporter
Monitor the versions of the things you run and care about
Stars: ✭ 16 (-23.81%)
Mutual labels:  github-api, prometheus-exporter
Jcabi Github
Object Oriented Wrapper of Github API
Stars: ✭ 252 (+1100%)
Mutual labels:  github-api
Awesome Github
A curated list of awesome GitHub guides, articles, sites, tools, projects and resources. 收集这个列表,只是为了更好地使用GitHub,欢迎提交pr和issue。
Stars: ✭ 1,962 (+9242.86%)
Mutual labels:  github-api
Curiosity
Find Amazing Github Projects ⚡️
Stars: ✭ 216 (+928.57%)
Mutual labels:  github-api
Beefun Pro
Github client for iOS in Swift.
Stars: ✭ 172 (+719.05%)
Mutual labels:  github-api
Metrics
📊 An infographics generator with 30+ plugins and 200+ options to display stats about your GitHub account and render them as SVG, Markdown, PDF or JSON!
Stars: ✭ 4,621 (+21904.76%)
Mutual labels:  github-api
Onestlatech.github.io
✊ Manifeste des travailleuses et travailleurs du numérique pour une autre réforme des retraites
Stars: ✭ 157 (+647.62%)
Mutual labels:  github-api
mongodb-query-exporter
Prometheus MongoDB aggregation query exporter
Stars: ✭ 74 (+252.38%)
Mutual labels:  prometheus-exporter
Builderbook
Open source web application to learn JS stack: React, Material-UI, Next.js, Node.js, Express.js, Mongoose, MongoDB database.
Stars: ✭ 3,015 (+14257.14%)
Mutual labels:  github-api
Orgmanager
Invite System for GitHub Organizations
Stars: ✭ 196 (+833.33%)
Mutual labels:  github-api
Ghapi
A delightful and complete interface to GitHub's amazing API
Stars: ✭ 187 (+790.48%)
Mutual labels:  github-api
Githubdb
A Lightweight Cloud based JSON Database with a MongoDB like API for Node.
Stars: ✭ 174 (+728.57%)
Mutual labels:  github-api
Tentacle
A Swift framework for the GitHub API
Stars: ✭ 244 (+1061.9%)
Mutual labels:  github-api
Auto Green
自动保持 GitHub 提交状态常绿 a commit every day, keep your girlfriend far away.
Stars: ✭ 164 (+680.95%)
Mutual labels:  github-api
pouchrobot
An AI robot to collaborate in any open source project on GitHub
Stars: ✭ 39 (+85.71%)
Mutual labels:  github-api
Codehub
A UWP GitHub Client
Stars: ✭ 162 (+671.43%)
Mutual labels:  github-api
Ansibullbot
Bot for management of Ansible issues and PRs on GitHub.
Stars: ✭ 183 (+771.43%)
Mutual labels:  github-api
Buildapks
Really quickly build APKs on handheld device (smartphone or tablet) in Amazon, Android, Chromebook and Windows📲 See https://buildapks.github.io/docsBuildAPKs/setup to start building APKs.
Stars: ✭ 218 (+938.1%)
Mutual labels:  github-api
admissions
Admissions is the gateway to Elixir School's private Slack
Stars: ✭ 18 (-14.29%)
Mutual labels:  github-api
ansible-snmp-exporter
Provision SNMP metrics exporter for prometheus monitoring
Stars: ✭ 18 (-14.29%)
Mutual labels:  prometheus-exporter

github_releases_exporter

Exports GitHub release metrics to the Prometheus format.

Release Software License Build Status Coverage Status Go Doc Go Report Card SayThanks.io Powered By: GoReleaser

Running

./github_releases_exporter

Or with docker:

docker run -p 127.0.0.1:9222:9222 caarlos0/github_releases_exporter

Configuration

You can set it up on docker compose like:

version: '3'
services:
  releases:
    image: caarlos0/github_releases_exporter:v1
    restart: always
    volumes:
    - /path/to/releases.yml:/etc/releases.yml:ro
    command:
    - '--config.file=/etc/releases.yml'
    ports:
    - 127.0.0.1:9222:9222
    env_file:
    - .env

The releases.yml file should look like this:

repositories:
- goreleaser/goreleaser
- caarlos0/github_releases_exporter

On the prometheus settings, add the releases job like this:

- job_name: 'releases'
  static_configs:
  - targets: ['releases:9222']

And you are done!

Configuration Reload

You can reload the configuration at any time by sending a SIGHUP to the process.

Grafana Dashboard

I have a dashvboard like this:

You can get it from the grafana website or just import the dashboard 6328.

Building locally

Install the needed tooling and libs:

make setup

Run with:

go run main.go

Run tests with:

make test
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].