Home / Platform / Events

One event stream. Every team sees what it needs.

Everything Pipewright does, from a run starting to a model approved, a drift alert or an A/B test decided, is an event on one Pub/Sub topic in your project. Each team subscribes with a one-line filter and sends what it tracks to the tools it already uses. Nobody waits for the platform team to build an integration, and Pipewright carries no vendor code.

Who tracks what

Six teams, one topic, no integration project.

Every event names the teams it is for. A team's subscription filter is one attribute, so it never needs updating when Pipewright adds an event: a new event for SRE reaches SRE's subscription the day it ships.

ML team

Did my run train, pass its gates and register? Is my model drifting? Is a retrain waiting for a decision?

  • training.evaluated
  • monitoring.alert
  • retrain.proposed
  • run.failed

Platform and SRE

Are runs starting and finishing? Did anything fail, stall or lose its lock? What changed on the endpoints?

  • run.submitted
  • run.failed
  • model.deployed
  • model.lock.failed

Governance and audit

Who approved what, and on which evidence? Did anything approved change? Is a break-glass exception in force?

  • model.approved
  • run.integrity
  • model.integrity
  • policy.override

Product

What is live, what is being tested against it, and which version won?

  • release.live
  • ab_test.started
  • ab_test.decided
  • loop.closed

Data team

Which features and labels did each run read? Is an online store stale? Whose rows were erased?

  • data.features.resolved
  • online.stale
  • online.synced
  • data.erased

FinOps

What started a cluster, grew a pool or billed lookups, and for which team?

  • ray.cluster.created
  • serving.pool.change
  • online.billed
Why this design

Pub/Sub in the middle, your tools at the edges.

Most platforms pick your alerting tool for you. Pipewright publishes facts and lets each team route them.

  • No vendor code. Slack, PagerDuty, Datadog, Splunk or a ticket queue: each is a subscriber, added without changing Pipewright.
  • One contract. Every message has the same attributes, so one filter grammar serves every team.
  • Decisions carry who. Approvals, deploys, rollbacks and A/B decisions name the person and how it was approved.
  • Nothing is lost. The same events are kept in a BigQuery event log for audits, and in Cloud Logging.
  • Stays inside your perimeter. The topic is in your project, regional and private where your environment is.
  • Email included. pipewright alerts sync turns chosen events into email, one consumer among many.
  • Can never drift. The list of events is generated from Pipewright's code, and a test fails when an event is missing from it.
  • Serving health too. In 1.4.3, endpoint degradation and recovery arrive on the same topic.
  • Why a run failed. Since 1.4.4, run.failed carries the cause, its owner (team or platform) and the next step, and run.submit_failed records a run that never started.
Try it

From question to subscription in two commands.

Ask Pipewright for a persona's filter, then subscribe. Everything that persona tracks arrives from then on.

terminal
$ pipewright events --persona sre --filter
attributes:pw_sre

$ gcloud pubsub subscriptions create sre-pipewright \
    --topic pw-events --message-filter 'attributes:pw_sre'

$ pipewright events --family ab_test --filter
hasPrefix(attributes.event_type, "ab_test.")

See every event, by team.

All 90 event types: when each is sent, by what, and for whom.