23 Feb 2022 12:35 AM - last edited on 24 Feb 2022 01:38 AM by MaciejNeumann
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.
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?
Solved! Go to Solution.
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. 😉