https://grafana.com/orgs/<your org name>
,
and click on Send Traces under Tempo. In Grafana Data Source settings,
note the URL
value. Click Generate now to generate an API key and copy it.
Note also the Stack ID
value (you can find it in the URL https://grafana.com/orgs/<Your Org Name>/stacks/<Stack ID>
).
With Grafana Agent
Make sure you have an agent installed and running in your cluster. The host to target your traces is constructed is the hostname of theURL
noted above, without the https://
and the trailing /tempo
.
Add this to the configuration of your agent:
Note the endpoint. The URL you need to use is without
https
and the trailing
/
. So https://tempo-us-central1.grafana.net/tempo
should be used as
tempo-us-central1.grafana.net:443
.Without Grafana Agent
Grafana cloud currently only supports sending traces to some of its regions. Before you begin, check out this list and make sure your region is supported. In a terminal, type:prod-us-central-0
.
See here for the names of the zones you should use below.
Then, you can set the following environment variables when running your app with Traceloop SDK installed: