09 Mar 2023 10:32 AM - last edited on 20 Aug 2024 03:04 PM by Michal_Gebacki
I wanted to find the list of Technologies used in my Environment and its versions. I have managed to extract the Technologies list through "OneAgent - Environment-wide configuration" API, however i am not able to find the different versions of these Technologies used in my environment. Have someone came across such a scenario and identified a way?
Solved! Go to Solution.
09 Mar 2023 11:32 AM
Hi @EugeneJacob
You should utilize /api/v2/entities with PROCESS_GROUP_INSTANCE-ID and look at softwareTechnologies
HTH
Yos
09 Mar 2023 02:56 PM
Hi @Yosi_Neuman,
Thanks for the quick response. Above procedure lists only the Technologies and versions that are specific to a particular Process Group. However i am looking for an option to list down all the Technologies and its version in my entire environment.
Regards,
Eugene Jacob
09 Mar 2023 03:18 PM
Hi @EugeneJacob
You will need to create a small automation code that will first collect all the process group instance id with /api/v2/entities?entitySelector=type%28%22PROCESS_GROUP_INSTANCE%22%29 and for each instance you will retrieve the information you need with the /api/v2/entities/PROCESS_GROUP_INSTANCE-ID
HTH
Yos
09 Mar 2023 03:45 PM
Thanks @Yosi_Neuman
Is this something that could be done through DQL or JSON?
09 Mar 2023 04:29 PM
Hi @EugeneJacob
Python is my first choice for those kind of automation codes.
Check out Dynatrace Python API Client
HTH
Yos