File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -60,9 +60,17 @@ SDKs](https://grafana.com/docs/grafana-cloud/send-data/otlp/send-data-otlp/#push
6060``` sh
6161export OTEL_EXPORTER_OTLP_PROTOCOL=" http/protobuf"
6262export OTEL_EXPORTER_OTLP_ENDPOINT=" https://otlp-gateway-prod-eu-west-0.grafana.net/otlp"
63- export OTEL_EXPORTER_OTLP_HEADERS=" Authorization=Basic a-secret-token "
63+ export OTEL_EXPORTER_OTLP_HEADERS=" Authorization=Basic base64-encoded-string "
6464```
6565
66+ > [ !TIP]
67+ > The token for ` Basic ` authentication is the base64-encoded value of a Grafana
68+ > Cloud Instance ID and an API key separated by a ` : ` .
69+ >
70+ > For example, if your Grafana Cloud Instance ID is ` 12345 ` and your API key is
71+ > ` glc_secret ` , the value for ` OTEL_EXPORTER_OTLP_HEADERS ` would be
72+ > ` Authorization=Basic MTIzNDU6Z2xjX3NlY3JldA== `
73+
6674## Documentation
6775
6876For detailed documentation and setup instructions, refer to the following
You can’t perform that action at this time.
0 commit comments