-
Notifications
You must be signed in to change notification settings - Fork 88
RESTful API For Cherry Stats
Echo edited this page Apr 6, 2018
·
2 revisions
Request
GET /saltshaker/api/v1.0/cherry/stats?product_id=p-1dead8ee322811e8ab56000c298454d8
Response
HTTP/1.1 200 OK
Content-Type: application/json
{
"CherryPy Applications": {
"Uptime": 18721076.225445032,
"Bytes Read/Second": 0,
"Current Time": 1522203023.77393,
"Server Version": "3.8.0",
"Total Time": 0,
"Enabled": true,
"Start Time": 1503481947.548474,
"Bytes Written/Second": 0,
"Total Bytes Read": 0,
"Current Requests": 0,
"Total Requests": 0,
"Requests": {},
"Bytes Read/Request": 0,
"Total Bytes Written": 0,
"Requests/Second": 0,
"Bytes Written/Request": 0
},
"CherryPy HTTPServer 40059728": {
"Bytes Read": -1,
"Accepts/sec": 0,
"Socket Errors": 0,
"Accepts": 0,
"Threads Idle": 47,
"Enabled": false,
"Bind Address": "('0.0.0.0', 8000)",
"Read Throughput": -1,
"Queue": 0,
"Run time": -1,
"Worker Threads": {
"CP Server Thread-31": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-10": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-38": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-13": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-12": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-18": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-11": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-28": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-29": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-48": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-49": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-44": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-23": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-20": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-21": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-26": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-41": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-42": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-25": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-15": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-14": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-16": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-22": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-45": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-46": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-3": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-47": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-7": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-6": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-43": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-4": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-40": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-9": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-8": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-5": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-27": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-35": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-34": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-37": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-36": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-17": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-30": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-33": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-32": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-19": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-24": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-39": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-52": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-51": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
},
"CP Server Thread-50": {
"Bytes Read": 0,
"Bytes Written": 0,
"Read Throughput": 0,
"Requests": 0,
"Work Time": 0,
"Write Throughput": 0
}
},
"Threads": 50,
"Bytes Written": -1,
"Requests": -1,
"Work Time": -1,
"Write Throughput": -1
},
"status": true,
"message": ""
}