{
    "url": "https://delaparra-services.nl/skills/slo-implementation",
    "locale": "en",
    "title": "SLO Implementation | DeLaParra Services",
    "description": "Define and implement Service Level Indicators (SLIs) and Service Level Objectives (SLOs) with error budgets and alerting. Use when establishing reliability targets, implementing SRE practices, or measuring service performance.",
    "alternates": {
        "en": "https://delaparra-services.nl/skills/slo-implementation",
        "nl": "https://delaparra-services.nl/nl/skills/slo-implementation"
    },
    "formats": {
        "csv": "https://delaparra-services.nl/skills/slo-implementation.csv",
        "md": "https://delaparra-services.nl/skills/slo-implementation.md",
        "json": "https://delaparra-services.nl/skills/slo-implementation.json",
        "zip": "https://delaparra-services.nl/skills/slo-implementation.zip",
        "pdf": "https://delaparra-services.nl/skills/slo-implementation.pdf"
    },
    "downloads": [
        {
            "url": "https://delaparra-services.nl/skills/slo-implementation.csv",
            "encodingFormat": "text/csv",
            "name": "slo-implementation.csv"
        },
        {
            "url": "https://delaparra-services.nl/skills/slo-implementation.json",
            "encodingFormat": "application/json",
            "name": "slo-implementation.json"
        },
        {
            "url": "https://delaparra-services.nl/skills/slo-implementation.md",
            "encodingFormat": "text/markdown",
            "name": "slo-implementation.md"
        },
        {
            "url": "https://delaparra-services.nl/skills/slo-implementation.pdf",
            "encodingFormat": "application/pdf",
            "name": "slo-implementation.pdf"
        },
        {
            "url": "https://delaparra-services.nl/skills/slo-implementation.zip",
            "encodingFormat": "application/zip",
            "name": "slo-implementation.zip"
        },
        {
            "url": "https://delaparra-services.nl/skills/slo-implementation/download",
            "encodingFormat": "application/zip",
            "name": "slo-implementation-files.zip"
        }
    ],
    "markdown": "# SLO Implementation\n\n \n\nDefine and implement Service Level Indicators (SLIs) and Service Level Objectives (SLOs) with error budgets and alerting. Use when establishing reliability targets, implementing SRE practices, or measuring service performance.\n\n \n\n**Licence** MIT\n\n \n\n**Source** wshobson/agents\n\n [Download zip](<https://delaparra-services.nl/skills/slo-implementation/download>)   \n\n# SLO Implementation\n\n \n\nFramework for defining and implementing Service Level Indicators (SLIs), Service Level Objectives (SLOs), and error budgets.\n\n \n\n## Purpose\n\n \n\nImplement measurable reliability targets using SLIs, SLOs, and error budgets to balance reliability with innovation velocity.\n\n \n\n## When to Use\n\n \n\n- Define service reliability targets \n- Measure user-perceived reliability \n- Implement error budgets \n- Create SLO-based alerts \n- Track reliability goals\n\n \n\n## SLI/SLO/SLA Hierarchy\n\n \n\n```\nSLA (Service Level Agreement)\n  ↓ Contract with customers\nSLO (Service Level Objective)\n  ↓ Internal reliability target\nSLI (Service Level Indicator)\n  ↓ Actual measurement\n```\n\n \n\n## Defining SLIs\n\n \n\n### Common SLI Types\n\n \n\n#### 1. Availability SLI\n\n \n\n```\n# Successful requests / Total requests\nsum(rate(http_requests_total{status!~\"5..\"}[28d]))\n/\nsum(rate(http_requests_total[28d]))\n```\n\n \n\n#### 2. Latency SLI\n\n \n\n```\n# Requests below latency threshold / Total requests\nsum(rate(http_request_duration_seconds_bucket{le=\"0.5\"}[28d]))\n/\nsum(rate(http_request_duration_seconds_count[28d]))\n```\n\n \n\n#### 3. Durability SLI\n\n \n\n```\n# Successful writes / Total writes\nsum(storage_writes_successful_total)\n/\nsum(storage_writes_total)\n```\n\n \n\n## Setting SLO Targets\n\n \n\n### Availability SLO Examples\n\n    SLO % Downtime/Month Downtime/Year     99% 7.2 hours 3.65 days   99.9% 43.2 minutes 8.76 hours   99.95% 21.6 minutes 4.38 hours   99.99% 4.32 minutes 52.56 minutes    \n\n### Choose Appropriate SLOs\n\n \n\n**Consider:**\n\n \n\n- User expectations \n- Business requirements \n- Current performance \n- Cost of reliability \n- Competitor benchmarks\n\n \n\n**Example SLOs:**\n\n \n\n```\nslos:\n  - name: api_availability\n    target: 99.9\n    window: 28d\n    sli: |\n      sum(rate(http_requests_total{status!~\"5..\"}[28d]))\n      /\n      sum(rate(http_requests_total[28d]))\n\n  - name: api_latency_p95\n    target: 99\n    window: 28d\n    sli: |\n      sum(rate(http_request_duration_seconds_bucket{le=\"0.5\"}[28d]))\n      /\n      sum(rate(http_request_duration_seconds_count[28d]))\n```\n\n \n\n## Error Budget Calculation\n\n \n\n### Error Budget Formula\n\n \n\n```\nError Budget = 1 - SLO Target\n```\n\n \n\n**Example:**\n\n \n\n- SLO: 99.9% availability \n- Error Budget: 0.1% = 43.2 minutes/month \n- Current Error: 0.05% = 21.6 minutes/month \n- Remaining Budget: 50%\n\n \n\n### Error Budget Policy\n\n \n\n```\nerror_budget_policy:\n  - remaining_budget: 100%\n    action: Normal development velocity\n  - remaining_budget: 50%\n    action: Consider postponing risky changes\n  - remaining_budget: 10%\n    action: Freeze non-critical changes\n  - remaining_budget: 0%\n    action: Feature freeze, focus on reliability\n```\n\n \n\n## SLO Implementation\n\n \n\n### Prometheus Recording Rules\n\n \n\n```\n# SLI Recording Rules\ngroups:\n  - name: sli_rules\n    interval: 30s\n    rules:\n      # Availability SLI\n      - record: sli:http_availability:ratio\n        expr: |\n          sum(rate(http_requests_total{status!~\"5..\"}[28d]))\n          /\n          sum(rate(http_requests_total[28d]))\n\n      # Latency SLI (requests < 500ms)\n      - record: sli:http_latency:ratio\n        expr: |\n          sum(rate(http_request_duration_seconds_bucket{le=\"0.5\"}[28d]))\n          /\n          sum(rate(http_request_duration_seconds_count[28d]))\n\n  - name: slo_rules\n    interval: 5m\n    rules:\n      # SLO compliance (1 = meeting SLO, 0 = violating)\n      - record: slo:http_availability:compliance\n        expr: sli:http_availability:ratio >= bool 0.999\n\n      - record: slo:http_latency:compliance\n        expr: sli:http_latency:ratio >= bool 0.99\n\n      # Error budget remaining (percentage)\n      - record: slo:http_availability:error_budget_remaining\n        expr: |\n          (sli:http_availability:ratio - 0.999) / (1 - 0.999) * 100\n\n      # Error budget burn rate\n      - record: slo:http_availability:burn_rate_5m\n        expr: |\n          (1 - (\n            sum(rate(http_requests_total{status!~\"5..\"}[5m]))\n            /\n            sum(rate(http_requests_total[5m]))\n          )) / (1 - 0.999)\n```\n\n \n\n### SLO Alerting Rules\n\n \n\n```\ngroups:\n  - name: slo_alerts\n    interval: 1m\n    rules:\n      # Fast burn: 14.4x rate, 1 hour window\n      # Consumes 2% error budget in 1 hour\n      - alert: SLOErrorBudgetBurnFast\n        expr: |\n          slo:http_availability:burn_rate_1h > 14.4\n          and\n          slo:http_availability:burn_rate_5m > 14.4\n        for: 2m\n        labels:\n          severity: critical\n        annotations:\n          summary: \"Fast error budget burn detected\"\n          description: \"Error budget burning at {{ $value }}x rate\"\n\n      # Slow burn: 6x rate, 6 hour window\n      # Consumes 5% error budget in 6 hours\n      - alert: SLOErrorBudgetBurnSlow\n        expr: |\n          slo:http_availability:burn_rate_6h > 6\n          and\n          slo:http_availability:burn_rate_30m > 6\n        for: 15m\n        labels:\n          severity: warning\n        annotations:\n          summary: \"Slow error budget burn detected\"\n          description: \"Error budget burning at {{ $value }}x rate\"\n\n      # Error budget exhausted\n      - alert: SLOErrorBudgetExhausted\n        expr: slo:http_availability:error_budget_remaining < 0\n        for: 5m\n        labels:\n          severity: critical\n        annotations:\n          summary: \"SLO error budget exhausted\"\n          description: \"Error budget remaining: {{ $value }}%\"\n```\n\n \n\n## SLO Dashboard\n\n \n\n**Grafana Dashboard Structure:**\n\n \n\n```\n┌────────────────────────────────────┐\n│ SLO Compliance (Current)           │\n│ ✓ 99.95% (Target: 99.9%)          │\n├────────────────────────────────────┤\n│ Error Budget Remaining: 65%        │\n│ ████████░░ 65%                     │\n├────────────────────────────────────┤\n│ SLI Trend (28 days)                │\n│ [Time series graph]                │\n├────────────────────────────────────┤\n│ Burn Rate Analysis                 │\n│ [Burn rate by time window]         │\n└────────────────────────────────────┘\n```\n\n \n\n**Example Queries:**\n\n \n\n```\n# Current SLO compliance\nsli:http_availability:ratio * 100\n\n# Error budget remaining\nslo:http_availability:error_budget_remaining\n\n# Days until error budget exhausted (at current burn rate)\n(slo:http_availability:error_budget_remaining / 100)\n*\n28\n/\n(1 - sli:http_availability:ratio) * (1 - 0.999)\n```\n\n \n\n## Additional patterns and templates\n\n \n\nMore detailed templates and worked examples live in ` references/details.md `. Read that file for the full pattern library.\n\n \n\n## Files\n\n \n\n- ` LICENSE ` \n- ` SKILL.md ` \n- ` SOURCE.md ` \n- ` references/details.md `\n\n \n\n## Related terms\n\n \n\n- [burn rate](<https://delaparra-services.nl/knowledge-hub/burn-rate>) \n- [cardinality](<https://delaparra-services.nl/knowledge-hub/cardinality>) \n- [counter](<https://delaparra-services.nl/knowledge-hub/counter>) \n- [Datadog](<https://delaparra-services.nl/knowledge-hub/datadog>) \n- [error budget](<https://delaparra-services.nl/knowledge-hub/error-budget>) \n- [gauge](<https://delaparra-services.nl/knowledge-hub/gauge>) \n- [golden signals](<https://delaparra-services.nl/knowledge-hub/golden-signals>) \n- [Grafana](<https://delaparra-services.nl/knowledge-hub/grafana>) \n- [histogram](<https://delaparra-services.nl/knowledge-hub/histogram>) \n- [label / tag](<https://delaparra-services.nl/knowledge-hub/label-tag>) \n- [Latency](<https://delaparra-services.nl/knowledge-hub/latency>) \n- [Loki](<https://delaparra-services.nl/knowledge-hub/loki>) \n- [metric](<https://delaparra-services.nl/knowledge-hub/metric>) \n- [MTBF](<https://delaparra-services.nl/knowledge-hub/mtbf>) \n- [MTTA](<https://delaparra-services.nl/knowledge-hub/mtta>) \n- [MTTD](<https://delaparra-services.nl/knowledge-hub/mttd>) \n- [MTTR](<https://delaparra-services.nl/knowledge-hub/mttr>) \n- [percentile (p50/p95/p99)](<https://delaparra-services.nl/knowledge-hub/percentile-p50p95p99>) \n- [Prometheus](<https://delaparra-services.nl/knowledge-hub/prometheus>) \n- [PromQL](<https://delaparra-services.nl/knowledge-hub/promql>) \n- [RED method](<https://delaparra-services.nl/knowledge-hub/red-method>) \n- [SLA](<https://delaparra-services.nl/knowledge-hub/sla>) \n- [SLA (Service Level Agreement)](<https://delaparra-services.nl/knowledge-hub/sla-service-level-agreement>) \n- [SLI](<https://delaparra-services.nl/knowledge-hub/sli>) \n- [SLI (Service Level Indicator)](<https://delaparra-services.nl/knowledge-hub/sli-service-level-indicator>) \n- [SLO](<https://delaparra-services.nl/knowledge-hub/slo>) \n- [SLO (Service Level Objective)](<https://delaparra-services.nl/knowledge-hub/slo-service-level-objective>) \n- [Throughput](<https://delaparra-services.nl/knowledge-hub/throughput>) \n- [uptime / availability (nines)](<https://delaparra-services.nl/knowledge-hub/uptime-availability-nines>) \n- [USE method](<https://delaparra-services.nl/knowledge-hub/use-method>)\n\n \n\n[Installing an agent skill in Claude Code, Codex, Cursor and Copilot](<https://delaparra-services.nl/manuals/een-skill-installeren-in-je-ai-assistent>)\n\n[HTML version](https://delaparra-services.nl/skills/slo-implementation)\n",
    "structured_data": {
        "@context": "https://schema.org",
        "@graph": [
            {
                "@type": "Organization",
                "@id": "https://delaparra-services.nl/#practice",
                "logo": "https://delaparra-services.nl/logo.png",
                "name": "DeLaParra Services",
                "legalName": "DeLaParra Services",
                "url": "https://delaparra-services.nl/",
                "description": "Bespoke software, web applications and mobile apps, developed in Laravel by a single developer in Groningen. Fixed price agreed in advance, full source code provided upon delivery.",
                "email": "info@delaparra-services.nl",
                "address": {
                    "@type": "PostalAddress",
                    "addressLocality": "Groningen",
                    "addressRegion": "Groningen",
                    "addressCountry": "NL"
                },
                "areaServed": "Groningen, the Netherlands",
                "knowsLanguage": [
                    "en",
                    "nl"
                ],
                "knowsAbout": [
                    "Web design and development",
                    "App development",
                    "Custom software and web applications",
                    "OpenSpec",
                    "AI code review",
                    "Your own coding agent"
                ],
                "founder": {
                    "@id": "https://delaparra-services.nl/#person"
                }
            },
            {
                "@type": "WebPage",
                "@id": "https://delaparra-services.nl/skills/slo-implementation#webpage",
                "url": "https://delaparra-services.nl/skills/slo-implementation",
                "name": "SLO Implementation | DeLaParra Services",
                "description": "Define and implement Service Level Indicators (SLIs) and Service Level Objectives (SLOs) with error budgets and alerting. Use when establishing reliability targets, implementing SRE practices, or measuring service performance.",
                "isPartOf": {
                    "@id": "https://delaparra-services.nl/#website"
                },
                "about": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "inLanguage": "en",
                "breadcrumb": {
                    "@id": "https://delaparra-services.nl/skills/slo-implementation#breadcrumb"
                }
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://delaparra-services.nl/skills/slo-implementation#breadcrumb",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "Home",
                        "item": "https://delaparra-services.nl/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "SLO Implementation"
                    }
                ]
            },
            {
                "@type": "Person",
                "@id": "https://delaparra-services.nl/#person",
                "name": "Reinier de la Parra",
                "url": "https://delaparra-services.nl/about"
            },
            {
                "@type": "SoftwareSourceCode",
                "@id": "https://delaparra-services.nl/skills/slo-implementation#skill",
                "url": "https://delaparra-services.nl/skills/slo-implementation",
                "name": "SLO Implementation",
                "description": "Define and implement Service Level Indicators (SLIs) and Service Level Objectives (SLOs) with error budgets and alerting. Use when establishing reliability targets, implementing SRE practices, or measuring service performance.",
                "inLanguage": "en",
                "license": "https://spdx.org/licenses/MIT.html",
                "subjectOf": {
                    "@id": "https://delaparra-services.nl/skills/slo-implementation#dataset"
                }
            },
            {
                "@type": "Dataset",
                "@id": "https://delaparra-services.nl/skills/slo-implementation#dataset",
                "name": "SLO Implementation",
                "description": "Define and implement Service Level Indicators (SLIs) and Service Level Objectives (SLOs) with error budgets and alerting. Use when establishing reliability targets, implementing SRE practices, or measuring service performance.",
                "url": "https://delaparra-services.nl/skills/slo-implementation",
                "identifier": "https://delaparra-services.nl/skills/slo-implementation#dataset",
                "about": {
                    "@id": "https://delaparra-services.nl/skills/slo-implementation#skill"
                },
                "creditText": "wshobson/agents",
                "publisher": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "license": "https://spdx.org/licenses/MIT.html",
                "isAccessibleForFree": true,
                "inLanguage": "en",
                "dateModified": "2026-11-28T14:00:12+00:00",
                "isPartOf": {
                    "@type": "Dataset",
                    "@id": "https://delaparra-services.nl/knowledge-hub#skills",
                    "name": "Skills for AI coding assistants",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "includedInDataCatalog": {
                    "@type": "DataCatalog",
                    "@id": "https://delaparra-services.nl/knowledge-hub#catalog",
                    "name": "Knowledge hub data catalog",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "distribution": [
                    {
                        "@type": "DataDownload",
                        "name": "slo-implementation.csv",
                        "encodingFormat": "text/csv",
                        "contentUrl": "https://delaparra-services.nl/skills/slo-implementation.csv",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T14:00:12+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "slo-implementation.json",
                        "encodingFormat": "application/json",
                        "contentUrl": "https://delaparra-services.nl/skills/slo-implementation.json",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T14:00:12+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "slo-implementation.md",
                        "encodingFormat": "text/markdown",
                        "contentUrl": "https://delaparra-services.nl/skills/slo-implementation.md",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T14:00:12+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "slo-implementation.pdf",
                        "encodingFormat": "application/pdf",
                        "contentUrl": "https://delaparra-services.nl/skills/slo-implementation.pdf",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T14:00:12+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "slo-implementation.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/skills/slo-implementation.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T14:00:12+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "slo-implementation-files.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/skills/slo-implementation/download",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T14:00:12+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    }
                ]
            }
        ]
    }
}