Querying Service Name as Variable

TLDR Romario asked how to use "service name" as a variable in queries. Srikanth suggested replacing `stringTagMap['service.name']` with `DISTINCT serviceName`.

Photo of Romario
Romario
Mon, 24 Apr 2023 18:09:33 UTC

What’s the tag for “service name” to use it in queries?

Photo of Romario
Romario
Mon, 24 Apr 2023 18:10:02 UTC

I think is `service.name` lol

Photo of Romario
Romario
Mon, 24 Apr 2023 18:14:16 UTC

How can I use the service name as variable? I tried this but it takes a lot of time to run

Photo of Srikanth
Srikanth
Tue, 25 Apr 2023 08:32:27 UTC

replace `stringTagMap['service.name']` with `DISTINCT serviceName`

Photo of Romario
Romario
Tue, 25 Apr 2023 15:03:58 UTC

thanks!