v1

latestOpenAPI 3.0.0Apache 2.02026-07-1410280162.7 KB
stats

Get global otoroshi stats

Get global otoroshi stats

get/api/live

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
}