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

...

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:


Code Block
[
  {
    "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
  }
]


...