27 Mar 2023 01:25 PM - edited 27 Mar 2023 01:30 PM
Hi Folks,
I have a requirement where I want to rename few process group instances.
Dynatrace has detected two process groups with same name (DT created two different Process groups because they have different host group names) and those process groups has same process group instances names.
Something like below,
How can I rename those PGIs, or do you have any other suggestions?
Regards,
AK
Solved! Go to Solution.
27 Mar 2023 02:01 PM
Hi,
You can create Process group naming rules to add some metadata.
Best regards
27 Mar 2023 03:37 PM
@AntonPineiro , I guess, this will rename a process groups not process group instances.
27 Mar 2023 02:41 PM
Hi, do you have enough metadata on process istance from the autodiscover of Oneagent in order to distinguish single PGIs?
If so you can go for a advance process group detection rule and define the "Process instance extraction":
If not you have to insert environment variable at the start of your process and the procedure will vary based on what tech you are using. Here is the link for it:
https://www.dynatrace.com/support/help/shortlink/process-group-properties#variables
Cheers
27 Mar 2023 03:35 PM
@y_buccellato, yes I have some metadata for differentiation.
Kubernetes full pod name has name like instance-1, instance-2 and so on..
Regards,
AK
27 Mar 2023 04:37 PM - edited 27 Mar 2023 04:38 PM
Then I guess you are near to a solution, if metadata allows you to enrich your process discovery mechanism,
Try it and let us know, but know that for the rule to be applied you'll need to restart the process itself.
This will discover a process as a new one, not aggregated to the previous process group you had.
In my case (in my org) the adopted hierarchy is:
process group = namespace
|___________>> process istance = full pod name
And reflected it via advanced process detection rule in DT. It is always about finding a common pattern 🙂
27 Mar 2023 04:42 PM
@y_buccellato Sure I added a rule however need a restart of processes. Thanks for quick guidance on this.
Regards,
AK