dd-github-copilot-onboarding
Datadog GitHub Copilot integration
Connect GitHub Copilot to Datadog in two user-driven moves: the consent (the
OAuth grant) on GitHub's Authorize screen for the Datadog Copilot app, then Datadog writing
the account when GitHub redirects back. Once connected, Copilot usage and
license metrics (github_copilot.usage.*) start flowing.
The flow starts with a scope check (Phase 1): if the Datadog org already has
GitHub Copilot accounts connected, the skill reports exactly what is configured
and asks whether to stop or add another. A connection is a GitHub user's
grant — Datadog collects every GitHub org that user owns — so the skill
confirms the signed-in gh user, lists the GitHub orgs it will collect, checks
each one's usage metrics policy, and names the account after the GitHub login.
Copilot costs (Cloud Cost Management) are out of scope: hand off to
dd-github-costs-onboarding. Code in stack traces and pull request comments
belong to dd-github-onboarding.