Skip to content

Measure

Measure PerformanceΒΆ

Stage 4 of the PRIME FrameworkΒΆ

"What gets measured gets improved. The Measure stage proves automation value and identifies opportunities for optimisation."

Stage Outcome

Deliverable: Quantified ROI metrics dashboard, time savings analysis, error reduction reports, and executive communication ready.
Typical Result: Prove 6-12 month payback period with concrete numbers: hours saved, errors eliminated, SLA improvements, and compliance gains.

graph TD
    A[πŸ“Š Baseline] --> B[πŸ” Monitor]
    B --> C[πŸ“Š Track KPIs]
    C --> D[πŸ’° Calculate ROI]
    D --> E[πŸ“ˆ Report]
    E -->|Continuous| B

    style A fill:#FFB347
    style B fill:#FFBD57
    style C fill:#FFC767
    style D fill:#FFD177
    style E fill:#FFDB87

Prime Terminology Used: Prime Overwatchβ„’ monitoring, Prime Automationβ„’ metrics


🎯 Objective¢

Quantify the impact of automation through systematic metrics collection, ROI tracking, and performance analysis to demonstrate value and guide future investment.


πŸ“Š What Happens During MeasureΒΆ

1. Baseline Metrics (Before Automation)ΒΆ

Before deploying automation, we capture baseline performance:

Time MetricsΒΆ

Metric How to Measure Example
Manual Task Duration Time study over 10 instances 15 min/change
Frequency Count from ticket system (90 days) 40/month
Total Annual Time Duration Γ— Frequency Γ— 12 120 hours/year

Quality MetricsΒΆ

Metric How to Measure Example
Error Rate Rollbacks Γ· Total changes 12%
Rework Time Average time to fix failures 45 min/failure
Mean Time to Complete Ticket open β†’ close 4.2 hours

Business ImpactΒΆ

Metric How to Measure Example
Labour Cost (fully loaded) Time Γ— Fully loaded rate Β£6,000/year
Opportunity Cost Blocked work value Unknown
User Impact Support tickets 15 tickets/month

Baseline Documentation:

Task: VLAN Provisioning (Pre-Automation)
─────────────────────────────────────────
Frequency:           40 changes/month
Duration:            15 minutes/change
Annual Volume:       480 changes
Annual Time:         120 hours
Error Rate:          12% (58 failures/year)
Rework Time:         43 hours/year
Total Time Cost:     163 hours/year
Labour Cost (fully loaded): Β£8,150/year @ Β£50/hour

2. Instrumentation (During Implementation)ΒΆ

We build metrics collection into every automation:

Measuring as You Build

The best metrics are collected automatically during execution. This means no additional overhead for staffβ€”metrics just happen as the automation runs. We instrument every script to track time, success/failure, errors, and business outcomes.

Execution MetricsΒΆ

import time
import logging

def measure_execution(func):
    """Decorator to track execution time."""
    def wrapper(*args, **kwargs):
        start_time = time.time()
        logger.info(f"Starting {func.__name__}")

        try:
            result = func(*args, **kwargs)
            duration = time.time() - start_time
            logger.info(f"βœ“ {func.__name__} completed in {duration:.2f}s")

            # Log to metrics database/file
            record_metric(
                task=func.__name__,
                duration=duration,
                status="success",
                timestamp=datetime.now()
            )

            return result

        except Exception as e:
            duration = time.time() - start_time
            logger.error(f"βœ— {func.__name__} failed after {duration:.2f}s: {e}")

            record_metric(
                task=func.__name__,
                duration=duration,
                status="failure",
                error=str(e),
                timestamp=datetime.now()
            )
            raise

    return wrapper

@measure_execution
def provision_vlan(devices, vlan_id, vlan_name):
    """VLAN provisioning with automatic metrics tracking."""
    results = []
    for device in devices:
        result = process_device(device, vlan_id, vlan_name)
        results.append(result)
    return results

Outcome TrackingΒΆ

def generate_execution_report(results):
    """Create detailed metrics report."""
    metrics = {
        "timestamp": datetime.now().isoformat(),
        "total_devices": len(results),
        "successful": sum(1 for r in results if r['status'] == 'success'),
        "failed": sum(1 for r in results if r['status'] == 'failure'),
        "total_duration": sum(r['duration'] for r in results),
        "average_duration": statistics.mean(r['duration'] for r in results),
        "error_types": Counter(r.get('error_type') for r in results if r['status'] == 'failure')
    }

    # Append to metrics log (CSV for easy analysis)
    append_to_metrics_log("vlan_provisioning_metrics.csv", metrics)

    return metrics

3. Performance Monitoring (Post-Deployment)ΒΆ

After automation goes live, we track:

Daily Task ExecutionΒΆ

Metrics Captured:

  • Execution count
  • Success/failure rate
  • Duration (total and per-device)
  • Error types and frequencies
  • User who triggered (if applicable)

Sample Metrics Log:

1
2
3
4
5
Date,Task,Devices,Successful,Failed,Duration_Sec,Triggered_By
2024-01-15,provision_vlan,12,12,0,47.3,jsmith
2024-01-16,provision_vlan,5,5,0,18.9,automated
2024-01-17,provision_vlan,8,7,1,41.2,mjones
2024-01-18,provision_vlan,15,14,1,63.1,jsmith

Weekly Summary ReportsΒΆ

Generated automatically:

1
2
3
4
5
6
7
8
9
VLAN Provisioning - Week of 2024-01-15
════════════════════════════════════════
Executions:       18 times
Total Devices:    156 devices
Success Rate:     97.4% (152/156)
Avg Duration:     38.2 seconds
Time Saved:       37.2 hours (vs 40 hours manual)
Est Labor Cost:   Β£660 saved vs Β£2,000 manual
Failures:         4 devices (3Γ— auth timeout, 1Γ— config rollback)

4. ROI CalculationΒΆ

We prove value with concrete numbers.

ROI Formulas

ROI (%) = (Total Annual Benefits βˆ’ Total Costs) Γ· Total Costs Γ— 100

Payback (months) = Implementation Cost Γ· Monthly Net Benefit

We use your team's fully loaded hourly rate (salary + benefits + overhead) for all labour cost calculations.

Note: Actual ROI varies by labour rates, change volume, process maturity, and toolingβ€”calculated using your data during discovery.

Time SavingsΒΆ

Manual Process (Baseline):

40 changes/month Γ— 15 min/change = 600 min/month = 10 hours/month
Annual: 10 hours/month Γ— 12 = 120 hours/year

Automated Process (Measured):

40 executions/month Γ— 0.6 min/execution = 24 min/month = 0.4 hours/month
Annual: 0.4 hours/month Γ— 12 = 4.8 hours/year

Time Saved: 120 - 4.8 = 115.2 hours/year (96% reduction)

Error ReductionΒΆ

Manual Error Rate: 12% (58 failures/year, 43 hours rework) Automated Error Rate: ~2-3% with auto-rollback (12 failures/year); rework typically ≀10% of baseline rework time (4.3 hours/year)

Rework Hours Saved: 43 - 4.3 = 38.7 hours/year (conservative estimate accounting for investigation and retries)

Total Financial ImpactΒΆ

Time Savings:             115.2 hours Γ— Β£50/hour = Β£5,760
Error Reduction:          38.7 hours Γ— Β£50/hour  = Β£1,935
─────────────────────────────────────────────────────
Total Annual Savings:                             Β£7,695

Implementation Cost:      Β£6,000 (one-time)
Ongoing Cost (annual):    Β£1,200 (maintenance, monitoring, platform)

Net Annual Benefit (Year 1):    Β£7,695 - Β£6,000 - Β£1,200 = Β£495
Net Annual Benefit (Steady-state): Β£7,695 - Β£1,200 = Β£6,495

Year-1 ROI:              (Β£495) Γ· (Β£6,000 + Β£1,200) Γ— 100 = 6.9%
Steady-state ROI:        (Β£6,495) Γ· (Β£1,200) Γ— 100 = 541%

Payback Period:          9.3 months (assuming Β£659 monthly net benefit)
                        (With Β£1,200/yr maintenance included)

Additional Value Streams

Risk Reduction: Avoided compliance penalties and incidents (expected value analysis)

Throughput Uplift: Saved time converts to additional change capacityβ€”accelerates backlog burn-down and enables faster feature delivery

SLA Improvements: Reduced mean time to complete changes improves service levels

Sensitivity AnalysisΒΆ

ROI varies based on key inputs. Here's how different scenarios affect returns:

Variable Low Scenario Base Case High Scenario
Labour Rate Β£35/hour Β£50/hour Β£65/hour
Annual Savings Β£5,382 Β£7,695 Β£10,009
Year-1 ROI -25% 6.9% 39%
Payback Period 16.2 months 9.3 months 6.8 months
Variable Low Volume Base Case High Volume
Change Volume 30/month 40/month 50/month
Annual Savings Β£5,771 Β£7,695 Β£9,619
Year-1 ROI -20% 6.9% 34%
Payback Period 15.0 months 9.3 months 7.1 months

Key Insight: ROI is most sensitive to labour rates and change volume. Higher wage environments and busier teams see faster payback.

ROI Calculator Available

Want to calculate ROI for your specific environment?

An ROI calculator spreadsheet is available on request to help you estimate your automation value with your own inputs:

  • Baseline duration and frequency
  • Error rates and rework time
  • Fully loaded labour rates
  • Implementation and ongoing costs

The calculator provides instant Year-1 ROI, steady-state ROI, and payback period calculations.

Request A Copy


5. Continuous Improvement AnalysisΒΆ

Metrics reveal optimisation opportunities:

Performance BottlenecksΒΆ

Analysis of Execution Times:

1
2
3
4
Device Connection:     22 seconds (58% of total time)
Config Application:    8 seconds (21%)
Validation:           7 seconds (18%)
Reporting:            1 second (3%)

Improvement Opportunity: Connection pooling could reduce device connection time by 60%

Projected Impact: 22s Γ— 0.6 = 13.2s saved per execution
40 executions/month Γ— 13.2s = 528 seconds = 8.8 minutes/month

Error Pattern AnalysisΒΆ

Failure Analysis (90 days):

1
2
3
Auth Timeouts:        8 occurrences (67%)
Config Rejected:      3 occurrences (25%)
Device Unreachable:   1 occurrence (8%)

Root Cause Investigation:
Auth timeouts concentrated on IOS-XE devices during peak CPU times (backup window).

Remediation:
Add pre-flight CPU check, defer if CPU >80%.

Expected Impact:
Reduce auth timeout failures by 75% (8 β†’ 2 annually).


6. Stakeholder ReportingΒΆ

We create reports tailored to different audiences:

Executive Summary (Leadership)ΒΆ

Format: One-page dashboard

AUTOMATION PERFORMANCE - Q1 2024
================================

VLAN Provisioning Automation
────────────────────────────
βœ“ 480 changes executed (100% of volume automated)
βœ“ 97.5% success rate (467 successful, 13 failed)
βœ“ 115 hours saved vs manual process
βœ“ Β£7,695 annual cost avoidance
βœ“ ROI: 6.9% (Year-1), 100%+ steady-state (depending on ongoing cost)

Network Audit Automation
────────────────────────
βœ“ 12 audits completed (monthly)
βœ“ 600 devices per audit
βœ“ 30 hours saved vs manual
βœ“ Β£18,000 cost avoidance
βœ“ 23 security findings identified

Portfolio Summary
─────────────────
Total Time Saved:      248 hours (6.2 weeks)
Total Cost Avoidance:  Β£37,500
Total Investment:      Β£24,000
Portfolio ROI:         56% (Year 1)

Technical Report (Engineering)ΒΆ

Format: Detailed metrics with trends

  • Execution time trends (weekly)
  • Error rate by device platform
  • Success rate by time of day
  • Performance vs. SLA targets
  • Failure root cause analysis
  • optimisation recommendations

Operations Report (NetOps Team)ΒΆ

Format: Actionable insights

  • Tasks automated this period
  • Time saved per team member
  • Errors requiring manual intervention
  • Upcoming automation releases
  • Feedback/enhancement requests

πŸ“Š Deliverable: Performance Dashboard & ReportsΒΆ

At the end of the Measure stage, you receive:

1. Metrics Collection SystemΒΆ

  • Python logging integrated into automations
  • CSV/database for metrics storage
  • Automated report generation scripts

2. Monthly Performance ReportsΒΆ

  • Execution statistics
  • Success/failure trends
  • Time savings quantification
  • ROI calculation
  • Improvement recommendations

3. Executive DashboardsΒΆ

  • One-page KPI summary
  • Portfolio-level ROI
  • Strategic recommendations for next automations

4. Continuous Improvement PlanΒΆ

  • Identified bottlenecks
  • optimisation roadmap
  • Enhancement backlog

πŸ’‘ Why Measure MattersΒΆ

Proves Business ValueΒΆ

Without measurement:

  • ❌ "Automation saves time" (vague claim)
  • ❌ Leadership questions investment
  • ❌ Future projects harder to justify

With measurement:

  • βœ… "VLAN automation saved 115 hours and Β£7,910 in Q1" (concrete proof)
  • βœ… Leadership sees ROI
  • βœ… Easier to secure budget for next automation

Drives ImprovementΒΆ

Metrics reveal:

  • Which automations deliver most value (prioritise similar projects)
  • Where optimisation is worthwhile (focus effort)
  • What's working well (replicate success patterns)

πŸš€ What Happens NextΒΆ

After establishing measurement, proceed to Stage 5: Empower to transfer knowledge and build team capability.


πŸ“‹ Measure ChecklistΒΆ

Ensure measurement success:

  • Baseline metrics captured before automation
  • Metrics collection built into automation code
  • Automated report generation configured
  • ROI calculation documented and validated
  • Stakeholder reports tailored to audience
  • Monthly review cadence established
  • Continuous improvement process defined
  • Success criteria for next automations defined

πŸ’Ό Engagement OptionsΒΆ

Measurement as Part of Full PRIME EngagementΒΆ

Included as Stage 4 when you engage for the complete framework. Typically ongoing over 3-6 months post-deployment.

Standalone Measurement ServiceΒΆ

For Organisations with existing automation needing ROI proof:

Fixed Fee: Β£2,000 - Β£3,500

Includes:

  • Baseline metrics reconstruction
  • Instrumentation added to existing scripts
  • 3 months of performance tracking
  • Executive summary report
  • ROI calculation

πŸŽ“ Learn MoreΒΆ


Mission: To empower network engineers through the PRIME Frameworkβ€”delivering automation with measurable ROI, production-grade quality, and sustainable team capability built on the PRIME Philosophy of transparency, measurability, ownership, safety, and empowerment.


← Previous: Implement | Back to PRIME Framework | Next: Empower β†’