Overview
Datadog’s GitHub Costs integration provides a comprehensive view of your GitHub expenses—from Actions to Storage to Copilot—across your organization. With this integration, you can view GitHub costs alongside other costs in Cloud Cost Management, filter cost data by repository, and optimize cloud spend across your entire enterprise.
Setup
To read enterprise billing information from GitHub, Datadog requires a personal access token (classic) with the manage_billing:enterprise
and repo
scopes, as outlined in the GitHub documentation. You also need to provide your enterprise name, which can be found on the enterprise settings page.
Installation
- Navigate to the Datadog Github Costs tile.
- Click Add New.
- Enter an account name, your personal access token, and your enterprise name (in
enterprise-name
format), as well as any appropriate tags. - Click the checkmark button to save this account.
Validation
After the integration is set up, data typically appears in Cloud Cost Management under the provider name “GitHub Costs” within approximately 24 hours. For a list of collected data, see SaaS Cost Integrations.
Data Collected
Cloud Cost Management
The GitHub cost integration estimates costs based on list prices and usage data, and includes discount values when available. It does not account for any negotiated rates.
Metrics
GitHub Costs does not include any metrics.
Log Collection
GitHub Costs does not include any logs.
Events
GitHub Costs does not include any events.
Service Checks
GitHub Costs does not include any service checks.
Troubleshooting
Need help? Contact Datadog support.