Agent
HTTP API
The routes FlowShape's page uses, for your own checks.
Every route needs Authorization: Bearer <key>.
| Route | Answers |
|---|---|
GET /v1/info | the version, the machine's name and the sources, with when each was collected; with --grafana, Grafana's address and label |
POST /v1/collect | collects every source again, then answers like /v1/info |
GET /v1/sources/<id> | one source's output, secrets dropped (kubectl and Terraform JSON is re-serialised) |
GET /v1/monitoring | Grafana's data sources: metrics, logs, traces |
GET /v1/monitoring/status?names=a,b | per name: up, the share of 5xx answers, p95 latency, requests a minute |
GET /v1/monitoring/logs?name=a | the latest log lines of one item |
GET /v1/monitoring/traces?name=a | recent traces through one item, with links into Grafana |