📊

Datadog

Real-time metrics, APM traces, and infrastructure logging. Map deployment events to performance anomalies instantly.

Metrics & APM Logs
🐛

Sentry

Production error tracking with stack traces, session replays, and release health monitoring. Link issues to exact commits.

Error Tracking Release Health

Setup Guide

1 Generate API Tokens

Navigate to your Datadog API keys page and Sentry Auth Tokens. Create tokens with read:metrics and project:read scopes.

2 Add to .git/config

# .git/config/integrations.yml datadog: api_key: ${DATADOG_API_KEY} env: "${TARGET_ENV}" service: "${SERVICE_NAME}" sentry: auth_token: ${SENTRY_AUTH_TOKEN} org: "${SENTRY_ORG}" project: "${SENTRY_PROJECT}"

3 Enable Deployment Tagging

Run git deploy --tag-observability to automatically attach commit hashes, branch names, and author metadata to your monitoring tools.

4 Verify Connection

$ git observability status ✓ Datadog: Connected (us5.datadoghq.com) ✓ Sentry: Connected (sentry.io) Ready to sync release metadata.

Feature Comparison

Capability Datadog Sentry .git Sync
Deployment to Metric Correlation Native Manual Auto-mapped
Stack Trace → Commit Diff With plugin One-click
Custom Release Health Scoring Configurable Built-in Unified dashboard
Rollback Triggers on Error Spike Webhook only Native automation
Team Context & Ownership Basic Advanced Git-based mapping

Do I need paid plans for both?

.git’s free tier supports basic sync. Advanced release health and automated rollback triggers require Datadog Pro or Sentry Team plans.

How often does metadata sync?

Real-time on deployment. Historical commits are backfilled within 2 minutes. You can force sync with git observability refresh.

Can I use both simultaneously?

Yes. .git acts as the control plane, routing release events to both tools while deduplicating noise and correlating errors with performance metrics.

Is my API key stored securely?

Keys are encrypted at rest using AES-256 and never logged. Token rotation is supported via environment variable refresh.