Read what a service calls and what calls it
Returns the calls observed in the range's traces between the service and other services, databases and hosts, with their rate, failure share and 95th-percentile duration. Without observed calls it falls back to the compose file: depends_on entries and environment values that name another service as a host. `serviceName` is a compose service.
Authorization
cloady Personal API token (cldy_…)
In: header
Path Parameters
Query Parameters
Value in
- "production"
- "preview"
- "development"
How far back to look; the answer has 30 to 96 points across it
"1h"Value in
- "15m"
- "1h"
- "6h"
- "24h"
- "7d"
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/workspaces/string/apps/string/services/string/dependencies"{ "source": "traces", "tracing": true, "start": 0, "step": 0, "calls": [ { "peer": { "name": "string", "app": "string", "env": "production", "service": "string", "via": "service" }, "rps": 0, "errorRate": 0, "p95": 0, "trend": [ 0 ] } ], "calledBy": [ { "peer": { "name": "string", "app": "string", "env": "production", "service": "string", "via": "service" }, "rps": 0, "errorRate": 0, "p95": 0, "trend": [ 0 ] } ]}Search a service's traces GET
Returns a sample of the requests the service handled in the range, one per trace, with their method, route, status and duration, plus the range's request count and median and 95th-percentile duration. Filter on `route`, `method` and `status` (2xx to 5xx, or a code). Needs tracing on for the app and an OpenTelemetry SDK in the service; traces are kept for 7 days. `serviceName` is a compose service.
Read a service's routes GET
Returns one row per route over the range, the busiest 100: requests, requests per second, the share answered 5xx, requests per status class and code, duration quantiles, total time spent and a request-rate trend. For the service the app's address routes to, rows come from the ingress access log, which records every request for seven days; route templates there are inferred from paths. Every other service needs the app to send OpenTelemetry spans, whose own routes are used. Filters take the fields `route`, `method` and `status` (a code such as `404` or a class such as `5xx`). `serviceName` is a compose service.