28 Oct 2020 11:16 AM
Hello,
When setting the same PG_TAG on different PG's, is it possible to merge them all in one service with the API detection rules?
KR Henk
Solved! Go to Solution.
28 Oct 2020 12:17 PM
Tags won't have any affect on this, tags are just applied to existing entities that have already been mapped/organized. For there to be any possibility of merging or combining them they must first be in the same process group. Which likely means using process group detection rules. Process groups are a hard boundary for services.
Once in the same process group you could use merging (being deprecated) or preferably service detection rules via the API:
https://www.dynatrace.com/support/help/dynatrace-api/configuration-api/service-api/detection-rules/
https://www.dynatrace.com/news/blog/new-dynatrace-api-enhances-automatic-service-detection/
Depending on what the goal is you might find though that after combining them into the same process group that the underlying services are combined at that point too after they are restarted.
28 Oct 2020 12:27 PM
Hi James,
I was hoping that this would work, as it is part of the attributeType. But reading your reply I see this is more a placeholder.
This will create multiple services (from the different PG's with that same label) with the same name,
KR Henk