Storm docs logo
Search the docs.../
Explore Storm Products

Server Metrics

Returns server metrics including resource usage and historical data for bandwidth, viewers, and streams.

Request

PropertyValue
MethodGET
URL/api/statistics/server-metrics
Content-Typeapplication/json
AuthenticationBearer Token
Request
Code iconbash
curl -X GET "{BASE_URL}/api/statistics/server-metrics" \
  -H "Authorization: Bearer YOUR_TOKEN"

Response Body

General

ParameterTypeDescription
data.launchDateintegerServer launch time (Unix timestamp in ms)
data.cpuUsagePercentstringCurrent CPU usage percentage

Memory

ParameterTypeDescription
data.memory.totalMemoryintegerTotal available memory in bytes
data.memory.currentMemoryintegerCurrently used memory in bytes
data.memory.usagePercentstringMemory usage percentage

Network

ParameterTypeDescription
data.network.inBandwidthintegerIncoming bandwidth in bytes/sec
data.network.outBandwidthintegerOutgoing bandwidth in bytes/sec
data.network.inTotalBytesintegerTotal incoming bytes
data.network.outTotalBytesintegerTotal outgoing bytes

Thread Pools

ParameterTypeDescription
data.threadpools.workersTotalCountintegerTotal number of worker threads
data.threadpools.workersActiveCountintegerActive worker threads
data.threadpools.readersTotalCountintegerTotal number of reader threads
data.threadpools.readersActiveCountintegerActive reader threads
data.threadpools.sendersTotalCountintegerTotal number of sender threads
data.threadpools.sendersActiveCountintegerActive sender threads
data.threadpools.transportTotalCountintegerTotal number of transport threads
data.threadpools.transportActiveCountintegerActive transport threads

Incoming Bandwidth History

ParameterTypeDescription
data.incomingBandwidthHistoryobjectIncoming bandwidth history
data.incomingBandwidthHistory.currentnumberCurrent incoming bandwidth in bytes/sec
data.incomingBandwidthHistory.averagenumberAverage incoming bandwidth in bytes/sec
data.incomingBandwidthHistory.maxnumberMaximum incoming bandwidth in bytes/sec
data.incomingBandwidthHistory.dataarrayArray of historical data points
data.incomingBandwidthHistory.data[].timestampintegerData point timestamp (Unix timestamp in ms)
data.incomingBandwidthHistory.data[].valueintegerIncoming bandwidth value in bytes/sec

Outgoing Bandwidth History

ParameterTypeDescription
data.outgoingBandwidthHistoryobjectOutgoing bandwidth history
data.outgoingBandwidthHistory.currentnumberCurrent outgoing bandwidth in bytes/sec
data.outgoingBandwidthHistory.averagenumberAverage outgoing bandwidth in bytes/sec
data.outgoingBandwidthHistory.maxnumberMaximum outgoing bandwidth in bytes/sec
data.outgoingBandwidthHistory.dataarrayArray of historical data points
data.outgoingBandwidthHistory.data[].timestampintegerData point timestamp (Unix timestamp in ms)
data.outgoingBandwidthHistory.data[].valueintegerOutgoing bandwidth value in bytes/sec

Viewer Count History

ParameterTypeDescription
data.viewerCountHistoryobjectViewer count history
data.viewerCountHistory.currentintegerCurrent viewer count
data.viewerCountHistory.averagenumberAverage viewer count
data.viewerCountHistory.maxintegerMaximum viewer count
data.viewerCountHistory.dataarrayArray of historical data points
data.viewerCountHistory.data[].timestampintegerData point timestamp (Unix timestamp in ms)
data.viewerCountHistory.data[].valueintegerViewer count at the given timestamp

Stream Count History

ParameterTypeDescription
data.streamCountHistoryobjectStream count history
data.streamCountHistory.currentintegerCurrent stream count
data.streamCountHistory.averagenumberAverage stream count
data.streamCountHistory.maxintegerMaximum stream count
data.streamCountHistory.dataarrayArray of historical data points
data.streamCountHistory.data[].timestampintegerData point timestamp (Unix timestamp in ms)
data.streamCountHistory.data[].valueintegerStream count at the given timestamp

Metadata

ParameterTypeDescription
meta.executionTimeintegerRequest processing time in milliseconds
meta.generatedAtintegerResponse generation timestamp (Unix timestamp in ms)
Successful Response (200)
Code iconjson
{
  "data": {
    "launchDate": 1764671260701,
    "cpuUsagePercent": "12.28",
    "memory": {
      "totalMemory": 25769803776,
      "currentMemory": 2604718060,
      "usagePercent": "10.11"
    },
    "network": {
      "inBandwidth": 1067023,
      "outBandwidth": 1595614,
      "inTotalBytes": 164766288812,
      "outTotalBytes": 244682447629
    },
    "threadpools": {
      "workersTotalCount": 96,
      "workersActiveCount": 2,
      "readersTotalCount": 48,
      "readersActiveCount": 0,
      "sendersTotalCount": 144,
      "sendersActiveCount": 2,
      "transportTotalCount": 96,
      "transportActiveCount": 2
    },
    "incomingBandwidthHistory": {
      "current": 1145375,
      "average": 878824.39,
      "max": 1918259,
      "data": [
        { "timestamp": 1764847013251, "value": 1145375 },
        { "timestamp": 1764846983251, "value": 987638 },
        { "timestamp": 1764846953251, "value": 976061 }
      ]
    },
    "outgoingBandwidthHistory": {
      "current": 1766429,
      "average": 1294576.78,
      "max": 2867107,
      "data": [
        { "timestamp": 1764847013251, "value": 1766429 },
        { "timestamp": 1764846983251, "value": 1325796 },
        { "timestamp": 1764846953251, "value": 1463568 }
      ]
    },
    "viewerCountHistory": {
      "current": 0,
      "average": 0,
      "max": 0,
      "data": [
        { "timestamp": 1764847013251, "value": 0 },
        { "timestamp": 1764846983251, "value": 0 },
        { "timestamp": 1764846953251, "value": 0 }
      ]
    },
    "streamCountHistory": {
      "current": 4,
      "average": 4,
      "max": 4,
      "data": [
        { "timestamp": 1764847013251, "value": 4 },
        { "timestamp": 1764846983251, "value": 4 },
        { "timestamp": 1764846953251, "value": 4 }
      ]
    }
  },
  "meta": {
    "executionTime": 0,
    "generatedAt": 1764847032779
  }
}

Error Response (4xx/5xx)

ParameterTypeDescription
messagestringHuman-readable error message
Error Response
Code iconjson
{
  "message": "Error message"
}
Support Needed?

Create a free ticket and our support team will provide you necessary assistance.

Blog
Support
About us
Patents
Term of use
Privacy policy
Contact
©2026 Storm Streaming Media. All Rights Reserved.