You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# :warning: This repository is moving to the [githubexporter](https://github.com/githubexporter) organisation at [githubexporter/github-exporter](https://github.com/githubexporter/github-exporter):warning:
2
+
3
+
Timeline of changes:
4
+
* 22/05/2023 - All current images are available in the new Docker Hub organisation at https://hub.docker.com/r/githubexporter/github-exporter
5
+
* 30/05/2023 - GitHub repository will be migrated to https://github.com/githubexporter/github-exporter
6
+
* 30/05/2023 - Any new images will be pushed to the `githubexporter` Docker Hub repository only
7
+
* 21/08/2023 - All existing images will be removed from the `infinityworks/github-exporter` Docker Hub repository.
8
+
* 30/08/2023 - The `infinityworks/github-exporter` Docker Hub repository will be deprecated
2
9
3
10
# Prometheus GitHub Exporter
4
11
@@ -11,7 +18,7 @@ This exporter is setup to take input from environment variables. All variables a
11
18
*`ORGS` If supplied, the exporter will enumerate all repositories for that organization. Expected in the format "org1, org2".
12
19
*`REPOS` If supplied, The repos you wish to monitor, expected in the format "user/repo1, user/repo2". Can be across different Github users/orgs.
13
20
*`USERS` If supplied, the exporter will enumerate all repositories for that users. Expected in
14
-
the format "user1, user2".
21
+
the format "user1, user2".
15
22
*`GITHUB_TOKEN` If supplied, enables the user to supply a github authentication token that allows the API to be queried more often. Optional, but recommended.
16
23
*`GITHUB_TOKEN_FILE` If supplied _instead of_`GITHUB_TOKEN`, enables the user to supply a path to a file containing a github authentication token that allows the API to be queried more often. Optional, but recommended.
17
24
*`GITHUB_APP` If true , authenticates ass GitHub app to the API.
@@ -29,7 +36,7 @@ the format "user1, user2".
29
36
30
37
Run manually from Docker Hub:
31
38
```
32
-
docker run -d --restart=always -p 9171:9171 -e REPOS="infinityworks/ranch-eye, infinityworks/prom-conf" infinityworks/github-exporter
39
+
docker run -d --restart=always -p 9171:9171 -e REPOS="infinityworks/ranch-eye, infinityworks/prom-conf" githubexporter/github-exporter
33
40
```
34
41
35
42
Run manually from Docker Hub (With GitHub App):
@@ -52,7 +59,7 @@ github-exporter:
52
59
- 9171
53
60
ports:
54
61
- 9171:9171
55
-
image: infinityworks/github-exporter:latest
62
+
image: githubexporter/github-exporter:latest
56
63
environment:
57
64
- REPOS=<REPOS you want to monitor>
58
65
- GITHUB_TOKEN=<your github api token>
@@ -89,7 +96,7 @@ An example of these metrics can be found in the `METRICS.md` markdown file in th
89
96
90
97
## Tests
91
98
92
-
There is a set of blackbox behavioural tests which validate metrics endpoint in the `test` directory.
99
+
There is a set of blackbox behavioural tests which validate metrics endpoint in the `test` directory.
93
100
Run as follows
94
101
95
102
```bash
@@ -99,7 +106,7 @@ make test
99
106
## Version Release Procedure
100
107
Once a new pull request has been merged into `master` the following script should be executed locally. The script will trigger a new image build in docker hub with the new image having the tag `release-<version>`. The version is taken from the `VERSION` file and must follow semantic versioning. For more information see [semver.org](https://semver.org/).
101
108
102
-
Prior to running the following command ensure the number has been increased to desired version in `VERSION`:
109
+
Prior to running the following command ensure the number has been increased to desired version in `VERSION`:
0 commit comments