For the complete documentation index, see llms.txt. This page is also available as Markdown.

Vercel

Send Vercel logs and traces to groundcover using Vercel Drains.

This integration requires a public HTTPS ingestion endpoint and a Vercel Pro or Enterprise team with drain permissions. Vercel usage charges may apply.

Configure Drains using the data source wizard

  1. As a groundcover Admin, open Data Sources → Vercel.

  2. Select your backend's public endpoint and create or reuse a third-party Ingestion key. Newly created keys remain saved when you close the wizard.

  3. Optionally add Service name and Environment enrichment. These static values apply to every record; use separate drains when projects need different values.

  4. Follow Vercel's drain setup guide to create separate log and trace drains with Custom Endpoint destinations. Copy each endpoint and its headers from the wizard. Keys are masked on screen; copying headers includes the full key, so keep them private.

Signal
HTTPS endpoint path
Format / Content-Type

/json/logs

NDJSON / application/x-ndjson

/v1/traces

Protobuf over OTLP/HTTP / application/x-protobuf

Keep Authorization: Bearer <GROUNDCOVER_INGESTION_KEY> in both destinations. For either signal's JSON alternative, select JSON and use Content-Type: application/json.

Verify delivery and correlation

Save the drains in Vercel, generate traffic, then filter Logs by projectId:"<VERCEL_PROJECT_ID>" using your selected project's ID, and check Traces. Got it only closes the wizard; it does not configure drains or validate delivery.

For log-to-trace correlation, an Admin must apply the wizard's Log mapping (required for correlation) rule in Logs Pipeline. Add a project-scoped rule for every selected project using its exact ID, simulate representative logs from every project, and confirm canonical trace_id / span_id match the ingested traces. The mapping is not applied automatically, and sampled-out traces cannot be linked.

For Terraform-managed pipelines, use the full pipeline export. Add one ottlRules entry per project with a unique ruleName and the wizard's conditions/statements, preserving existing rules in the same groundcover_logspipeline.value. The wizard's rule body alone is not a complete Terraform value; UI-only changes are overwritten by the next apply.

Last updated