Metrics & Logs in Grafana
Each space gets a Grafana instance for workflow metrics and logs.
Where to find Grafana
https://workflows.prod.caip.api.orbit.eu-central-1.aws.cloud.bmw/v1/spaces/{spaceId}/metrics
What's there
A dashboard scoped to your space. Pick the stage variable and it filters to that stage.
| Panel | What it shows |
|---|---|
| Runs by status | Running, succeeded, failed, errored counts. |
| Success rate | Succeeded vs. failed over time. |
| Worker pods | Pods by phase; pending pods with the reason (scheduling, image pull). |
| Run / step duration | How long each run and each step took. |
| Step CPU / memory | Per-step resource use, per run. |
Logs
Run logs are available in Grafana and via the API.
Grafana → Explore → Workflow API Logs → query by runId.
API — fetch the run for its status and per-task breakdown:
curl "https://workflows.api.caip.bmw.cloud/v1/spaces/{spaceId}/workflows/{workflowId}/runs/{runId}" \
-H "Authorization: Bearer <token>"
See Runs for the full run API.
Related
- FAQ — where to look when a run fails.
- Cross Account Read Access — grant a workflow read access to an external AWS account.