Every run, in the dashboards your teams already use.
New in 1.4.5 and off by default: the Pipewright launcher exports metrics and traces over OpenTelemetry (OTLP/HTTP) to any OTLP backend. You see how many runs started, what the rules held or refused, how long a trigger takes to become a run, and the trace of every run down to each pipeline step. Names, counts and times only, never data.
observability.otlppipewright.runs.startedcounterpipewright.runs.refusedcounterpipewright.trigger.latencyhistogrampipewright.runspanparent: trigger- pipewright.usecase
- churn
- pipewright.pipeline
- training
- pipewright.trigger
- landing
- pipewright.state
- PIPELINE_STATE_SUCCEEDED
- children
- one span per step
pipewright.cases.opengaugeYour launcher speaks OpenTelemetry. Your backend does the rest.
Every trigger passes through the launcher: landing files, schedules, API calls, run requests, retrain decisions and the scheduled checks. Until now, the platform's own charts knew requests and CPU, not use cases and runs. With the export on, the launcher sends what it knows in the standard format, so Grafana, Datadog, Honeycomb, Google Cloud’s own Cloud Trace and Managed Service for Prometheus, or any other OTLP backend can chart it and alert on it.
Six metrics, stable in 1.x
Runs started, refused and deduplicated, the time from trigger to run, retrain cases waiting for a decision, and failed scheduled checks. Names, types, units and attributes are part of the stable surface.
The trace of every run
A span per trigger and per run start; when a run ends, a span for the run and one per step from the orchestrator’s own times, parented to the trigger. On Agent Platform and on Kubeflow.
Operations, not evidence
The record of decisions stays the event log and the evidence. Telemetry never fails a run, changes an outcome or blocks the launcher.
Six metrics and five spans. The contract is generated from the code.
The full contract, with every attribute and its values, is docs/TELEMETRY.md in the Pipewright repository. It is generated from the code, so it cannot drift from what the launcher sends.
| Metric | Typeunit | Attributes | What it counts |
|---|---|---|---|
pipewright.runs.started | counter | usecase, pipeline, trigger | A run the launcher submitted and the orchestrator accepted |
pipewright.runs.refused | counter | usecase, trigger, reason | A trigger not submitted: no live release, an integrity or feature check, a scoring run held for a person, a refused submission, an invalid request |
pipewright.runs.deduplicated | counter | usecase, trigger | A retry absorbed by the deterministic run ID |
pipewright.trigger.latency | histogram (seconds) | trigger, tenant | From the trigger’s own time (a file’s creation, a schedule’s time) to the orchestrator accepting the run |
pipewright.cases.open | gauge | usecase | Retrain cases waiting for a decision |
pipewright.tick.failures | counter | check | A failed pass of one of the launcher’s scheduled checks |
The spans
pipewright.trigger: one per trigger (a landing file, a schedule, an API call, a run request, a check)pipewright.release.read: the live release read for the use casepipewright.run.start: the policy checks, deduplication and the submissionpipewright.run: the run, written when it finishes, parented to its triggerpipewright.step: one per pipeline step, from the orchestrator’s own start and end times
From a trigger to every step
- The run carries its trace. The label
pipewright-traceon the run ties it to the trigger that started it; Kubeflow runs keep the trace in their description. - Both orchestrators. Step spans on Agent Platform Pipelines and on Kubeflow Pipelines on GKE.
- Counters start at 0. The counters a live release can increment are there from the start, so a dashboard sees the first refusal of each kind.
- Traces you can sample.
sample_ratiosets the share of traces kept (default 1, every trace). Metrics are exported every 60 seconds by default.
Names, counts and times. Never data.
Telemetry leaves your project, often for a third-party tool, so the launcher decides what goes out before anything is sent, and keeps itself safe when the backend is slow or down.
- Allowlisted attributes only. Every metric and span attribute is on a fixed list; any other is dropped before export.
- Never exported: file and object names, personal data, row values, feature values, predictions, SQL text, credentials and headers.
- Bounded values. A value outside its list becomes
other. Run, case and release IDs go on spans only, never on metrics. - A series budget. At most 5,000 active series per environment; beyond it, new combinations are recorded as
otherand the launcher logs it once.
- It never fails a run. Bounded queues that drop when full, a 10 second export timeout, a 5 second flush at shutdown, and one log line a minute while exports fail.
- It never blocks the launcher. A backend outage loses some telemetry and nothing else.
- A caller cannot take over a trace. A
traceparentsent by a caller is recorded as a span link, never adopted as the parent, and never sets a team, use case or decision. - Nothing loaded when off. The
otelextra is in the launcher image; without the setting, nothing is imported.
One dashboard per reader. Import them and go.
Four Grafana dashboards come with Pipewright, in the core repository’s examples/telemetry, built only on the telemetry contract. A demo traffic generator sends what a busy launcher would, for five made-up use cases, so you can try them without a platform. The screenshots below are from that demo. Select a picture to see it full size.
In Grafana, import a file and choose a Prometheus and a Tempo data source. Any backend that stores OTLP metrics under Prometheus names works: Grafana Cloud, Google Cloud Managed Service for Prometheus read through Grafana, Mimir, or Prometheus 3 with its OTLP receiver.
One setting in the manifest. Off until you set it.
The export is on when the environment’s manifest has observability.otlp: an OTLP/HTTP endpoint, usually an OpenTelemetry Collector. The starter and Pipewright Enterprise write it for you. Nothing about your existing use cases changes when you upgrade to 1.4.5.
# Google's OpenTelemetry Collector as a sidecar beside the launcher: # traces to Cloud Trace, metrics to Managed Service for Prometheus otlp = {} # or straight to another OTLP/HTTP backend, the token in Secret Manager otlp = { endpoint = "https://otlp.example.com" headers_secret = "projects/example-project/secrets/otlp-headers/versions/1" }
The Collector’s redaction processor keeps the same allowlist of attributes before anything leaves, a second line of defence. The sidecar is not a startup dependency of the launcher.
spec:
observability:
otlp:
gateway:
image: <your registry>/mirror/.../otelcol-google@sha256:...
min_instances: 2
sample_ratio: 1
# optional: a vendor, through a route the platform approves
vendor:
endpoint: https://otlp.example.com
authorization_secret: projects/example-project/secrets/vendor-token/versions/1The telemetry gateway runs where the launcher runs: on Cloud Run (internal ingress, in the VPC) or as a Deployment on private GKE, with its own identity. Traces go to Cloud Trace and metrics to Managed Service for Prometheus inside the perimeter; a vendor only when the platform file names one.
observability:
otlp:
endpoint: https://otlp.example.com # http only to localhost or in-cluster
headers_secret: projects/example-project/secrets/otlp-headers/versions/1
sample_ratio: 1 # the share of traces kept
interval_seconds: 60 # how often metrics are exported
$ pipewright doctor --env test
# says whether telemetry export is on, and refuses an invalid settingThe secret holds the exporter’s headers (a vendor token); the manifest names the secret, never the value.
Small, and in your own project. From Google’s list prices.
Telemetry is billed by your backend. On Google Cloud, Managed Service for Prometheus bills per sample and Cloud Trace per span; the launcher’s volume is low. The starter’s README puts its telemetry at about $1 a month for a small environment.
| Item | The startersidecar Collector | Pipewright Enterprisetelemetry gateway |
|---|---|---|
| Managed Service for Prometheus | $0.06 per million samples (about $0.65 a month for 10 use cases) | $0.06 per million samples (about $5 a month for 100 use cases) |
| Cloud Trace | 2.5 million spans a month free, then $0.20 per million | 2.5 million spans a month free, then $0.20 per million |
| The Collector’s configuration secret | $0.06 a month | $0.06 a month |
| The Collector | The sidecar’s memory (256 MiB) while a launcher instance runs | Cloud Run: about $98 a month at 2 instances (about $49 at 1). Private GKE: 2 pods of 0.5 vCPU and 512 MiB on the existing nodes, no new resource |
| A vendor route | Not applicable | Through Private Service Connect, about $7.30 a month plus $0.01 per GB |
With the launcher on Cloud Run, telemetry leaves while requests run and when an instance stops, so a quiet instance may hold some of it until its next request. cpu_always sends it at once, at the cost of instance-based billing (about $0.0648 an hour per launcher instance while one is up).
The telemetry gateway is the one auditable way out: it runs inside the service perimeter on Cloud Run or private GKE, its image pinned by digest from your registry, its redaction processor keeps the contract’s attributes only, and the manifest names it, so nothing else can be the endpoint. See Enterprise.
Your runs, next to everything else you watch.
Telemetry export is in the open-source core, off until you set observability.otlp. Start with the sample dashboards and the demo traffic, then point it at your own backend.