[ci skip] fix json format.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2016-04-15 10:49:39 +08:00
parent 5483769d14
commit 38134bdabc
1 changed files with 38 additions and 38 deletions

View File

@ -123,33 +123,33 @@ Golang cpu, memory, gc, etc information. Response with `200` http status code.
```json ```json
{ {
time: 1460686815848046600, "time": 1460686815848046600,
go_version: "go1.6.1", "go_version": "go1.6.1",
go_os: "darwin", "go_os": "darwin",
go_arch: "amd64", "go_arch": "amd64",
cpu_num: 4, "cpu_num": 4,
goroutine_num: 15, "goroutine_num": 15,
gomaxprocs: 4, "gomaxprocs": 4,
cgo_call_num: 1, "cgo_call_num": 1,
memory_alloc: 7455192, "memory_alloc": 7455192,
memory_total_alloc: 8935464, "memory_total_alloc": 8935464,
memory_sys: 12560632, "memory_sys": 12560632,
memory_lookups: 17, "memory_lookups": 17,
memory_mallocs: 31426, "memory_mallocs": 31426,
memory_frees: 11772, "memory_frees": 11772,
memory_stack: 524288, "memory_stack": 524288,
heap_alloc: 7455192, "heap_alloc": 7455192,
heap_sys: 8912896, "heap_sys": 8912896,
heap_idle: 909312, "heap_idle": 909312,
heap_inuse: 8003584, "heap_inuse": 8003584,
heap_released: 0, "heap_released": 0,
heap_objects: 19654, "heap_objects": 19654,
gc_next: 9754725, "gc_next": 9754725,
gc_last: 1460686815762559700, "gc_last": 1460686815762559700,
gc_num: 2, "gc_num": 2,
gc_per_second: 0, "gc_per_second": 0,
gc_pause_per_second: 0, "gc_pause_per_second": 0,
gc_pause: [ "gc_pause": [
0.326576, 0.326576,
0.227096 0.227096
] ]
@ -158,20 +158,20 @@ Golang cpu, memory, gc, etc information. Response with `200` http status code.
### GET /api/stat/app ### GET /api/stat/app
Get success or failure of notification counts information. Show success or failure counts information of notification.
```json ```json
{ {
queue_max: 8192, "queue_max": 8192,
queue_usage: 0, "queue_usage": 0,
total_count: 77, "total_count": 77,
ios: { "ios": {
push_success: 19, "push_success": 19,
push_error: 38 "push_error": 38
}, },
android: { "android": {
push_success: 10, "push_success": 10,
push_error: 10 "push_error": 10
} }
} }
``` ```