v1

latestOpenAPI 3.0.0Apache 2.02026-07-1410280162.7 KB
stats

Get live feed of otoroshi stats

Get live feed of global otoroshi stats (global) or for a service {id}

get/api/live/{id}

Path parameters

idstring required

The service id or global for otoroshi stats

Response

Successful operation

callsinteger required

Number of calls on the specified service or globally

concurrentHandledRequestsinteger required

The number of concurrent request currently

dataIninteger required

The amount of data sent to the specified service or Otoroshi globally

dataInRatenumber double required

The rate of data sent to the specified service or Otoroshi globally

dataOutinteger required

The amount of data sent from the specified service or Otoroshi globally

dataOutRatenumber double required

The rate of data sent from the specified service or Otoroshi globally

durationnumber double required

The average duration for a call

overheadnumber double required

The average overhead time induced by Otoroshi for each call

ratenumber double required

The rate of data sent from and to the specified service or Otoroshi globally

Example response

{
  "calls": 123,
  "concurrentHandledRequests": 123,
  "dataIn": 123,
  "dataInRate": 42.2,
  "dataOut": 123,
  "dataOutRate": 42.2,
  "duration": 42.2,
  "overhead": 42.2,
  "rate": 42.2
}