Skip to main content

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.

PanelWhat it shows
Runs by statusRunning, succeeded, failed, errored counts.
Success rateSucceeded vs. failed over time.
Worker podsPods by phase; pending pods with the reason (scheduling, image pull).
Run / step durationHow long each run and each step took.
Step CPU / memoryPer-step resource use, per run.

Logs

Run logs are available in Grafana and via the API.

GrafanaExploreWorkflow 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