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. 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
  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/overview?platformIdagentId=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": 46,
     },
  "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": 46116860184273879484611686018427388000,
    "platformIdent": 65,
    "sensorTypeIdent": 303617961,
    "timeStamp": 14683480035821483522324878,
    "methodIdent": 303527954,
    "timerDatanestedSequences": { [
        {
    "@class": ".TimerData",       "id": 46116860184273879694611686018427388000,
            "platformIdent": 43152,5,
            "sensorTypeIdent": 30365,7961,
            "timeStamp": 1468348003582,1483522324878,
            "methodIdent": 303527968,
            "min": 0.3156009912490845,nestedSequences": [
                {
                    "maxid": 0.3156009912490845,4611686018427388000,
                    "countplatformIdent": 15,
      "duration              "sensorTypeIdent": 0.3156009912490845,7961,
         "cpuMin           "timeStamp": 0.31,1483522324878,
                    "cpuMaxmethodIdent": 0.317969,
        "cpuDuration            "nestedSequences": 0.31, [
                        {
                            "exclusiveCountid": 1,4611686018427388000,
             "exclusiveDuration               "platformIdent": 0.12003695964813232,5,
                            "exclusiveMaxsensorTypeIdent": 0.12003695964813232,7961,
                    "exclusiveMin": 0.12003695964813232        "timeStamp": 1483522324878,
                       },     "durationmethodIdent": 0.3381279706954956,7966,
         "childCount": 2
  }
]

2. Get invocation detail

Path:/rest/data/invocations/details
Parameters:
  1. id (Long value, required) - Id of the invocation to get.
Example URI:/rest/data/invocations/details?id=4611686018427387927
Example output:
Code Block
{                   "timerData": {
                                "@class": "rocks.inspectit.shared.all.communication.data.TimerData",
                                "id": 4611686018427387927,4611686018427388000,
                                "platformIdent": 5,15952,
                                "sensorTypeIdent": 30361,7965,
                                "timeStamp": 1468348002604,1483522324878,
                                "methodIdent": 30352,7966,
                       "nestedSequences": [         "min": 0.009705999866127968,
                         {       "idmax": 4611686018427387934,0.009705999866127968,
                                "platformIdent"count": 1,
                                "duration": 5,0.009705999866127968,
               "sensorTypeIdent                 "cpuMin": 30361,0.01,
                                "timeStampcpuMax": 1468348002604,0.01,
              "methodIdent                  "cpuDuration": 303550.01,
      "nestedSequences": [                          "exclusiveCount": 1,
                     {           "idexclusiveDuration": 4611686018427387935,0.009705999866127968,
              "platformIdent                  "exclusiveMax": 5,0.009705999866127968,
                 "sensorTypeIdent": 30361,               "exclusiveMin": 0.009705999866127968
                            },
                            "timeStampduration": 1468348002604,0.030519999563694,
             "methodIdent": 30370,               "childCount": 0
                        }
                    ],
                    "timerData": {
                        "@class": "rocks.inspectit.shared.all.communication.data.TimerData",
                        "id": 4611686018427387936,4611686018427388000,
                        "platformIdent": 43152,5,
                        "sensorTypeIdent": 303657965,
                        "timeStamp": 14683480026041483522324878,
                        "methodIdent": 303707969,
                        "min": 0.15588605403900146,1062059998512268,
                        "max": 0.15588605403900146,1062059998512268,
                        "count": 1,
                        "duration": 0.15588605403900146,1062059998512268,
                        "cpuMin": 0.151,106,
                        "cpuMax": 0.151106,
                        "cpuDuration": 0.151106,
                        "exclusiveCount": 1,
                        "exclusiveDuration": 0.15588605403900146,08114399947226048,
                        "exclusiveMax": 0.15588605403900146,08114399947226048,
                        "exclusiveMin": 0.1558860540390014608114399947226048
                    },
                    "duration": 0.2535510063171386712443700060248375,
                    "childCount": 0 2
                }
	
            ],
            "timerData": {
                "@class": "rocks.inspectit.shared.all.communication.data.TimerData",
                "id": 46116860184273879414611686018427388000,
                "platformIdent": 5,
                "sensorTypeIdent": 30365,7965,
                "timeStamp": 1468348002604,1483522324878,
                "methodIdent": 30355,7968,
                "min": 0.506178021430969233619299903512,
                "max": 0.5061780214309692,33619299903512,
                "count": 1,
                "duration": 0.5061780214309692,33619299903512,
                "cpuMin": 0.482,335,
                "cpuMax": 0.482,335,
                "cpuDuration": 0.482335,
                "exclusiveCount": 1,
                "exclusiveDuration": 0.2613779306411743,07653699815273285,
                "exclusiveMax": 0.2613779306411743,07653699815273285,
                "exclusiveMin": 0.261377930641174307653699815273285
            },
            "duration": 0.55329191684722939559599943459034,
            "childCount": 5
   3     }
    ],
    "timerData": {
        "@class": "rocks.inspectit.shared.all.communication.data.TimerData",
        "id": 46116860184273879424611686018427388000,
        "platformIdent": 5,
        "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": 6,
    "applicationId": 4-1133255037,
    "businessTransactionId": 463443944
}