Add github exporter

This commit is contained in:
2019-05-07 16:13:41 +10:00
parent 07535b13e7
commit 38ae11afc3
2 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ scrape_configs:
static_configs:
- targets: ["pushgateway:9091"]
- job_name: "dockerhub"
scrape_interval: 60s
scrape_interval: 300s
honor_labels: true
static_configs:
- targets: ["home.toozhao.com:9170"]
+11
View File
@@ -0,0 +1,11 @@
version: "3.5"
services:
github-exporter:
tty: true
stdin_open: true
ports:
- 9171:9171
image: infinityworks/github-exporter:latest
environment:
- REPOS=wahyd4/work-in-australia, wahyd4/aria2-ariang-docker, wahyd4/aria2-ariang-x-docker-compose
- GITHUB_TOKEN=6bc9a1aa2d8a13da59127d4184167acc84e7bbfa