Updates
This commit is contained in:
@@ -167,8 +167,8 @@ Banner fields on agent start:
|
||||
| Query `source` field | `memory-tier0` \| `memory-tier1` \| `hyperdb-warm` |
|
||||
|
||||
```bash
|
||||
curl -s http://127.0.0.1:19999/api/v3/db | jq
|
||||
curl -s 'http://127.0.0.1:19999/api/v3/data?chart=system.cpu&after=-3600&tier=1&points=120' | jq '.source'
|
||||
curl -s http://127.0.0.1:18888/api/v3/db | jq
|
||||
curl -s 'http://127.0.0.1:18888/api/v3/data?chart=system.cpu&after=-3600&tier=1&points=120' | jq '.source'
|
||||
```
|
||||
|
||||
---
|
||||
@@ -286,9 +286,9 @@ Manual:
|
||||
|
||||
```bash
|
||||
npm run start:server
|
||||
curl -s http://127.0.0.1:19999/api/v3/db | jq
|
||||
curl -s http://127.0.0.1:18888/api/v3/db | jq
|
||||
# wait ~60s for first warm bucket, then:
|
||||
curl -s 'http://127.0.0.1:19999/api/v3/data?chart=system.cpu&after=-7200&tier=1&points=120' | jq '.source,.points'
|
||||
curl -s 'http://127.0.0.1:18888/api/v3/data?chart=system.cpu&after=-7200&tier=1&points=120' | jq '.source,.points'
|
||||
# expect "hyperdb-warm" after restarting the agent with the same PEARDATA_DATA_DIR
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user