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

OneAgent versions of Processes in Entity API v2

kadirhan
Contributor

Hi,

We can get OneAgents versions and monitoringState information by using api/v1/entity/infrastructure/processes. but now Entity API v2 is available . Is it possible to get this information through it? how can we do that. thanks

3 REPLIES 3

JamesKitson
Dynatrace Guru
Dynatrace Guru

It looks like the specific property will be on a process group instance entity and is called "installerVersion."

 

So your selector would be to retrieve process group instances or a specific entityId of a PGI:

 

entityId("PROCESS_GROUP_INSTANCE-XXXXXXXXXX") or type("PROCESS_GROUP_INSTANCE")

 

or to make sure you only pull ones deeply monitored that would have that value:

type("PROCESS_GROUP_INSTANCE"),installerVersion.exists()

 

and the 'fields' would be:

+properties.installerVersion or +properties (for all props)

 

JamesKitson_0-1648760289542.png

JamesKitson_1-1648760330877.png

 

 

 

thank you so much . 

+properties.installerVersion

But I'm going to ask something just to be sure. Is the version shown with this OneAgent versions in processes or hosts?

Hi @kadirhan,

that should refer to the OneAgent version.

Best,

Mark