This plugin collects GitHub data through REST API and GraphQL API. It then computes and visualizes various DevOps metrics from the GitHub data, which helps tech leads, QA and DevOps engineers, and project managers to answer questions such as:
Check out the GitHub entities collected by this plugin.
Check out the data refresh policy of this plugin.
Metrics that can be calculated based on the data collected from GitHub:
You can trigger data collection by making a POST request to /pipelines
.
curl 'http://localhost:8080/pipelines' \ --header 'Content-Type: application/json' \ --data-raw ' { "name": "project1-BLUEPRINT", "blueprintId": 1, "plan": [ [ { "plugin": "github", "options": { "connectionId": 1, "scopeId": "384111310", "transformationRules":{ "deploymentPattern":"", "productionPattern":"", "issueComponent":"", "issuePriority":"(high|medium|low)$", "issueSeverity":"", "issueTypeBug":"(bug)$", "issueTypeIncident":"", "issueTypeRequirement":"(feature|feature-request)$", "prBodyClosePattern":"", "prComponent":"", "prType":"" } } } ] ] } '
or
curl 'http://localhost:8080/pipelines' \ --header 'Content-Type: application/json' \ --data-raw ' { "name": "project1-BLUEPRINT", "blueprintId": 1, "plan": [ [ { "plugin": "github", "options": { "connectionId": 1, "owner": "apache", "repo": "incubator-devlake", "transformationRules":{ "deploymentPattern":"", "productionPattern":"", "issueComponent":"", "issuePriority":"(high|medium|low)$", "issueSeverity":"", "issueTypeBug":"(bug)$", "issueTypeIncident":"", "issueTypeRequirement":"(feature|feature-request)$", "prBodyClosePattern":"", "prComponent":"", "prType":"" } } } ] ] } '