Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

ServiceDescription
Get all invocation data

Provides an overview of several invocation data

Get invocation detail

Provides detail information of a single invocation

 


1. Get all invocation data
Anchor
allInvocations
allInvocations

/rest/data/invocations/overview?platformId
Path:/rest/data/invocations/overview
Parameters:
  1. platformId agentId (Long value, not required) - Id of the agent /platform to get
  2. fromDate (java.util.Date, not required) - from date of the invocation start
  3. toDate (java.util.Date, not required) - to date of the invocation ends
  4. latestReadId (Long value, not required) - latest read ID of the invocations, only invocations with higher id than submitted one, used for incremental reading
  5. limit (Long value, not required) - limit the results, default is 100, max is also 100
Example URI:
  1. businessTrxId (int value, not required) - Id of the business transaction to get
  2. appId (int value, not required) - Id of the application to get
  3. alertId (java.lang.String, not required) - Id of the alert to get
Example URI:

/rest/data/invocations/?agentId=5&fromDate=2016/07/12&toDate=2016/07/23

Example output:


Code Block
[
  {
    "id": 4611686018427387927,
    "platformIdent": 5,
    "sensorTypeIdent": 303617961,
    "timeStamp": 14683480026041483522324878,
    "methodIdent": 303527954,
    "timerData": {
      "@class": "rocks.inspectit.shared.all.communication.data.TimerData",
      "id": 46116860184273879424611686018427387949,
      "platformIdent": 4315215952,
      "sensorTypeIdent": 303657965,
      "timeStamp": 14683480026051483522324878,
      "methodIdent": 303527954,
      "min": 0.73617696762084964304969999939203,
      "max": 0.73617696762084964304969999939203,
      "count": 1,
      "duration": 0.73617696762084964304969999939203,
      "cpuMin": 0.698417,
      "cpuMax": 0.698417,
      "cpuDuration": 0.698417,
      "exclusiveCount": 1,
      "exclusiveDuration": 0.2299989461898803709430400095880032,
      "exclusiveMax": 0.2299989461898803709430400095880032,
      "exclusiveMin": 0.2299989461898803709430400095880032
    },
    "duration": 0.786555051803588944577400013804436,
    "childCount": 4
  },
  {6,
    "idapplicationId": 4611686018427387948-1133255037,
    "platformIdentbusinessTransactionId": 6,463443944
    "sensorTypeIdent": 30361,
    "timeStamp": 1468348003582}
]



2. Get invocation detail
Anchor
detailInvocation
detailInvocation

Path:/rest/data/invocations/{id}
Parameters:
  1. id (Long value, required) - Id of the invocation to get.
Example URI:/rest/data/invocations/4611686018427388000
Example output:


Code Block
{
    "id": 4611686018427388000,
    "methodIdentplatformIdent": 303525,
    "timerDatasensorTypeIdent": {
7961,
     "@classtimeStamp": ".TimerData",
 1483522324878,
    "idmethodIdent": 46116860184273879697954,

     "platformIdentnestedSequences": 43152,[
      "sensorTypeIdent": 30365,  {
    "timeStamp": 1468348003582,       "methodIdentid": 30352,4611686018427388000,
            "minplatformIdent": 0.31560099124908455,
      "max      "sensorTypeIdent": 0.31560099124908457961,
      "count": 1,       "durationtimeStamp": 0.31560099124908451483522324878,
      "cpuMin": 0.31,       "cpuMaxmethodIdent": 0.317968,
      "cpuDuration": 0.31,       "exclusiveCountnestedSequences": [
1,        "exclusiveDuration": 0.12003695964813232,        {
                    "exclusiveMaxid": 0.120036959648132324611686018427388000,
        "exclusiveMin": 0.12003695964813232       },     "durationplatformIdent": 0.33812797069549565,
    "childCount":  2   }
]

2. Get invocation detail

Path:/rest/data/invocations/detailsParameters:
  1. id (Long value, required) - Id of the invocation to get.
Example URI:/rest/data/invocations/details?id=4611686018427387927Example output: Code Block{ "id": 4611686018427387927, "platformIdent": 5, "sensorTypeIdent": 30361, "timeStamp": 1468348002604, "methodIdent": 30352, "nestedSequences": [ { "id": 4611686018427387934,
           "sensorTypeIdent": 7961,
                    "timeStamp": 1483522324878,
                    "methodIdent": 7969,
                    "nestedSequences": [
                        {
                            "id": 4611686018427388000,
                            "platformIdent": 5,
                            "sensorTypeIdent": 7961,
                            "timeStamp": 1483522324878,
                            "methodIdent": 7966,
                            "timerData": {
                                "@class": "rocks.inspectit.shared.all.communication.data.TimerData",
                                "id": 4611686018427388000,
                                "platformIdent": 15952,
                                "sensorTypeIdent": 7965,
                                "timeStamp": 1483522324878,
                                "
platformIdent
methodIdent": 
5
7966,
        
"sensorTypeIdent":
 
30361,
       
"timeStamp":
 
1468348002604,
       
"methodIdent":
 
30355,
       "
nestedSequences
min": 0.009705999866127968,
[
         
{
           
"id":
 
4611686018427387935,
           "
platformIdent
max": 
5
0.009705999866127968,

         
"sensorTypeIdent":
 
30361,
           
"timeStamp":
 
1468348002604,
          
"
methodIdent
count": 
30370
1,
          
"timerData":
 
{
             
"@class":
 
".TimerData",
       "duration": 0.009705999866127968,
    
"id":
 
4611686018427387936,
             
"platformIdent":
 
43152,
             "
sensorTypeIdent
cpuMin": 
30365,
0.01,
                  
"timeStamp":
 
1468348002604,
             "
methodIdent
cpuMax": 
30370,
0.01,
                  
"min":
 
0.15588605403900146,
             "
max
cpuDuration": 0.
15588605403900146
01,

    
"count":
 
1,
             
"duration":
 
0.15588605403900146,
             "
cpuMin
exclusiveCount": 
0.151,
1,
                  
"cpuMax":
 
0.151,
             "
cpuDuration
exclusiveDuration": 0.
151
009705999866127968,

    
"exclusiveCount":
 
1,
             
"exclusiveDuration":
 
0.15588605403900146,
             "exclusiveMax": 0.
15588605403900146
009705999866127968,

          
"exclusiveMin":
 
0.15588605403900146
           
},
          "
duration
exclusiveMin": 0.
25355100631713867,
009705999866127968
               
"childCount":
 
0
         
},
   },
     
{
           
"id":
 
4611686018427387937,
           "
platformIdent
duration": 
5,
0.030519999563694,
                
"sensorTypeIdent":
 
30361,
           "
timeStamp": 1468348002604,
childCount": 0
            
"methodIdent":
 
30361,
           
"timerData":
}
{
             
"@class":
 
".TimerData",
      ],
      
"id":
 
4611686018427387938,
             "
platformIdent
timerData": 
43152,
{
            
"sensorTypeIdent":
 
30365,
           
"timeStamp": 1468348002604
"@class": "rocks.inspectit.shared.all.communication.data.TimerData",
           
"methodIdent": 30361,
             "
min
id": 
0.012436985969543457
4611686018427388000,

           
"max": 0.012436985969543457,
             "
count
platformIdent": 
1
5,

           
"duration": 0.012436985969543457,
             "
cpuMin
sensorTypeIdent": 
0.012
7965,

           
"cpuMax": 0.012,
             "
cpuDuration
timeStamp": 
0.012
1483522324878,
           
"exclusiveCount": 1,
             "
exclusiveDuration
methodIdent": 
0.012436985969543457
7969,

           
"exclusiveMax": 0.012436985969543457,
             "
exclusiveMin
min": 0.
012436985969543457
1062059998512268,
             
},
           "
duration
max": 0.
04024100303649902
1062059998512268,
          
"childCount":
 
0
         
},
    
"count": 1,
 
{
           
"id":
 
4611686018427387939,
           "
platformIdent
duration": 
5
0.1062059998512268,
            
"sensorTypeIdent":
 
30361,
           "
timeStamp
cpuMin": 
1468348002604
0.106,
          
"methodIdent": 30370,
              "
timerData
cpuMax": 
{
0.106,
          
"@class":
 
".TimerData",
             "
id
cpuDuration": 
4611686018427387940
0.106,

          
"platformIdent":
 
43152,
             "
sensorTypeIdent
exclusiveCount": 
30365
1,
          
"timeStamp":
 
1468348002605,
             "
methodIdent
exclusiveDuration": 
30370
0.08114399947226048,

          
"min":
 
0.07647705078125,
             "
max
exclusiveMax": 0.
07647705078125
08114399947226048,

          
"count":
 
1,
             "
duration
exclusiveMin": 0.
07647705078125,
08114399947226048
             
"cpuMin":
 
0.059,
      },
      
"cpuMax":
 
0.059,
             "
cpuDuration
duration": 0.
059,
12443700060248375,
                    "
exclusiveCount
childCount": 2
1,
              
"exclusiveDuration":
 
0.07647705078125,
 }
           
"exclusiveMax": 0.07647705078125
 ],
            "
exclusiveMin
timerData": 
0.07647705078125
{
     
},
           "
duration
@class": 
0.10727298259735107
"rocks.inspectit.shared.all.communication.data.TimerData",
          
"childCount":
 
0
     "id": 4611686018427388000,
  
}
       
],
       "
timerData
platformIdent": 
{
5,
       
"@class": ".TimerData",
         "
id
sensorTypeIdent": 
4611686018427387941
7965,
       
"platformIdent": 5,
         "
sensorTypeIdent
timeStamp": 
30365
1483522324878,
        
"timeStamp":
 
1468348002604,
       
"methodIdent": 
30355,
7968,
                "min": 0.
5061780214309692,
33619299903512,
                "max": 0.
5061780214309692
33619299903512,
                "count": 1,
                "duration": 0.
5061780214309692,
33619299903512,
                "cpuMin": 0.
482
335,
                "cpuMax": 0.
482,
335,
                "cpuDuration": 0.
482,
335,
                "exclusiveCount": 1,
                "exclusiveDuration": 0.
2613779306411743,
07653699815273285,
                "exclusiveMax": 0.
2613779306411743,
07653699815273285,
                "exclusiveMin": 0.
2613779306411743
07653699815273285
            },
            "duration": 0.
553291916847229
39559599943459034,
            "childCount": 5
3
        }
    ],
    "timerData": {
        "@class": "rocks.inspectit.shared.all.communication.data.TimerData",
        "id"
: 4611686018427387942,
: 4611686018427388000,
        "platformIdent": 5,
        "sensorTypeIdent": 
30365
7965,
        "timeStamp": 
1468348002605
1483522324878,
        "methodIdent": 
30352
7954,
        "min": 0.
7361769676208496
4304969999939203,
        "max": 0.
7361769676208496
4304969999939203,
        "count": 1,
        "duration": 0.
7361769676208496
4304969999939203,
        "cpuMin": 0.
698
417,
        "cpuMax": 0.
698,
417,
        "cpuDuration": 0.
698
417,
        "exclusiveCount": 1,
        "exclusiveDuration": 0.
22999894618988037
09430400095880032,
        "exclusiveMax": 0.
22999894618988037
09430400095880032,
        "exclusiveMin": 0.
22999894618988037
09430400095880032
    },
    "duration": 0.
7865550518035889
44577400013804436,
    "childCount": 6,
    "applicationId":
4
 -1133255037,
    "businessTransactionId": 463443944
}