Hi, this is our internal configuration at Grafana Labs:
datasources:
- name: Tempo
type: tempo
jsonData:
tracesToLogs:
datasourceUid: <name of your Loki datasource>
tags:
- cluster
- namespace
- pod
# More configuration here...
The cluster, namespace and pod labels will be copied from the Tempo span and used in the query on Loki. In your specific application, you might want to use other labels.