Current
/v1/stats/current/vhosts/{vhost_name}
GET
http://<OME_HOST>:<API_PORT>/v1/stats/current/vhosts/{vhost_name}
Usage statistics of the VirtualHost
Request Example:
GET http://1.2.3.4:8081/v1/stats/current/vhosts/default
Path Parameters
Query Parameters
{
"createdTime": "2021-01-11T02:52:22.013+09:00",
"lastRecvTime": "2021-01-11T04:11:41.734+09:00",
"lastSentTime": "2021-01-11T02:52:22.013+09:00",
"lastUpdatedTime": "2021-01-11T04:11:41.734+09:00",
"maxTotalConnectionTime": "2021-01-11T02:52:22.013+09:00",
"maxTotalConnections": 0,
"totalBytesIn": 494713880,
"totalBytesOut": 0,
"totalConnections": 0
}
{
"code": 404,
"message": "Could not find the virtual host: [non-exists] (404)"
}
/v1/stats/current/vhosts/{vhost_name}/apps/{app_name}
GET
http://<OME_HOST>:<API_PORT>/v1/stats/current/vhosts/{vhost_name}/apps/{app_name}
Usage statistics of the Application
Request Example:
GET http://1.2.3.4:8081/v1/stats/current/vhosts/default/apps/app
Path Parameters
Query Parameters
{
"createdTime": "2021-01-11T03:39:38.802+09:00",
"lastRecvTime": "2021-01-11T04:14:40.092+09:00",
"lastSentTime": "2021-01-11T03:39:38.802+09:00",
"lastUpdatedTime": "2021-01-11T04:14:40.092+09:00",
"maxTotalConnectionTime": "2021-01-11T03:39:38.802+09:00",
"maxTotalConnections": 0,
"totalBytesIn": 550617693,
"totalBytesOut": 0,
"totalConnections": 0
}
{
"code": 404,
"message": "Could not find the application: [default/non-exists] (404)"
}
/v1/stats/current/vhosts/{vhost_name}/apps/{app_name}/streams/{stream}
GET
http://<OME_HOST>:<API_PORT>/v1/stats/current/vhosts/{vhost_name}/apps/{app_name}/streams/{stream}
Usage statistics of the Stream
Request Example:
GET http://1.2.3.4:8081/v1/stats/current/vhosts/default/apps/app/streams/{stream}
Path Parameters
Query Parameters
{
"createdTime": "2021-01-11T03:39:38.802+09:00",
"lastRecvTime": "2021-01-11T04:14:40.092+09:00",
"lastSentTime": "2021-01-11T03:39:38.802+09:00",
"lastUpdatedTime": "2021-01-11T04:14:40.092+09:00",
"maxTotalConnectionTime": "2021-01-11T03:39:38.802+09:00",
"maxTotalConnections": 0,
"totalBytesIn": 550617693,
"totalBytesOut": 0,
"totalConnections": 0
}
{
"code": 404,
"message": "Could not find the stream: [default/app/non-exists] (404)"
}