Versions Compared

Key

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

...

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
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": 6,
  4   },
  "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": 4611686018427387969,4611686018427388000,
            "platformIdent": 431525,
            "sensorTypeIdent": 303657961,
            "timeStamp": 1468348003582,1483522324878,
            "methodIdent": 30352,7968,
            "minnestedSequences": 0.3156009912490845, [
                {
                    "maxid": 0.31560099124908454611686018427388000,
      "count              "platformIdent": 15,
           "duration         "sensorTypeIdent": 0.3156009912490845,7961,
                    "cpuMintimeStamp": 0.31,1483522324878,
          "cpuMax          "methodIdent": 0.31,7969,
             "cpuDuration": 0.31,       "nestedSequences": [
                        {
                            "exclusiveCountid": 1,4611686018427388000,
                            "exclusiveDurationplatformIdent": 0.120036959648132325,
      "exclusiveMax                      "sensorTypeIdent": 0.12003695964813232,7961,
                            "exclusiveMintimeStamp": 0.12003695964813232 1483522324878,
                       },     "durationmethodIdent": 0.3381279706954956,7966,
             "childCount": 2
  }
]

...

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": 46116860184273879274611686018427388000,
                                "platformIdent": 5,15952,
                                "sensorTypeIdent": 30361,7965,
                                "timeStamp": 1468348002604,1483522324878,
                                "methodIdent": 7966,
                                "min": 30352,0.009705999866127968,
                                "nestedSequencesmax": [ 0.009705999866127968,
                         {       "idcount": 4611686018427387934,1,
                                "platformIdentduration": 5,0.009705999866127968,
                        "sensorTypeIdent        "cpuMin": 303610.01,
        "timeStamp                        "cpuMax": 1468348002604,0.01,
                                "methodIdentcpuDuration": 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": 46116860184273879364611686018427388000,
                        "platformIdent": 43152,5,
                        "sensorTypeIdent": 303657965,
                        "timeStamp": 1468348002604,1483522324878,
                        "methodIdent": 30370,7969,
                        "min": 0.15588605403900146,1062059998512268,
                        "max": 0.15588605403900146,1062059998512268,
                        "count": 1,
                        "duration": 0.155886054039001461062059998512268,
                        "cpuMin": 0.151,106,
                        "cpuMax": 0.151106,
                        "cpuDuration": 0.151,106,
                        "exclusiveCount": 1,
                        "exclusiveDuration": 0.15588605403900146,08114399947226048,
                        "exclusiveMax": 0.1558860540390014608114399947226048,
                        "exclusiveMin": 0.1558860540390014608114399947226048
                    },
                    "duration": 0.2535510063171386712443700060248375,
                    "childCount": 0 2
                }
	
            ],
            "timerData": {
                "@class": "rocks.inspectit.shared.all.communication.data.TimerData",
                "id": 4611686018427387941,4611686018427388000,
                "platformIdent": 5,
                "sensorTypeIdent": 303657965,
                "timeStamp": 1468348002604,1483522324878,
                "methodIdent": 30355,7968,
                "min": 0.506178021430969233619299903512,
                "max": 0.506178021430969233619299903512,
                "count": 1,
                "duration": 0.506178021430969233619299903512,
                "cpuMin": 0.482335,
                "cpuMax": 0.482,335,
                "cpuDuration": 0.482,335,
                "exclusiveCount": 1,
                "exclusiveDuration": 0.2613779306411743,07653699815273285,
                "exclusiveMax": 0.2613779306411743,07653699815273285,
                "exclusiveMin": 0.261377930641174307653699815273285
            },
            "duration": 0.553291916847229,39559599943459034,
            "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
}