GitHub

Supported OS Linux Windows Mac OS

marketplace
Integration version1.1.2

Overview

This integration collects and reports GitHub metrics to Datadog through different endpoints in the GitHub API. The following varieties of metrics are submitted:

  • Organization/Enterprise Stats
  • Repository Metrics
  • Self-hosted and Installed Runners
  • GitHub Workflow Monitoring

Dashboards

This integration provides an out-of-the-box dashboard called RapDev GitHub Dashboard. This dashboard populates as data is submitted to Datadog over time and includes environment variables to further narrow down a search on a specific repo or author.

Data Collected

Metrics

rapdev.github.repos.stargazers
(gauge)
Number of stargazers in the selected repo
rapdev.github.repos.watchers
(gauge)
Number of watchers in the selected repo
rapdev.github.repos.forks
(gauge)
Number of forks on the selected repo
rapdev.github.repos.issues
(gauge)
Number of active open issues on the selected repo
rapdev.github.repos.size
(gauge)
Size of the current selected repo
rapdev.github.repos.count.total
(gauge)
Total amount of repos in an organization/enterprise
rapdev.github.repos.pull_reqs
(gauge)
Total pull requests on a selected repo
rapdev.github.repos.commits
(gauge)
Total commits on a selected repo
rapdev.github.repos.commits.total
(gauge)
Total commits on a selected repo formatted and tagged for a pie graph
rapdev.github.users.count
(gauge)
Total count of users in an organization/enterprise
rapdev.github.runners.self_hosted_runners_total
(gauge)
Total count of self hosted runners in an organization/enterprise
rapdev.github.runner.count
(gauge)
Total installed runners on an organization/enterprise
rapdev.github.runners.min_used
(gauge)
Total minutes of runner uptime on an organization/enterprise
rapdev.github.runners.paid_mins_used
(gauge)
Total PAID minutes (first 3000 free) on an organization/enterprise
rapdev.github.repos.cachesize
(gauge)
The size of the cache in a selected repo
rapdev.github.repos.cachecount
(gauge)
The cache count in a selected repo
rapdev.github.repos.workflows
(gauge)
Amount of workflows counted by success or failure

Service Checks

rapdev.github.can_connect

Returns ‘OK’ if the agent can connect to the GitHub API or ‘CRITICAL’ if it cannot.

Statuses: ok, critical

rapdev.github.self_hosted_runner.is_running

Returns ‘OK’ if all runners are fine, ‘UNKNOWN’ if there are no runners, and ‘CRITICAL if a runner is not working.

Statuses: ok, critical, unknown

Support

For support or feature requests, contact RapDev.io through the following channels:


This application is made available through the Marketplace and is supported by a Datadog Technology Partner. Click Here to purchase this application.