Caution
Grafana Alloy is the new name for our distribution of the OTel collector. Grafana Agent has been deprecated and is in Long-Term Support (LTS) through October 31, 2025. Grafana Agent will reach an End-of-Life (EOL) on November 1, 2025. Read more about why we recommend migrating to Grafana Alloy.
github_exporter_config
The github_exporter_config
block configures the github_exporter
integration,
which is an embedded version of
github_exporter
. This allows for the collection of metrics from the GitHub api.
We strongly recommend that you configure a separate authentication token for the Agent, and give it only the strictly mandatory
security privileges necessary for monitoring your repositories, as per the official documentation.
We also recommend that you use api_token_file
parameter, to avoid setting the authentication token directly on the Agent config file.
Full reference of options: