Updates
This commit is contained in:
@@ -35,7 +35,7 @@ After the server starts once:
|
||||
|
||||
```bash
|
||||
sudo grep -E '^(SERVER_PUBLIC_KEY|SERVER_SEED)=' /opt/peardata/.env
|
||||
curl -s http://127.0.0.1:19999/api/v3/info
|
||||
curl -s http://127.0.0.1:18888/api/v3/info
|
||||
```
|
||||
|
||||
## Install from source
|
||||
@@ -55,7 +55,7 @@ npm run start:server
|
||||
Banner shows:
|
||||
|
||||
- **publicKey** — dial this from the desktop (viewer)
|
||||
- **rest** — e.g. `http://127.0.0.1:19999/api/v3/info`
|
||||
- **rest** — e.g. `http://127.0.0.1:18888/api/v3/info`
|
||||
- **admin** — use `SERVER_SEED` from `.env` or mint `pd1.` invites
|
||||
|
||||
Agent persists identity in `.env` on first boot.
|
||||
@@ -63,10 +63,10 @@ Agent persists identity in `.env` on first boot.
|
||||
### REST smoke tests
|
||||
|
||||
```bash
|
||||
curl -s http://127.0.0.1:19999/api/v3/info
|
||||
curl -s http://127.0.0.1:19999/api/v1/charts | head
|
||||
curl -s 'http://127.0.0.1:19999/api/v3/data?chart=system.cpu&after=-60&points=60'
|
||||
curl -s 'http://127.0.0.1:19999/api/v3/allmetrics?format=prometheus' | head
|
||||
curl -s http://127.0.0.1:18888/api/v3/info
|
||||
curl -s http://127.0.0.1:18888/api/v1/charts | head
|
||||
curl -s 'http://127.0.0.1:18888/api/v3/data?chart=system.cpu&after=-60&points=60'
|
||||
curl -s 'http://127.0.0.1:18888/api/v3/allmetrics?format=prometheus' | head
|
||||
```
|
||||
|
||||
Disable REST: `PEARDATA_REST=0`.
|
||||
@@ -76,7 +76,7 @@ Disable REST: `PEARDATA_REST=0`.
|
||||
On by default. Agent banner shows `hyperdb:` public key.
|
||||
|
||||
```bash
|
||||
curl -s http://127.0.0.1:19999/api/v3/db | jq
|
||||
curl -s http://127.0.0.1:18888/api/v3/db | jq
|
||||
```
|
||||
|
||||
Warm history is written about once per minute (tier1). Linked-node Hyperswarm sync:
|
||||
@@ -146,7 +146,7 @@ From-source Node agents can still use `npm run start:server` under a custom unit
|
||||
|
||||
## Next reading
|
||||
|
||||
- **[User guide](../user-guide/README.md)** — Charts, Metric Correlations, Fleet, Alerts
|
||||
- **[User guide](../user-guide/README.md)** — Charts, Metric Correlations, Logs, Fleet, Alerts
|
||||
- [REST-API.md](./REST-API.md)
|
||||
- [ARCHITECTURE.md](./ARCHITECTURE.md)
|
||||
- [ROADMAP.md](./ROADMAP.md)
|
||||
|
||||
Reference in New Issue
Block a user