Skip to main content
You can send data using OpenTelemetry Protocol (OTLP) to Grafana Cloud drectly from the OpenLIT SDK. To start sending Traces and Metrics, Follow the below steps
  1. Create an Access Policy token with the metrics:write and traces:write scopes, depending on the data you will be sending.
  2. Open the Cloud Portal, and click Configure on the OpenTelemetry card.
  3. Click on Generate Now in the Password / API Token section. As a result, the Environment Variable section will be populated with environment variables necessary to send data directly to Grafana Cloud.
  4. Configure the OpenLIT SDK to use environment variables to push directly to Grafana Cloud
Make sure to replace the space after Basic with %20:OTEL_EXPORTER_OTLP_HEADERS=Authorization=Basic%20<base64 instanceID:token>
You can automatically obtain these values from the Grafana Cloud Portal. click on Generate Now in the Password / API Token section. As a result, the Environment Variable section will be populated with environment variables necessary to send data directly to Grafana Cloud.

Grafana Resources


Integrations

Integrate your LLM Provider with Doku

API Reference

OpenAPI specification for API Endpoints in Doku