Invocation Service

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

Path:/rest/data/invocations
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
  8. 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:
[
  {
    "id": 4611686018427387927,
    "platformIdent": 5,
    "sensorTypeIdent": 7961,
    "timeStamp": 1483522324878,
    "methodIdent": 7954,
    "timerData": {
      "@class": "rocks.inspectit.shared.all.communication.data.TimerData",
      "id": 4611686018427387949,
      "platformIdent": 15952,
      "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
  }
]


2. Get invocation detail

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:
{
    "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": 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": 0.030519999563694,
                            "childCount": 0
                        }
                    ],
                    "timerData": {
                        "@class": "rocks.inspectit.shared.all.communication.data.TimerData",
                        "id": 4611686018427388000,
                        "platformIdent": 5,
                        "sensorTypeIdent": 7965,
                        "timeStamp": 1483522324878,
                        "methodIdent": 7969,
                        "min": 0.1062059998512268,
                        "max": 0.1062059998512268,
                        "count": 1,
                        "duration": 0.1062059998512268,
                        "cpuMin": 0.106,
                        "cpuMax": 0.106,
                        "cpuDuration": 0.106,
                        "exclusiveCount": 1,
                        "exclusiveDuration": 0.08114399947226048,
                        "exclusiveMax": 0.08114399947226048,
                        "exclusiveMin": 0.08114399947226048
                    },
                    "duration": 0.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
}