cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Merge services by using PG_TAG on different PG's

henk_stobbe
DynaMight Leader
DynaMight Leader

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

2 REPLIES 2

JamesKitson
Dynatrace Guru
Dynatrace Guru

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.

henk_stobbe
DynaMight Leader
DynaMight Leader

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


Featured Posts