OpsTrailsDocs
Console

Connecting Providers

Connect analytics providers to OpsTrails to enable impact analysis — before/after metric comparisons around events on your timeline.

Supported Providers

Setup

  1. Go to the console and navigate to Settings → Analytics Integrations
  2. Select the provider you want to connect
  3. Follow the provider-specific authorization flow (API key or OAuth)
  4. Configure which metrics to track and map them to subjects (environments)

💡 Info

The number of analytics integrations you can connect depends on your plan. Free: 1, Starter: 3, Pro: Unlimited.

How Data Flows

  1. OpsTrails periodically fetches metric data from your connected providers
  2. Metrics are stored and associated with subjects (e.g. “production”)
  3. When you or an AI assistant queries metrics around an event, OpsTrails compares the before and after windows to show the impact

Metrics Webhook

For custom metric ingestion, use the metrics webhook endpoint:

POST https://api.opstrails.dev/api/v1/metrics/webhook

See the API Reference for details.