{
    "url": "https://delaparra-services.nl/skills/prometheus-configuration",
    "locale": "en",
    "title": "Prometheus Configuration | DeLaParra Services",
    "description": "Set up Prometheus for comprehensive metric collection, storage, and monitoring of infrastructure and applications. Use when implementing metrics collection, setting up monitoring infrastructure, or configuring alerting systems.",
    "alternates": {
        "en": "https://delaparra-services.nl/skills/prometheus-configuration",
        "nl": "https://delaparra-services.nl/nl/skills/prometheus-configuration"
    },
    "formats": {
        "csv": "https://delaparra-services.nl/skills/prometheus-configuration.csv",
        "md": "https://delaparra-services.nl/skills/prometheus-configuration.md",
        "json": "https://delaparra-services.nl/skills/prometheus-configuration.json",
        "zip": "https://delaparra-services.nl/skills/prometheus-configuration.zip",
        "pdf": "https://delaparra-services.nl/skills/prometheus-configuration.pdf"
    },
    "downloads": [
        {
            "url": "https://delaparra-services.nl/skills/prometheus-configuration.csv",
            "encodingFormat": "text/csv",
            "name": "prometheus-configuration.csv"
        },
        {
            "url": "https://delaparra-services.nl/skills/prometheus-configuration.json",
            "encodingFormat": "application/json",
            "name": "prometheus-configuration.json"
        },
        {
            "url": "https://delaparra-services.nl/skills/prometheus-configuration.md",
            "encodingFormat": "text/markdown",
            "name": "prometheus-configuration.md"
        },
        {
            "url": "https://delaparra-services.nl/skills/prometheus-configuration.pdf",
            "encodingFormat": "application/pdf",
            "name": "prometheus-configuration.pdf"
        },
        {
            "url": "https://delaparra-services.nl/skills/prometheus-configuration.zip",
            "encodingFormat": "application/zip",
            "name": "prometheus-configuration.zip"
        },
        {
            "url": "https://delaparra-services.nl/skills/prometheus-configuration/download",
            "encodingFormat": "application/zip",
            "name": "prometheus-configuration-files.zip"
        }
    ],
    "markdown": "# Prometheus Configuration\n\n \n\nSet up Prometheus for comprehensive metric collection, storage, and monitoring of infrastructure and applications. Use when implementing metrics collection, setting up monitoring infrastructure, or configuring alerting systems.\n\n \n\n**Licence** MIT\n\n \n\n**Source** wshobson/agents\n\n [Download zip](<https://delaparra-services.nl/skills/prometheus-configuration/download>)   \n\n# Prometheus Configuration\n\n \n\nComplete guide to Prometheus setup, metric collection, scrape configuration, and recording rules.\n\n \n\n## Purpose\n\n \n\nConfigure Prometheus for comprehensive metric collection, alerting, and monitoring of infrastructure and applications.\n\n \n\n## When to Use\n\n \n\n- Set up Prometheus monitoring \n- Configure metric scraping \n- Create recording rules \n- Design alert rules \n- Implement service discovery\n\n \n\n## Detailed patterns and worked examples\n\n \n\nDetailed pattern documentation lives in ` references/details.md `. Read that file when the navigation tier above is insufficient.\n\n \n\n## Best Practices\n\n \n\n1. **Use consistent naming** for metrics (prefix\\_name\\_unit) \n1. **Set appropriate scrape intervals** (15-60s typical) \n1. **Use recording rules** for expensive queries \n1. **Implement high availability** (multiple Prometheus instances) \n1. **Configure retention** based on storage capacity \n1. **Use relabeling** for metric cleanup \n1. **Monitor Prometheus itself** \n1. **Implement federation** for large deployments \n1. **Use Thanos/Cortex** for long-term storage \n1. **Document custom metrics**\n\n \n\n## Troubleshooting\n\n \n\n**Check scrape targets:**\n\n \n\n```\ncurl http://localhost:9090/api/v1/targets\n```\n\n \n\n**Check configuration:**\n\n \n\n```\ncurl http://localhost:9090/api/v1/status/config\n```\n\n \n\n**Test query:**\n\n \n\n```\ncurl 'http://localhost:9090/api/v1/query?query=up'\n```\n\n \n\n## Related Skills\n\n \n\n- ` grafana-dashboards ` - For visualization \n- ` slo-implementation ` - For SLO monitoring \n- ` distributed-tracing ` - For request tracing\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- [cardinality](<https://delaparra-services.nl/knowledge-hub/cardinality>) \n- [context propagation](<https://delaparra-services.nl/knowledge-hub/context-propagation>) \n- [counter](<https://delaparra-services.nl/knowledge-hub/counter>) \n- [Datadog](<https://delaparra-services.nl/knowledge-hub/datadog>) \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- [instrumentation](<https://delaparra-services.nl/knowledge-hub/instrumentation>) \n- [Jaeger](<https://delaparra-services.nl/knowledge-hub/jaeger>) \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- [Monitoring & Observability](<https://delaparra-services.nl/knowledge-hub/monitoring-observability>) \n- [OpenTelemetry (OTEL)](<https://delaparra-services.nl/knowledge-hub/opentelemetry-otel>) \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- [sampling](<https://delaparra-services.nl/knowledge-hub/sampling>) \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- [span](<https://delaparra-services.nl/knowledge-hub/span>) \n- [Throughput](<https://delaparra-services.nl/knowledge-hub/throughput>) \n- [trace](<https://delaparra-services.nl/knowledge-hub/trace>) \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/prometheus-configuration)\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/prometheus-configuration#webpage",
                "url": "https://delaparra-services.nl/skills/prometheus-configuration",
                "name": "Prometheus Configuration | DeLaParra Services",
                "description": "Set up Prometheus for comprehensive metric collection, storage, and monitoring of infrastructure and applications. Use when implementing metrics collection, setting up monitoring infrastructure, or configuring alerting systems.",
                "isPartOf": {
                    "@id": "https://delaparra-services.nl/#website"
                },
                "about": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "inLanguage": "en",
                "breadcrumb": {
                    "@id": "https://delaparra-services.nl/skills/prometheus-configuration#breadcrumb"
                }
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://delaparra-services.nl/skills/prometheus-configuration#breadcrumb",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "Home",
                        "item": "https://delaparra-services.nl/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "Prometheus Configuration"
                    }
                ]
            },
            {
                "@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/prometheus-configuration#skill",
                "url": "https://delaparra-services.nl/skills/prometheus-configuration",
                "name": "Prometheus Configuration",
                "description": "Set up Prometheus for comprehensive metric collection, storage, and monitoring of infrastructure and applications. Use when implementing metrics collection, setting up monitoring infrastructure, or configuring alerting systems.",
                "inLanguage": "en",
                "license": "https://spdx.org/licenses/MIT.html",
                "subjectOf": {
                    "@id": "https://delaparra-services.nl/skills/prometheus-configuration#dataset"
                }
            },
            {
                "@type": "Dataset",
                "@id": "https://delaparra-services.nl/skills/prometheus-configuration#dataset",
                "name": "Prometheus Configuration",
                "description": "Set up Prometheus for comprehensive metric collection, storage, and monitoring of infrastructure and applications. Use when implementing metrics collection, setting up monitoring infrastructure, or configuring alerting systems.",
                "url": "https://delaparra-services.nl/skills/prometheus-configuration",
                "identifier": "https://delaparra-services.nl/skills/prometheus-configuration#dataset",
                "about": {
                    "@id": "https://delaparra-services.nl/skills/prometheus-configuration#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": "prometheus-configuration.csv",
                        "encodingFormat": "text/csv",
                        "contentUrl": "https://delaparra-services.nl/skills/prometheus-configuration.csv",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T14:00:12+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "prometheus-configuration.json",
                        "encodingFormat": "application/json",
                        "contentUrl": "https://delaparra-services.nl/skills/prometheus-configuration.json",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T14:00:12+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "prometheus-configuration.md",
                        "encodingFormat": "text/markdown",
                        "contentUrl": "https://delaparra-services.nl/skills/prometheus-configuration.md",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T14:00:12+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "prometheus-configuration.pdf",
                        "encodingFormat": "application/pdf",
                        "contentUrl": "https://delaparra-services.nl/skills/prometheus-configuration.pdf",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T14:00:12+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "prometheus-configuration.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/skills/prometheus-configuration.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T14:00:12+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "prometheus-configuration-files.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/skills/prometheus-configuration/download",
                        "inLanguage": "en",
                        "dateModified": "2026-11-28T14:00:12+00:00",
                        "license": "https://spdx.org/licenses/MIT.html"
                    }
                ]
            }
        ]
    }
}