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

Path:/rest/data/invocations
/overview
Parameters:
  1. agentId (Long value, not required) - Id of the agent 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
  6. businessTrxId (int value, not required) - Id of the business transaction to get
  7. appId (int value, not required) - Id of the application to get
Example URI:

/rest/data/invocations

/overview

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

Example output:


Code Block
[
  {
    "id": 4611686018427387927,
    "platformIdent": 5,
    "sensorTypeIdent": 
30361
7961,
    "timeStamp": 
1468348002604
1483522324878,
    "methodIdent": 
30352
7954,
    "timerData": {
      "@class": "rocks.inspectit.shared.all.communication.data.TimerData",
      "id": 
4611686018427387942
4611686018427387949,
      "platformIdent": 
43152
15952,
      "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":
4 }, { "id": 4611686018427387948, "platformIdent": 6, "sensorTypeIdent": 30361,
 6,
    "applicationId": -1133255037,
    "businessTransactionId": 463443944
  }
]



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,
    "platformIdent": 5,
    "sensorTypeIdent": 7961,
    "timeStamp": 1483522324878,
    "methodIdent": 7954,
    "nestedSequences": [
        {
            "id": 4611686018427388000,
            "platformIdent": 5,
            "sensorTypeIdent": 7961,
            "timeStamp": 1483522324878,
            "methodIdent": 7968,
            "nestedSequences": [
                {
                    "id": 4611686018427388000,
                    "platformIdent": 5,
                    "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": 
1468348003582,
1483522324878,
                                "methodIdent": 7966,
                                "min": 0.009705999866127968,
                                "max": 0.009705999866127968,
                                "count": 1,
                                "duration": 0.009705999866127968,
                                "cpuMin": 0.01,
                                "cpuMax": 0.01,
                                "cpuDuration": 0.01,
                                "exclusiveCount": 1,
                                "exclusiveDuration": 0.009705999866127968,
                                "exclusiveMax": 0.009705999866127968,
                                "exclusiveMin": 0.009705999866127968
                            },
                            "duration":
30352
 0.030519999563694,
                            "childCount": 0
                        }
                    ],
                    "timerData": {
                        "@class": "rocks.inspectit.shared.all.communication.data.TimerData",
                        "id": 
4611686018427387969,
4611686018427388000,
                        "platformIdent": 
43152
5,
                        "sensorTypeIdent": 
30365,
7965,
                        "timeStamp": 
1468348003582,
1483522324878,
                        "methodIdent": 
30352,
7969,
                        "min": 0.
3156009912490845,
1062059998512268,
                        "max": 0.
3156009912490845
1062059998512268,
                        "count": 1,
                        "duration": 0.
3156009912490845,
1062059998512268,
                        "cpuMin": 0.
31,
106,
                        "cpuMax": 0.
31,
106,
                        "cpuDuration": 0.
31
106,
                        "exclusiveCount": 1,
                        "exclusiveDuration": 0.
12003695964813232,
08114399947226048,
                        "exclusiveMax": 0.
12003695964813232,
08114399947226048,
                        "exclusiveMin": 0.
12003695964813232
08114399947226048
                    },
                    "duration": 0.
3381279706954956,
12443700060248375,
                    "childCount": 2
                }
   
]

...

         ],
            "timerData": {
                "@class": "rocks.inspectit.shared.all.communication.data.TimerData",
                "id": 4611686018427388000,
                "platformIdent": 5,
                "sensorTypeIdent": 7965,
                "timeStamp": 1483522324878,
                "methodIdent": 7968,
                "min": 0.33619299903512,
                "max": 0.33619299903512,
                "count": 1,
                "duration": 0.33619299903512,
                "cpuMin": 0.335,
                "cpuMax": 0.335,
                "cpuDuration": 0.335,
                "exclusiveCount": 1,
                "exclusiveDuration": 0.07653699815273285,
                "exclusiveMax": 0.07653699815273285,
                "exclusiveMin": 0.07653699815273285
            },
            "duration": 0.39559599943459034,
            "childCount": 5
        }
    ],
    "timerData": {
        "@class": "rocks.inspectit.shared.all.communication.data.TimerData",
        "id": 4611686018427388000,
        "platformIdent": 5,
        "sensorTypeIdent": 7965,
        "timeStamp": 1483522324878,
        "methodIdent": 7954,
        "min": 0.4304969999939203,
        "max": 0.4304969999939203,
        "count": 1,
        "duration": 0.4304969999939203,
        "cpuMin": 0.417,
        "cpuMax": 0.417,
        "cpuDuration": 0.417,
        "exclusiveCount": 1,
        "exclusiveDuration": 0.09430400095880032,
        "exclusiveMax": 0.09430400095880032,
        "exclusiveMin": 0.09430400095880032
    },
    "duration": 0.44577400013804436,
    "childCount": 6,
    "applicationId": -1133255037,
    "businessTransactionId": 463443944
}