changefeed

Open source · SRE · Change intelligence

What changed before it broke?

changefeed puts every production change on one timeline: deploys, Argo CD syncs, ConfigMap edits, Helm releases, Terraform applies, AWS console changes and feature flags. When an alert fires, it ranks the changes most likely to have caused it, and shows why.

Try the sample incident
$docker run --rm -p 8080:8080 ghcr.io/yousafkhamza/changefeed:v0.3.0 serve --demo
Install in your cluster
$helm install changefeed oci://ghcr.io/yousafkhamza/charts/changefeed -n changefeed --create-namespace
Single Go binaryRead-only collectorsSecret values never storedApache-2.0
14:32 UTC · checkout-api 5xx at 12%

This is the same sample incident that serve --demo loads, scored with the same rules as the server. Click a dot or a row.

The first ten minutes of an incident

Most outages start with a change. Finding that change is still manual work.

"Did anyone deploy?"

The answer is spread across tools

Deploys are in GitHub, syncs are in Argo CD, Terraform runs are in CI logs, console clicks are in CloudTrail, and flag changes are in another SaaS. Someone has to check each one while the alert keeps firing.

"It was only a config change"

Some changes skip the pipeline

A kubectl edit on a ConfigMap, a flag ramp or an RDS parameter change never shows up as a deploy. These are the changes people forget to mention.

"Which of these 40 changes?"

A list is not an answer

changefeed links each PR to its pipeline run, Argo CD sync and rollout. It then scores each change set against the alerting service and its dependencies.

How it works

Collect, normalize, correlate, answer.

Collectors only read. Every event is converted to one CloudEvents-compatible schema, redacted, and linked to the other events from the same change before it is stored.

Sources

GitHub Actions action · OIDC
Argo CD notifications webhook
Kubernetes watch: rollouts, ConfigMaps, scale
Helm release metadata
Terraform plan JSON · planlens
AWS CloudTrail EventBridge · write calls only
Feature flags LaunchDarkly · Unleash · Flagsmith
Alertmanager alerts open incidents
Runbooks, scripts CLI · CloudEvents API

changefeed server

1
Collect

Kubernetes is watched in-cluster with get/list/watch. Everything else pushes, with retries and deduplication by event ID.

2
Normalize

Every change becomes a ChangeEvent: who, what, where, when, kind, risk, revision and links.

3
Redact

Sensitive keys and Secret-sourced env vars are masked. Tokens, keys, JWTs and URL credentials in diffs are removed before storage.

4
Correlate

Events are grouped into change sets by PR number and commit SHA. A full SHA, an Argo CD revision and a short image tag all match.

5
Rank

Change sets are scored against an incident by service, dependencies, time gap, risk and whether they skipped CI. Every point has a reason.

storage: SQLite on one volume, or Postgres for several replicas · retention 30 days

Where you read it

Web timeline shareable incident links
CLI since 1h · suspects
Grafana annotations on any panel
REST API JSON · CloudEvents
Prometheus deploy frequency, ingest health
Slack incident posts · /changefeed
AI assistants MCP server, read-only
Delivery metrics deploys/day · change failure rate

Integrate

Start with the cluster, then add sources one at a time.

Each source works on its own, so you can start with Kubernetes alone and add GitHub, Argo CD and CloudTrail later. Every write credential is limited to its own lane.

Use it where you already work

Changes show up in the tools on-call already has open.

CLI

For a quick check from a terminal during an incident.

$ changefeed suspects --service checkout-api --at 14:32
RANK  SCORE  WHEN   CHANGE
1     80     T-21m  PR #412 merged: lower PSP timeout, add circuit breaker (4 events)
2     68     T-13m  rds ModifyDBParameterGroup on orders-db (console)
3     62     T-40m  Flag fast-checkout ramped 10% → 50%
4     43     T-49m  PR #407 merged: retry budget for PSP calls (3 events)

Grafana annotations

Each change appears as a marker on your existing panels, through the Infinity data source.

12%6%0% 13:3014:0214:1114:1914:3215:00

Web timeline

Pick the alerting service and time, then paste the link in the incident channel. Everyone sees the same ranked list, the diffs and the linked events.

# a shareable incident view
https://changefeed.example.com/?service=checkout-api&at=2026-11-24T14:32Z&window=60m

API and Prometheus

Every view is a JSON endpoint. Deploy frequency per service falls out of the ingest counter.

GET /api/v1/events?since=1h&env=prod&service=cart
GET /api/v1/suspects?service=checkout-api&at=14:32
# deploys per day, by service
sum by (env) (increase(changefeed_events_ingested_total{kind="deploy"}[1d]))

Secure by default

The questions your security team will ask, answered up front.

Read-only access

The cluster role grants only get, list and watch, or a namespaced Role if you list namespaces. AWS pushes through EventBridge, so changefeed holds no cloud credentials.

No secret values

Sensitive-looking keys are masked. Env vars from Secrets are shown by reference, never resolved. Helm release Secrets are read for their labels only.

No static CI secrets

GitHub Actions sign in with OIDC, checked against allowed repositories and environments. The actor and repository come from the signed token, not the request body.

SSO and team scoping

People sign in with your identity provider (OIDC with PKCE). Groups map to teams that see only their envs and services. Tokens are stored as SHA-256 hashes and scoped the same way.

Hardened image

Distroless, non-root, read-only root filesystem. Signed with cosign keyless, with an SBOM and SLSA provenance on every release.

Built to run in production

Probes, Prometheus metrics, JSON logs, retention purge, a values schema and a helm test. One pod with SQLite, or several behind a PodDisruptionBudget with Postgres.

Releases

What has shipped.

Next: a dependency map built from OpenTelemetry traces, per-cluster agents for multi-cluster setups, PagerDuty and Opsgenie incidents, and Microsoft Teams.

v0.1 · shipped

Timeline and ranking

  • Kubernetes, Helm, Argo CD, GitHub Actions, CloudTrail, Terraform
  • Change sets and ranked likely causes
  • Web UI, CLI, REST API, Grafana, Prometheus
  • Helm chart, signed image, Terraform module
v0.2 · shipped

Where on-call already is

  • Alertmanager opens incidents automatically
  • Slack posts and /changefeed
  • MCP server for AI assistants
  • LaunchDarkly, Unleash, Flagsmith webhooks
  • Postgres and several replicas
v0.3 · available now

Insights and control

  • Deploys per day and change failure rate
  • Change freeze windows with a CI gate
  • OIDC SSO and per-team scoping