Versions Compared

Key

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

...

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, 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/?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": 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": 46116860184273879694611686018427388000,
            "platformIdent": 43152,5,
            "sensorTypeIdent": 30365,7961,
            "timeStamp": 1468348003582,1483522324878,
            "methodIdent": 303527968,
            "min": 0.3156009912490845,nestedSequences": [
                {
                    "maxid": 0.31560099124908454611686018427388000,
       "count             "platformIdent": 1,5,
                    "durationsensorTypeIdent": 0.3156009912490845,7961,
                    "cpuMintimeStamp": 0.31,1483522324878,
           "cpuMax         "methodIdent": 0.317969,
      "cpuDuration": 0.31,              "nestedSequences": [
                        {
                            "exclusiveCountid": 14611686018427388000,
           "exclusiveDuration                 "platformIdent": 0.12003695964813232,5,
                     "exclusiveMax       "sensorTypeIdent": 0.12003695964813232,7961,
                "exclusiveMin": 0.12003695964813232            "timeStamp": 1483522324878,
                       },     "durationmethodIdent": 0.3381279706954956,7966,
                    "childCount": 2
  }
]

...

Path:/rest/data/invocations/{id}
Parameters:
  1. id (Long value, required) - Id of the invocation to get.
Example URI:/rest/data/invocations/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,
  "nestedSequences": [ 7966,
                                "min": 0.009705999866127968,
                                "max": 0.009705999866127968,
                         {       "idcount": 4611686018427387934,1,
                        "platformIdent        "duration": 5,0.009705999866127968,
                                "sensorTypeIdentcpuMin": 30361,0.01,
                                "timeStampcpuMax": 1468348002604,0.01,
                                "methodIdentcpuDuration": 30355,0.01,
            "nestedSequences": [                    "exclusiveCount": 1,
                     {           "idexclusiveDuration": 4611686018427387935,0.009705999866127968,
                                "platformIdentexclusiveMax": 50.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": 30365,7965,
                        "timeStamp": 14683480026041483522324878,
                        "methodIdent": 30370,7969,
                        "min": 0.15588605403900146,1062059998512268,
                        "max": 0.155886054039001461062059998512268,
                        "count": 1,
                        "duration": 0.15588605403900146,1062059998512268,
                        "cpuMin": 0.151106,
                        "cpuMax": 0.151,106,
                        "cpuDuration": 0.151,106,
                        "exclusiveCount": 1,
                        "exclusiveDuration": 0.15588605403900146,08114399947226048,
                        "exclusiveMax": 0.1558860540390014608114399947226048,
                        "exclusiveMin": 0.1558860540390014608114399947226048
                    },
                    "duration": 0.2535510063171386712443700060248375,
                    "childCount": 02
                }
	
            ],
            "timerData": {
                "@class": "rocks.inspectit.shared.all.communication.data.TimerData",
                "id": 46116860184273879414611686018427388000,
                "platformIdent": 5,
                "sensorTypeIdent": 303657965,
                "timeStamp": 14683480026041483522324878,
                "methodIdent": 30355,7968,
                "min": 0.5061780214309692,33619299903512,
                "max": 0.506178021430969233619299903512,
                "count": 1,
                "duration": 0.5061780214309692,33619299903512,
                "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
}