Application Topology – BETA

Available APIs

/api/application_topology/

Returns process group topology based on socket connections of process groups.

GET

Return the list of servers matching the query.

Arguments

  • process_groups (optional) – A list of Process Groups IDs on which to build topology
    Each ID should be in the form ?process_groups[]=1&process_groups[]=2
    If no process_group ids are used, topology will be built with all of a Tenant’s Process Groups
  • num (optional) – The number of minutes worth of socket connections to use for building topology.
  • start (optional) – Timestamp when to start the time span.
  • end (optional) – Timestamp when to end the time span.

Argument Examples

  • /api/application_topology?process_groups[]=1&process_groups[]=2&process_groups[]=3&num=5

    This will return topology data Process Groups 1, 2, and 3 using the most recent 5 minutes of socket data.

curl --user {EMAIL}:{API_KEY} https://wwws.appfirst.com/api/application_topology?process_groups[]=1&process_groups[]=2&process_groups[]=3&num=5
{
	"connections": [
		{
			"client_id": 1, //The Process Group id for the client connection
			"server_id": 2, //The Process Group id for the server connection
			"sockets": [
				{
					"client" : { /* client socket details */ },
					"server": { /* server socket details */ }
				}
			],
			...
		},
		...
	]
	"nodes" : [
		{
			"name" : "Process Group 1",
			"id": 1
		},
		...
	]
}