This plugin gathers data from GitHub to display information to the user in Grafana. We can help tech leaders answer such questions as:
Here are some examples metrics using GitHub data:
The connection section of the configuration screen requires the following key fields to connect to the GitHub API.
READONLY]https:// or http://)https://api.github.com//GitHub enterprise). You can accelerate the process by configuring multiple personal access tokens.Click Save Connection to update connection settings.
Manage additional settings and options for the GitHub Datasource Provider. Currently there is only one optional setting, Proxy URL. If you are behind a corporate firewall or VPN you may need to utilize a proxy server.
Optional] Enter a valid proxy server address on your Network, e.g. http://your-proxy-server.com:1080Click Save Settings to update additional settings.
Define regex pattern in .env
To collect data, select Advanced Mode on the Create Pipeline Run page and paste a JSON config like the following:
[ [ { "plugin": "github", "options": { "repo": "lake", "owner": "merico-dev" } } ] ]
You can also trigger data collection by making a POST request to /pipelines.
curl --location --request POST 'localhost:8080/pipelines' \
--header 'Content-Type: application/json' \
--data-raw '
{
"name": "github 20211126",
"tasks": [[{
"plugin": "github",
"options": {
"repo": "lake",
"owner": "merico-dev"
}
}]]
}
'