Configure Grafana Cloud OTLP endpoint
In this milestone, you configure the OpenTelemetry Protocol (OTLP) endpoint in Grafana Cloud and generate the credentials that Beyla needs to send telemetry data.
To configure the OTLP endpoint and generate credentials, complete the following steps:
You’ll open the Grafana Cloud OpenTelemetry configuration and copy the environment variables for Beyla.
Sign in to your Grafana Cloud environment.
Select a stack, locate the OpenTelemetry card, and click Configure.
The OpenTelemetry configuration page opens with connection details.
In the Password / API token section, click Generate now. Follow the prompts to create a new API token. For example, enter a descriptive name such as
beyla-otlp-tokenand select the appropriate permissions.Save the token. You won’t be able to view it again.
On the OpenTelemetry configuration page, locate the Environment Variables section and click Copy to copy the environment variables. The variables include
OTEL_EXPORTER_OTLP_PROTOCOL,OTEL_EXPORTER_OTLP_ENDPOINT, andOTEL_EXPORTER_OTLP_HEADERS.Save these variables in a secure location. You use them in the next milestone.
You now have the OTLP endpoint and credentials that Beyla needs to send telemetry to Grafana Cloud.
In the next milestone, you instrument and test your application using Beyla and Docker.
Troubleshooting
Explore the following troubleshooting topics if you need help: