Technology
GitHub
Connect GitHub to Agent0 for AI-assisted code investigations - reading repositories, finding root causes, and opening pull requests - and export CI/CD traces from GitHub Actions to Dash0.
Overview
GitHub
GitHub connects to Dash0 as an Agent0 connector, giving Dash0's AI assistant access to your repositories during investigations. When you are debugging a production problem in Dash0, Agent0 can look at the code that produced the telemetry, reason about it, and act on it.
This integration connects GitHub to Agent0 over a first-class OAuth connection — GitHub is not an MCP server. If you want to connect external Model Context Protocol servers to Agent0, see the MCP Tools for Agent0 integration instead.
What Agent0 can do
- Read repository code and history
- Correlate errors and telemetry with the code that produced them
- Find the root cause of an issue directly in the source
- Propose a fix and open a pull request to address it
Connect GitHub
- Go to Settings → Integrations in Dash0
- Click Add Integration and select GitHub
- Click Connect GitHub to start the OAuth flow and authorize access
- Once connected, Agent0 can use your repositories during investigations
Not what you're looking for? To measure pull request cycle time and compare assisted with non-assisted work in AI SDLC Insights, use the GitHub integration for AI SDLC Insights.
Setup
Overview
GitHub Actions can export OpenTelemetry traces to Dash0, giving you end-to-end visibility into your CI/CD pipelines — build times, test durations, deployment frequency, and failure patterns.
Step 1
Setup two secrets in GitHub:
- DASH0_OTLP_ENDPOINT
grpc://{{endpoint_otlp_grpc}} - DASH0_OTLP_HEADERS
Authorization=Bearer {{token}},Dash0-Dataset={{dataset}}
Step 2
Create a new workflow file in your repository’s GitHub Actions workflow directory .github/workflows/ with the following content:
on:
workflow_run:
workflows:
- CI-CD
types: [completed]
jobs:
otel-export-trace:
name: OpenTelemetry Export Trace
runs-on: ubuntu-latest
steps:
- name: Export Workflow Trace
uses: dash0hq/otel-cicd-action@v4
with:
otlpEndpoint: ${{ secrets.DASH0_OTLP_ENDPOINT }}
otlpHeaders: ${{ secrets.DASH0_OTLP_HEADERS }}
githubToken: ${{ secrets.GITHUB_TOKEN }}
runId: ${{ github.event.workflow_run.id }}