Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maveonair/gh-release-exporter
This program checks on GitHub if a newer version of a configured program exists and exposes the result as a Prometheus Metrics
https://github.com/maveonair/gh-release-exporter
github prometheus-exporter
Last synced: 27 days ago
JSON representation
This program checks on GitHub if a newer version of a configured program exists and exposes the result as a Prometheus Metrics
- Host: GitHub
- URL: https://github.com/maveonair/gh-release-exporter
- Owner: maveonair
- License: mit
- Created: 2022-08-08T08:48:58.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-16T08:32:55.000Z (9 months ago)
- Last Synced: 2024-03-16T09:45:10.968Z (9 months ago)
- Topics: github, prometheus-exporter
- Language: Go
- Homepage:
- Size: 57.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gh-release-exporter
This program checks on GitHub if a newer version of a configured program exists (see `config.example.toml`) and exposes the result as a Prometheus Metrics `gh_release_probe_success`.
## Endpoint
- Prometheus Metrics Endpoint: `:9054/metrics` (listening address can be changed through config file, see [Configuration](#configuration)
## Configuration
Create a configuration file like the following:
```toml
listening_addr = "0.0.0.0:9054"[releases]
[releases.redis]
last_known_version = "7.0.4"
github_repo = "redis/redis"[releases.strongswan]
last_known_version = "5.9.1"
github_repo = "strongswan/strongswan"
```## Run
```sh
$ gh-release-exporter -config config.toml
```