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

Renaming the instances for nginx

saumil
Participant

Hi, 

How can we do the renaming of the instances for nginx process in dynatrace?

we referenced the below link and tried to add environment variable but no luck.

https://community.dynatrace.com/t5/Dynatrace-Open-Q-A/Process-group-detection-rules-extracting-the-i...

 

We want to set the process group name as "nginx_web" and process instance name as "nginx_<serverip>".

What is the best solution to achieve this? 

2 REPLIES 2

mgome
Advisor

There's no easy way to get what you want using the process information available for Nginx.  

 

You can create an  "Advanced detection rule" for nginx and use the "Dynatrace custom node ID" for the "Process Instance Extraction".   Then set the DT_NODE_ID environment variable at Nginx startup with to IP address.

 

Also, uncheck the ignore numbers option.  Otherwise your process instances will have (*.*.*.*) at the end. 😉

Featured Posts