How can I get value of service.name in custom query?
I use this: container="${__tags['service_name']} |= ${__trace.traceId}
but have got this result: container="${__tags['service_name']} |= 58173b1b1a524c1abfc94a3c801547c6
How can I get value of service.name in custom query?
I use this: container="${__tags['service_name']} |= ${__trace.traceId}
but have got this result: container="${__tags['service_name']} |= 58173b1b1a524c1abfc94a3c801547c6
As far as I understand ${__span.tags["service.name"]}
should work, I see that you are using service_name
, try service.name
checkout Configure the Tempo data source | Grafana documentation for more details.