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
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,14 @@
1
1
# Prometheus GitHub Exporter
2
2
3
-
Exposes basic metrics for your repositories from the GitHub API, to a Prometheus compatible endpoint.
3
+
Exposes basic metrics for your repositories from the GitHub API, to a Prometheus compatible endpoint.
4
4
5
5
## Configuration
6
6
7
7
This exporter is setup to take input from environment variables:
8
8
*`BIND_PORT` The port you wish to run the container on, defaults to `9171`
9
-
*`GITHUB_TOKEN` If supplied, enables the user to supply a github authentication token that allows the API to be quried more often. Optional, but reccomended.
10
-
*`ORGS` If supplied, the exporter will enumerate all repositories for that orginisation.
9
+
*`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.
10
+
*`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.
11
+
*`ORGS` If supplied, the exporter will enumerate all repositories for that organization.
11
12
*`REPOS` If supplied, The images you wish to monitor, expected in the format "user/repo1, user/repo2". Can be across different Github users/orgs.
0 commit comments