18 Mar 2025
04:02 PM
- last edited on
21 Mar 2025
01:23 PM
by
IzabelaRokita
Hello!
Can we filter distributed traces based on the calling host?
18 Mar 2025 06:37 PM
You can filter by adding called by and then by the service instance:
It helps if you have your service instances properly named. Other solution could be use of request attributes in the request on the calling service if you have some which can help you identify the instance / host.
18 Mar 2025 10:26 PM
Thank you for your reply Julius.
Your advise is useful but mostly when you know what you are searching for. Currently, we are looking for a more generic search such as "List the requests originating from a specific host per service instance".
It would be helpful if this could be done on the multidimensional analysis tool but for now it is not an option. Any idea?
BR
19 Mar 2025 07:23 AM
It depends. With traces in grail this is simple. For distributed traces classic or Dynatrace Managed this gets more challenging. I recommend having the service instances named and identified properly or look up the instance id and then using it in the filter. It's unfortunately not straightforward nor simple.
I recommend looking at the backtrace feature too. Maybe you can triage and filter from there?
19 Mar 2025 09:21 PM
Thanks @Julius_Loman
Just as expected, only the "called by" attribute can help at the moment. We are working with managed so no GRAIL at the moment.
Anyway, thank you for your instructions.
BR