Software Design & Development

Production SLOs Decide Whether Your Strategy Works

An AI-assisted engineering rollout can increase merged pull requests while making production harder to operate. For a DevOps engineer, that is a failed rollout, even if developers say the tool saves time. I would judge it by stable changes delivered per eligible work item, alongside on-call effort and spend. The contentious part is treating incident load as part of productivity rather than as someone else’s problem.

More deployments do not mean more useful work reached production

Deployment frequency is a useful DORA metric, but it is a poor verdict on AI assistance by itself because smaller or less consequential changes can raise the count without improving delivery. Start with an eligible work item: a ticket accepted into a team’s queue before anyone decides whether to use AI. Follow it through merge, deployment, rollback, and any related reopen. Keeping the original denominator matters because counting only AI-assisted pull requests lets the team quietly exclude work where assistance was unhelpful.

For each eligible item, record whether a change reached production and stayed there through a review window. A seven-day window is a threshold to tune to your release cadence: it catches many quick reverts without leaving every result open indefinitely. Report the share of eligible items that became stable production changes, plus the distribution of time from acceptance to deployment. Use the median and the 90th percentile together, because a faster median can conceal a growing queue of difficult changes.

The question Can Your 20-Person Engineering Team Prove AI Works? is worth asking, but a team-level total cannot tell the on-call engineer whether the improvement survived deployment. Break results down by service and change risk: a documentation-only release and a database migration should not contribute equally to a claim about operational success. Keep the categories few enough that each has a usable sample, and publish the number of items behind every percentage.

I would not use AI prompt counts, generated lines, or merged pull requests as the success metric, because none requires the resulting change to run safely for users. Those figures can help explain adoption, but they cannot settle whether the rollout works. A credible claim needs a delivery outcome and a production cost in the same reporting period.

Change identity must survive the trip from ticket to incident

Attribution fails when the ticket system, CI pipeline, deployment controller, and incident log use unrelated names. Give each eligible item a durable identifier, then carry it in the pull-request metadata, the GitHub Actions build output, and the Argo Rollouts deployment annotation. Associate deployments with a Git commit SHA and service name. If one deployment contains several items, retain that many-to-one relationship rather than pretending an incident belongs to whichever ticket was merged last.

OpenTelemetry can connect application behavior to a deployed revision: attach service and revision attributes to traces, export them over OTLP, and preserve W3C Trace Context’s traceparent across service calls. OTLP/gRPC commonly uses port 4317; that is a protocol endpoint detail, not a performance target. Prometheus can hold request and error-rate series, while Grafana and Tempo let an operator move from an SLO breach to traces for the affected revision. Keep ticket IDs out of high-cardinality Prometheus labels because a distinct value per item expands the time-series set; store that join in deployment metadata instead.

Collect the minimum AI-specific exposure data needed for comparison: whether assistance was enabled for the item, the tool or model version where available, and whether a suggested change entered the final diff. Do not put prompts, source excerpts, or customer data into general-purpose telemetry, because observability retention and access controls may differ from those of the development tool. OpenTelemetry GenAI attributes such as gen_ai.operation.name can identify an instrumented operation, but their presence does not prove that its output caused a production defect.

A compact report can keep the outcomes separate rather than hiding trade-offs in one score. The following Python 3.11 example runs as written; its two rows are hypothetical, not measurements from a team:

runs = {
    "baseline": (80, 42, 4, 120, 80),
    "ai_enabled": (80, 51, 6, 240, 350),
}
for name, (eligible, shipped, reopened, incident_min, usd) in runs.items():
    stable = shipped - reopened
    print(
        f"{name}: stable/eligible={stable / eligible:.1%}, "
        f"oncall_min/stable={incident_min / stable:.1f}, "
        f"usd/stable=${usd / stable:.2f}"
    )

Here, AI-enabled work produces more stable changes per eligible item, yet consumes more on-call minutes and direct spend per stable change. Those figures warrant an investigation, not an automatic rejection: the incident minutes might belong to a shared outage, and the cost might include setup that will not recur. The point of keeping the columns separate is that neither explanation can be assumed away.

A controlled rollout is worth more than a clean before-and-after chart

A before-and-after chart mixes the AI rollout with staffing changes, seasonal traffic, platform upgrades, and shifts in ticket difficulty. Compare groups facing similar work during the same period instead. The framework IT Business Strategy Frameworks for Scaling Software Teams can clarify who owns rollout decisions, but ownership alone cannot establish that the rollout improved production outcomes. The DevOps engineer needs a comparison that can survive a change in workload.

Team-level staggered rollout and time-based switchback are two workable options. A staggered rollout wins when teams own largely separate services: enable assistance for one group first, retain another as a comparison, and compare changes within similar risk categories. Its cost is selection bias, because teams differ in experience, services, and backlog quality. A switchback alternates enabled and disabled periods for the same team, so it wins when those persistent team differences are the larger concern. Its cost is carryover: a developer may reuse an AI-generated approach during an “off” period, and an incident may occur after the period that produced the change.

Define assignment before work starts and analyze items by their assigned condition, even when a developer does not use the available tool. That intent-to-treat view answers whether enabling AI as a policy helps; analyzing only enthusiastic users answers a different, more biased question. Record exceptions rather than deleting them. For operationally risky changes, OpenFeature flags can separate developer access to assistance from release exposure, while Argo Rollouts can limit the production audience of a resulting service change. Neither tool turns a weak experiment into a strong one, but both make exposure auditable.

Set a sample requirement before interpreting the result. For example, 200 eligible items per arm is an initial planning value to adjust after examining normal volume and outcome variance; it is not a universal significance threshold. If a service ships only a handful of comparable changes each month, report uncertainty and inspect individual failures rather than declaring victory from a small percentage difference. Publish exclusions, the planned comparison period, and any rollout pause, because changing those after seeing the graph makes the result difficult to trust.

On-call work belongs in the result, even when the SLO holds

An SLO can remain green while operators absorb more work: someone may manually retry jobs, disable a feature, or spend an evening diagnosing a change before users notice. Track incident minutes, pages, rollbacks, and manual mitigations against deployment revisions. PagerDuty acknowledgments and incident records provide timestamps, but they need a human-reviewed link to the contributing change because temporal proximity alone is not causation. For shared incidents, assign time to the incident and note implicated revisions rather than charging the full duration to every ticket.

Use service-level indicators to catch user impact that tickets miss. Prometheus request error rate and latency histograms can feed an Alertmanager rule and an error-budget view; compare those signals at similar traffic levels because a quiet canary can look healthy while exercising little of the service. A 99.9% availability objective over 30 days is an example service policy to negotiate with the owner, not a number to copy into every application. Also watch queue age and saturation where the AI-assisted changes affect asynchronous work: successful HTTP responses do not prove that downstream jobs finished.

Account for operating cost at the boundary where it is billed. Pull inference charges from the provider’s billing export, infrastructure cost from the cloud bill, and CI consumption from the runner report; use OpenTelemetry token-usage data to investigate changes rather than treating it as an invoice. Report spend per stable production change alongside the absolute total, because a lower unit cost can still exceed the approved budget when volume rises. Keep on-call time visible separately from dollars unless finance has agreed on a conversion rate.

Release gates should follow a written stop rule rather than whoever is most excited by the first graph. A team might pause expansion if the canary consumes an agreed share of its error budget or if on-call minutes per stable change rise beyond a pre-set tolerance across two review periods. Those are values to negotiate with service owners, not defaults supplied by AI vendors. Review the underlying incidents before resuming, because a gate that fires on an unrelated outage should not permanently condemn the rollout.

The first useful result starts with an unassisted baseline

Before enabling the next group, take one service’s existing ticket queue and link its eligible items to Git commits, deployments, reopens, and incident records. Reconstruct the previous release period using the same definitions you intend to use afterward. If that baseline cannot identify which changes stayed in production and how much operator time they consumed, fix the joins first; another dashboard will only make the missing evidence look more polished.