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
Copy file name to clipboardExpand all lines: README.md
+33-1Lines changed: 33 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,11 @@ This exporter is setup to take input from environment variables. All variables a
21
21
the format "user1, user2".
22
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.
23
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.
24
+
*`GITHUB_APP` If true , authenticates ass GitHub app to the API.
25
+
*`GITHUB_APP_ID` The APP ID of the GitHub App.
26
+
*`GITHUB_APP_INSTALLATION_ID` The INSTALLATION ID of the GitHub App.
27
+
*`GITHUB_APP_KEY_PATH` The path to the github private key.
28
+
*`GITHUB_RATE_LIMIT` The RATE LIMIT that suppose to be for github app (default is 15,000). If the exporter sees the value is below this variable it generating new token for the app.
24
29
*`API_URL` Github API URL, shouldn't need to change this. Defaults to `https://api.github.com`
25
30
*`LISTEN_PORT` The port you wish to run the container on, the Dockerfile defaults this to `9171`
26
31
*`METRICS_PATH` the metrics URL path you wish to use, defaults to `/metrics`
@@ -34,10 +39,14 @@ Run manually from Docker Hub:
34
39
docker run -d --restart=always -p 9171:9171 -e REPOS="infinityworks/ranch-eye, infinityworks/prom-conf" githubexporter/github-exporter
0 commit comments