All posts
platform-engineeringai-era-delivery

Platform Engineering KPIs and Metrics: What to Measure in the AI Era

The leading and lagging indicators that show whether platform engineering works: operational toil, delivery flow, developer experience, the cloud estate, and the AI agents that now change infrastructure.

Pravanjan Choudhury
Pravanjan Choudhury
Apr 11, 2024 · 6 min read

Platform engineering results show up late. A new self-service path or module can take months to change how teams ship. So you need two kinds of measures: early signals that tell you within weeks whether you are on track, and late confirmations that tell you the change worked.

We use two key concepts for this: leading and lagging indicators. Leading indicators predict future trends and act as early alerts. Lagging indicators confirm these trends after the event and show the long-term benefits.

  • Leading Indicators: These serve as our early warning system. Similar to the dashboard indicators in a vehicle, they quickly alert us to potential issues, allowing us to make adjustments before minor issues escalate into major problems. They provide a snapshot of current operations, enabling us to act swiftly and effectively.
  • Lagging Indicators: These come into play after we've made changes, offering a delayed reflection of those actions. They help us understand the full impact of our initiatives, confirming whether the adjustments we've made are delivering the desired long-term benefits.

Diagram of leading and lagging indicators on one timeline. On day 0, the platform team makes a change, such as a new module, policy or self-service path. Weeks later, leading indicators give early signals: ops tickets, the time requests wait and provisioning time. A quarter later, lagging indicators confirm the result: lead time to production, change failure rate and cost per environment.

Platform engineering KPIs at a glance

AreaLeading indicator (weeks)Lagging indicator (a quarter)
Operational toilFewer ops tickets, shorter environment provisioning time, fewer operational incidentsShare of the operations team's time that goes to platform improvements instead of tickets
Delivery flowRequests that wait on the platform team, and how long they waitLead time from merged code to production, and the change failure rate
Developer experienceOnboarding time, deployment frequencyDeveloper satisfaction and lead time, tracked together
Cloud estateNon-production cost, time spent on upgrades, findings in security scansCloud cost per environment, and audit findings that come back

Here are the specific indicators we track to gauge the success of our platform engineering initiatives.

1. Reduction in Operational Tasks

  • Description: This indicator measures the decrease in manual, repetitive tasks that often bog down the operations team.
  • Significance: By reducing these tasks, we free up our team to concentrate on more valuable activities, such as enhancing system performance and service quality. The team can then adapt quickly to new challenges.
  • Leading Indicators:
    • Decrease in Operational Tickets: We track the reduction of manual operations tickets created by development teams, indicating smoother workflows post platform engineering implementation.
    • Shorter Environment Provisioning Times: We measure how much quicker new testing or business environments can be launched, thanks to automation and self-service capabilities.
    • Fewer Operational Incidents: We evaluate the decline in infrastructure failures and the speed of recovery, reflecting an overall improvement in system reliability.
  • Lagging Indicator: Over a quarter, the share of the operations team's time that goes to platform improvements instead of tickets.

What good looks like: Facets customers typically cut DevOps toil by 80%. A Fortune-50 automotive company reduced DevOps tickets by 75% across 350 applications and 1,500 engineers.

2. Enhanced Developer Experience and Productivity

  • Description: This focuses on improving the satisfaction and efficiency of our developers.
  • Significance: Enhancing the developer experience leads to faster onboarding of new team members, improved collaboration across teams, and ultimately, quicker and more reliable software deliveries.
  • Leading Indicators:
    • Accelerated Onboarding: We assess how platform engineering reduces the time required for new developers to become fully productive, thanks to standardized processes across teams.
    • Increased Deployment Frequency: We monitor the rate of software releases, which signals a boost in confidence and autonomy among developers regarding their work. DevOps metrics explained covers the four DORA metrics in detail.
    • Requests that wait on the platform team: We track how many infrastructure changes still need a ticket or a pipeline change, and how long they wait in the delivery queue.
    • Changes shipped by agents inside the rules: We track the share of infrastructure changes that AI assistants or agents propose and that pass contracts and policy without rework.
  • Lagging Indicator: Over a quarter, the lead time from merged code to production and the change failure rate.

3. Improved Cloud Infrastructure

  • Description: This indicator focuses on the stability, security, and efficiency of our cloud services.
  • Significance: A strong cloud infrastructure is essential for any organization that relies on cloud technology. Improved compliance with best practices in cloud services reduces vulnerabilities and operational risks, which is crucial for maintaining high service availability and data security. This, in turn, strengthens trust among stakeholders and customers.
  • Leading Indicators:
    • Cost Efficiency: We track reductions in costs, especially in non-production environments, as an early indicator of broader financial benefits.
    • Streamlined Upgrades: We monitor the time spent on system upgrades, aiming for quicker transitions to newer, more secure versions.
    • Reduced Compliance Issues: We keep an eye on the frequency of non-compliances detected in security scans, such as audits or penetration tests, as a measure of our improved cloud security posture.
  • Lagging Indicator: Over a quarter, the cloud cost per environment and the number of audit findings that come back.

4. Delivery in the AI era

AI changed what a platform team has to measure. Coding assistants write more code, so more changes reach the delivery queue every week, and AI agents now send changes too. The key measure of a platform is now how fast and how safely a change moves from merged code to production, for people and agents alike. Track the wait as well as the work:

  • Wait time by cause: How long a change waits for an environment, a pipeline change or an approval. If coding gets faster and this number grows, the bottleneck has moved to delivery.
  • First-pass rate: The share of changes, from people and agents, that pass the module contracts and guardrail policies on the first try. A low rate means the rules are unclear or the building blocks are missing.
  • Change failure rate of agent-made changes: Measure it apart from the changes people make, so you can see whether agents are ready for more freedom.
  • Trust step: For each type of change, the step it has reached: observe, recommend, act with approval or act within policy. Trust in infrastructure agents is earned in steps, and the release history tells you when a type of change is ready for the next one.

These measures only work when every change goes through one path. When the platform team writes the rules and everyone ships inside them, each change leaves a record that you can count. Platform teams write the rules. Everyone ships describes that model.

Gauging the Future Impact of Platform Engineering

Through tracking these leading and lagging indicators, we can evaluate the impact of our platform engineering efforts. Leading indicators let us adjust early. Lagging indicators show how far we have come, for the operations team, for developers and for the cloud estate. In the AI era, the number to watch most closely is the time a change waits between merged code and production. To see how that wait can shrink, read why Facets.

Frequently asked questions

Tags

#developer-experience#platform-engineering#developer-productivity-