Logo

dev-resources.site

for different kinds of informations.

Building a Metric Program That Actually Works

Published at
12/19/2024
Categories
leadership
metrics
Author
drublic
Categories
2 categories in total
leadership
open
metrics
open
Author
7 person written this
drublic
open
Building a Metric Program That Actually Works

At LeadingEng in Berlin in November this year, I had the opportunity to lead a Table Talk on a topic that has been a significant focus of my work lately: building and implementing effective metric programs. It's a subject that sounds deceptively simple, but as I've discovered, it's a journey filled with complexities and invaluable lessons. This experience has resonated with my reflections on transitioning from engineering to management, as detailed in my blog post From Engineering into Management, where defining clear objectives and measuring progress are paramount for success. Just as in managing teams, managing metrics requires a strategic and thoughtful approach.

Image description
(c) Mikail McVerry

Like many organizations, we initially treated "metrics" as a buzzword. We knew we wanted to be data-driven, but the practical application was hazy. Product teams had their metrics, but engineering felt like a different beast. Were we even measuring the right things?

One of our biggest hurdles was the sheer diversity of our engineering landscape. We had teams working on iOS and Android apps, others building web applications with a mix of programming languages and frameworks. This meant we couldn't just use a one-size-fits-all approach. We needed a flexible framework that could adapt to different development processes and technologies while still providing comparable data across teams.

"Start somewhere" is good advice, but starting without a clear direction can lead you down a rabbit hole of irrelevant metrics. We needed a framework to identify the key indicators that truly reflected our team's impact.

Enter Engineering KPIs: Cutting Through the Noise

This is where Engineering KPIs became our guiding light. By focusing on a small set of clear, measurable metrics aligned with our team's goals, we were able to filter out the noise and focus on what truly mattered.

One specific example stands out: our initial approach to measuring errors. Like everyone else, we tracked the number of errors. But simply counting errors isn't enough. Not all errors are created equal. Some have a negligible impact on users, while others cause major disruptions. So, we took a more nuanced approach. We defined custom metrics that captured the errors with the biggest impact on our users. For example, we started tracking "crash-free users" as a percentage, which gave us a much clearer picture of user experience than just raw error counts.

The most valuable Engineering KPIs are those that directly support key product metrics. For a streaming platform like ours, metrics like video loading speed and buffering time are critical. Improving these, directly contributes to viewer engagement and satisfaction.

Metric Value (Seconds) Change (%)
Average Loading Time (Before) 20 -
Average Loading Time (After) 9 -55%

Table 1: Average Video Loading Time Before and After Optimization

From Data to Action: Turning Insights into Impact

Collecting data without acting on it is a waste of time and resources. The real value comes from using those insights to drive change. We implemented a two-pronged approach:

  1. North Star Metric: A long-term, aspirational goal that aligned with the overall business objectives.
  2. Short-Term Goals: Realistic, achievable targets set within 3-month cycles. This allowed us to iterate quickly and adapt to changing circumstances.

Regular reviews are essential. We established monthly meetings with our teams to discuss progress, analyze data, and adjust our metrics as needed. This continuous feedback loop ensured our metrics remained relevant and impactful.

North Star Metric (Product) Engineering Metric Target (Next 3 Months) Initiatives/Actions
Improve User Retention Average Time to First Interaction (TTFI) Reduce by 20% - Optimize database queries.
- Implement caching strategies.
- Improve API response times.
Error Rate (Specific User-Impacting Errors) Reduce by 10% - Implement more robust error handling.
- Improve automated testing coverage.
- Invest in better monitoring and alerting.
Deployment Frequency Increase by 50% - Implement CI/CD pipelines.
- Automate testing and deployment processes.
- Improve code review practices to facilitate faster releases.

Table 2: An example for engineering metrics with a North Star Goal

Building Buy-In: Metrics as a Team Sport

Metrics aren't just an engineering concern. Getting buy-in from other departments is crucial. We found that adopting OKRs (Objectives and Key Results) helped align metrics across the organization. This fostered a shared understanding of goals and how each team contributed to the overall success. This collaborative approach resonated strongly with the importance of cross-functional collaboration I highlighted in my blog post on The crucial role of an engineering manager in a company's success.

Metrics can be a double-edged sword. They can reveal inefficiencies, but they also celebrate successes. By fostering a culture of data-informed decision-making, we framed failures as learning opportunities and celebrated achievements based on quantifiable impact.

The journey to a successful metric program is ongoing. But by focusing on the right KPIs, taking action on the insights they provide, and fostering collaboration, we can empower our teams to achieve real, measurable business impact.

leadership Article's
30 articles in total
Favicon
βž‘οΈπŸ’‘Guide, Innovate, Succeed: Becoming a Software Development Leader πŸš€
Favicon
What Makes a Good Cloud Architect?
Favicon
Understanding Adam Smith's View on Stock and Profit
Favicon
The Outsourcing Trap: Why Your Product Deserves Better
Favicon
Leadership Unfolded: How I Evolved as a Leader
Favicon
Necessary Skills for software developer !
Favicon
We, Developers are future tech leaders!
Favicon
What Every Innovator and Builder Should Know About Labour
Favicon
Creating Teams That Last: My Year as CTO
Favicon
Labour: The Original Currency of Value
Favicon
Natural vs. Market Prices: How the Market Rebalances Itself
Favicon
Incentives Are for Employees, Entrepreneurs Thrive on Trial & Error
Favicon
The Economic Dragon: One Value, Many Prices
Favicon
How to break the cycle of firefighting and build engineering excellence
Favicon
Currency is What (Almost) Everyone Wants
Favicon
Startup Growth, AI, and Leadership: My Chat with Anna πŸŽ™οΈπŸš€
Favicon
_Principais açáes que vocΓͺ pode tomar para ter sucesso em uma nova Γ‘rea!
Favicon
A failure can teach you more than a ton of courses
Favicon
Why Larger Markets Create Deeper Specializations (ft. Adam Smith)
Favicon
The Next Big Career Trends You Need to Watch in 2025
Favicon
Trevor Forbes on Effective Leadership
Favicon
Why Cloud Cost Management Is Key for Private Equity Portfolio Companies
Favicon
Price = Wage + Profit + Rent
Favicon
Why We Can't Stop Trading (And Why That's A Good Thing!)
Favicon
Tips for CFOs to Unlock 30% Savings on Cloud Spend
Favicon
How Adam Smith Differentiates Money, Capital, Wealth & Goods
Favicon
Empowering Dreams: A Day of Joy and Learning
Favicon
Building a Metric Program That Actually Works
Favicon
Want to Level Up Your Leadership Game? πŸš€
Favicon
Develop Teams By Striving For Mastery, Not Self-Esteem

Featured ones: