29 Jun 2022 06:06 AM - last edited on 29 Jun 2022 01:56 PM by MaciejNeumann
When multiple data sources are set for one request attribute, only the first value is taken. What are the collection rules?
Solved! Go to Solution.
29 Jun 2022 07:15 AM
Hello @994620873!
I labeled your post with the request attributes label - I hope that way the experts on that topic will spot your question quicker 🙂
Have a great day and enjoy the Dynatrace Community!
Karolina
29 Jun 2022 10:31 AM
If by collection rules you mean if only certain values are captured, then there are no extra rules.
All available values are captured and dynatrace then uses the first in the list as the value.
01 Jul 2022 10:10 AM
Thank you for your reply.
In the environment of the screenshot, I set five data sources, select the first value in the rule, but take the value of the third data source in purepath, what is the priority rule when setting multiple data sources?
04 Jul 2022 09:16 AM
You can order the data sources with the little arrows. It goes down in priority from the top.
04 Jul 2022 09:27 AM
Among the five data sources in the screenshot, the parameter 'param' has the highest priority, but the third parameter 'web request url' is displayed in purepath.
04 Jul 2022 09:51 AM
Ah sorry I now I get it.
If you look at the Request Attributes for the top service in that PurePath, it will only pick attributes from that node for the data sources.
The header in the screenshot is not on the request to the initial service but on a downstream call to an external service (Request to public network). That's why it is not picking it up.