Additional simplified guides on setting up various things so you don't have to go googling.
- Sign up for a free account at grafana.com
- Once you get to the dashboard, click on "Configure OTLP".
- Keep track of the endpoint you will use to send OTLP signals.
- Keep track of the instance ID you will use to send OTLP signals.
- Create a "Password / API Token", keep track of the token they show you.
- When you then want to configure telemetry with
telemetry.json5, it should look something like this.
{
otlp: {
traces: {
http_endpoint: "https://<domain>/otlp/v1/traces",
headers: {
Authorization: "Basic <base64 instanceID:token>"
}
},
metrics: {
http_endpoint: "https://<domain>/otlp/v1/metrics",
headers: {
Authorization: "Basic <base64 instanceID:token>"
}
}
},
}