Problem v2 API entityTags

The documentation says this about the entityTags property of a Problem

entityTags METag[] A list of all entity tags of the problem

So, does this mean it will contain the tags for a rootCauseEntity and/or the affectedEntities and/or the impactedEntities?

If I have a Problem with a rootCauseEntity and a couple of affectedEntities, will this contain the tags from ALL the entities listed in the Problem record, or what?

Thanks

I believe so. I had the situation before and even posted about it, from the Entities perspective: https://community.dynatrace.com/t5/Open-Q-A/Event-types-and-applicable-Dynatrace-entities-Impact-Level/m-p/211548

I had to stick with v1 at the time, but I have the impression it was solved since, as in the documentation now. Just can’t get the links to prove it; when I get it, I’ll post it here.

@GaryWGshould have tried it out first :grin:

I can confirm you get the full list of entity tags. I just checked a problem with a webservice & database involved. They have different tags, and both appear in the v2 API entityTags result :dynaspin:

It should be that these tags will be included in the problem :blush:

Thanks @AntonioSousa

I’ve been “Trying it out” for days! I’ve been waiting for a problem to be triggered that contains multiple entities with different tags, but as we are still very much at the beginning of our journey here, it’s a challenge to know how to do some of these things :slightly_smiling_face:

But thanks for confirming for me.