Only see three metrics from the github exporter 1. 1. 0 i.e. github_rate_limit, github_rate_remaining, github_rate_reset
Hello,
I am trying to fetch the details for my GitHub repo and for this I have configured github_exporter_1.1.0 with Prometheus to fetch the details and put it on Grafana.
- Used the version
github_exporter_1.1.0 - Here is my
config.ymlfile forgithub_exporter_1.1.0
github: token: <github_personal_access_token> organizations: - name: <org_name> repositories: - name: <org_name>/<repo_name_1> - name: <org_name>/<repo_name_2> - name: <org_name>/<repo_name_3> - name: <org_name>/<repo_name_4> - name: <org_name>/<repo_name_5> - name: <org_name>/<repo_name_6> - name: <org_name>/<repo_name_7> - name: <org_name>/<repo_name_8>
This is running fine, but the metrics is only showing
# HELP github_rate_limit Number of API queries allowed in a 60 minute window
# TYPE github_rate_limit gauge
github_rate_limit 60
# HELP github_rate_remaining Number of API queries remaining in the current window
# TYPE github_rate_remaining gauge
github_rate_remaining 60
# HELP github_rate_reset The time at which the current rate limit window resets in UTC epoch seconds
# TYPE github_rate_reset gauge
github_rate_reset 1.716876951e+09
Metrics :
Prometheus :
Metrics Explorer :
Note: My repository are private
Hi @JyotiPMallick,
The tool doesn't support configuration via a yaml config file. Could you try using the relevant environment variables mentioned in the README and see if you still face issues?