OpenTelemetry - Direct to BYOC Endpoint

Send OpenTelemetry data directly to groundcover's BYOC endpoint


Overview

This guide shows how to configure your OpenTelemetry instrumented applications to send telemetry data directly to groundcover's BYOC endpoint, bypassing the in-cluster sensor.

This approach is ideal for:

  • Non-Kubernetes workloads (VMs, containers, serverless)

  • External services that need to send data without sensor deployment

  • Hybrid architectures combining in-cluster and external data sources

circle-info

FYI: Traces sent to the BYOC endpoint are 100% sampled. All traces will be ingested and stored.


Prerequisites


Quick Start

HTTP/Protobuf Configuration

For applications using the HTTP protocol with protobuf encoding:

circle-info

Note: Do not include the port number (:443) in the endpoint URL. HTTPS defaults to port 443.

Signal-Specific Configuration (HTTP)

If you need to configure traces, logs, and metrics separately:

gRPC Configuration

For applications using the gRPC protocol:

Signal-Specific Configuration (gRPC)


Kubernetes Deployment Example

circle-exclamation

Creating the Secret


OpenTelemetry Collector Configuration

For environments using the OpenTelemetry Collector as a gateway:


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


Best Practices

  1. Use Resource Attributes: Set meaningful service.name, deployment.environment, and service.namespace to organize your telemetry

  2. Secure Key Management: Store Ingestion Keys in secret management systems


Comparison: BYOC vs In-Cluster Sensor

Feature
BYOC Endpoint
In-Cluster Sensor

Network Path

Direct to cloud

Local cluster network

Use Case

External services, VMs

Kubernetes workloads

Sampling

100% sampled

Configurable


Last updated