- global
- rtmp
- gb28181
- monitor
- mp4
- transcode
- debug
- stress
- cluster
- test
集群状态
开发中
GET
/cluster/api/status
请求参数
无
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/cluster/api/status'
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
必需
data
object
必需
status
object
必需
示例
{
"code": 0,
"message": "获取集群状态成功",
"data": {
"status": {
"totalNodes": 2,
"healthyNodes": 2,
"degradedNodes": 0,
"offlineNodes": 0,
"totalStreams": 0,
"activeStreams": 0,
"totalBandwidthMbps": 0,
"averageCpuUsage": 0,
"averageMemoryUsage": 29.91552734375,
"nodesByRegion": {},
"nodesByRole": {},
"managerNodes": [
"etcd-node1"
],
"electedLeader": "",
"uptimeSeconds": "42",
"clusterState": "normal"
}
}
}

扫码关注公众号"不卡科技"
包含最佳实践、技术原理、最新活动



扫码加入不卡科技QQ 群

