Sending from an OpenTelemetry Collector

Intro and requirements

Many setups employ existing OpenTelemetry collectors. groundcover fully supports ingesting data from existing collectors.

The recommended method is exporting the telemetry data from the collector to the BYOC endpoint as described below.

Configure from the SaaS

The first option is to navigate to the Data Sources pagearrow-up-right and select OpenTelemetry and then OpenTelemetry Collectors.

The BYOC endpoint will be pre-filled for you. You will need to either create a dedicated ingestion key or re-use an existing one.

Once the ingestion key is set, a step by step guide will appear, detailing how to configure the pipeline and add attribute enrichment.

Manual Configuration

Get your BYOC endpoint

Find your BYOC endpoint in the ingestion keys tabarrow-up-right.

Create an ingestion key

See how in the ingestion key docs.

Configuring the Pipeline

See below for an example of setting up an exporter for groundcover.

circle-check

Attribute Enrichment

Using resource attributes

It is possible to enrich specific attributes using resource attributes - read more here.

See below for an example on adding service.name and env via a processor:

Using headers

It is possible to enrich specific attributes using HTTP headers - read more here.

See below for an example on adding source and env via headers:

Sampling

The BYOC endpoint does not perform any type of sampling. Any sampling should be done in the OTEL collector itself prior to exporting the data to groundcover.

Troubleshooting

Common Issues

403 Forbidden / PERMISSION_DENIED

  • Verify your Ingestion Key is valid and not revoked

  • Ensure you're using a Third Party type Ingestion Key

  • Check that the token header is correctly formatted

Connection Refused / Timeout

  • Verify the BYOC endpoint URL

  • Check network connectivity and firewall rules

  • Ensure port 443 is accessible from your environment

Data Not Appearing

  • Check application logs for OTLP exporter errors

  • Verify the service name and resource attributes are set

  • Allow 1-2 minutes for data to appear in groundcover UI

Last updated