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": 4
  },
  {
    "id": 4611686018427387948,
    "platformIdent": 6,
    "sensorTypeIdentapplicationId": 30361-1133255037,
    "timeStamp": 1468348003582,
    "methodIdent": 30352,
    "timerData": {
      "@class": ".TimerData",
      "id": 4611686018427387969,
      "platformIdent": 43152,
      "sensorTypeIdent": 30365,
      "timeStamp": 1468348003582,
      "methodIdent": 30352,
      "min": 0.3156009912490845,
      "max": 0.3156009912490845,
      "count": 1,
      "duration": 0.3156009912490845,
      "cpuMin": 0.31,
      "cpuMax": 0.31,
      "cpuDuration": 0.31,
      "exclusiveCount": 1,
      "exclusiveDuration": 0.12003695964813232,
      "exclusiveMax": 0.12003695964813232,
      "exclusiveMin": 0.12003695964813232
    },
    "duration": 0.3381279706954956,
    "childCount": 2businessTransactionId": 463443944
  }
]



2. Get invocation detail
Anchor
detailInvocation
detailInvocation

...