{
    "url": "https://delaparra-services.nl/knowledge-hub/metric",
    "locale": "en",
    "title": "metric: Knowledge hub | DeLaParra Services",
    "description": "A numeric measurement sampled over time — request rate, CPU, queue depth. Cheap to store and aggregate; great for dashboards and alerts.",
    "alternates": {
        "en": "https://delaparra-services.nl/knowledge-hub/metric",
        "nl": "https://delaparra-services.nl/nl/kennisbank/metric"
    },
    "formats": {
        "csv": "https://delaparra-services.nl/knowledge-hub/metric.csv",
        "md": "https://delaparra-services.nl/knowledge-hub/metric.md",
        "json": "https://delaparra-services.nl/knowledge-hub/metric.json",
        "zip": "https://delaparra-services.nl/knowledge-hub/metric.zip",
        "pdf": "https://delaparra-services.nl/knowledge-hub/metric.pdf"
    },
    "downloads": [
        {
            "url": "https://delaparra-services.nl/knowledge-hub/metric.csv",
            "encodingFormat": "text/csv",
            "name": "metric.csv"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/metric.json",
            "encodingFormat": "application/json",
            "name": "metric.json"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/metric.md",
            "encodingFormat": "text/markdown",
            "name": "metric.md"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/metric.pdf",
            "encodingFormat": "application/pdf",
            "name": "metric.pdf"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/metric.zip",
            "encodingFormat": "application/zip",
            "name": "metric.zip"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/metric/skills.zip",
            "encodingFormat": "application/zip",
            "name": "metric-skills.zip"
        }
    ],
    "markdown": "1. [Home](<https://delaparra-services.nl/>) \n1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) \n1. [metric](<https://delaparra-services.nl/knowledge-hub/metric>)\n\n  \n\nCategory: Observability \n\n# metric\n\n  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    \n\n## What is metric?\n\n \n\nmetric: A numeric measurement sampled over time — request rate, CPU, queue depth. Cheap to store and aggregate; great for dashboards and alerts. A metric is a number measured over time, such as requests per second, CPU usage, error count or queue length. Each measurement is small, so metrics are cheap to store and fast to query, which makes them ideal for dashboards and alerts.\n\n \n\nDefinition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)\n\n \n\n## Frequently asked questions about metric\n\n  \n\n### How is metric used in practice?\n\n \n\nMetrics tell you that something is wrong and roughly where. Logs and traces then tell you why.\n\n    \n\n### What should you keep in mind with metric?\n\n \n\nThe main types are counters, which only go up, gauges, which go up and down, and histograms, which capture distributions such as response times. Choose a few that matter: the golden signals for each service, plus business numbers like completed orders or failed payments. Keep label values limited to avoid high cardinality, and name metrics consistently so they are easy to find later.\n\n    \n\n### What does an example of metric look like?\n\n \n\n```\nhttp_requests_total{method=\"GET\",status=\"200\"} 48213\n```\n\n \n\n## At a glance\n\n   CategoryObservability Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026\n\n \n\n## More Observability terms\n\n \n\n- [label / tag](<https://delaparra-services.nl/knowledge-hub/label-tag>) \n- [log](<https://delaparra-services.nl/knowledge-hub/log>) \n- [Loki](<https://delaparra-services.nl/knowledge-hub/loki>) \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\n \n\n[All terms starting with M](<https://delaparra-services.nl/knowledge-hub#letter-m>)\n\n \n\n## Skills\n\n \n\n- ### Sentry PHP SDK\n\n \n\nFull Sentry SDK setup for PHP. Use when asked to \"add Sentry to PHP\", \"install sentry/sentry\", \"setup Sentry in PHP\", or configure error monitoring, tracing, profiling, logging, metrics, crons, or AI monitoring for PHP applications. Supports plain PHP, Laravel, and Symfony.\n\n [View skill](<https://delaparra-services.nl/skills/sentry-php-sdk>) [Download zip](<https://delaparra-services.nl/skills/sentry-php-sdk/download>) \n- ### 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 [View skill](<https://delaparra-services.nl/skills/prometheus-configuration>) [Download zip](<https://delaparra-services.nl/skills/prometheus-configuration/download>) \n- ### 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 [View skill](<https://delaparra-services.nl/skills/slo-implementation>) [Download zip](<https://delaparra-services.nl/skills/slo-implementation/download>)\n\n [Download all skills (zip)](<https://delaparra-services.nl/knowledge-hub/metric/skills.zip>)\n\n \n\n## Manuals\n\n \n\n- [Logging and monitoring for your app](<https://delaparra-services.nl/manuals/logging-en-monitoring>) \n- [Understanding common error messages](<https://delaparra-services.nl/manuals/foutmeldingen-begrijpen>)\n\n \n\n## Related services\n\n \n\n- [Custom software and web applications](<https://delaparra-services.nl/services#service-03>)\n\nPerhaps your customers need somewhere to download their invoices, or your staff are managing bookings in a spreadsheet. \n- [AI code review](<https://delaparra-services.nl/services#service-05>)\n\nWhen you push your new change, I will review your code, help your agent avoid the same mistake again, and get your app ready for deployment.\n\n \n\n## Need any help?\n\n \n\nStuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.\n\n  [Get in touch](<https://delaparra-services.nl/availability>)\n\n[HTML version](https://delaparra-services.nl/knowledge-hub/metric)\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": "FAQPage",
                "@id": "https://delaparra-services.nl/knowledge-hub/metric#webpage",
                "url": "https://delaparra-services.nl/knowledge-hub/metric",
                "name": "metric: Knowledge hub | DeLaParra Services",
                "description": "A numeric measurement sampled over time — request rate, CPU, queue depth. Cheap to store and aggregate; great for dashboards and alerts.",
                "isPartOf": {
                    "@id": "https://delaparra-services.nl/#website"
                },
                "about": {
                    "@type": "DefinedTerm",
                    "@id": "https://delaparra-services.nl/knowledge-hub/metric#term",
                    "name": "metric",
                    "description": "A numeric measurement sampled over time — request rate, CPU, queue depth. Cheap to store and aggregate; great for dashboards and alerts.",
                    "termCode": "metric",
                    "url": "https://delaparra-services.nl/knowledge-hub/metric",
                    "inLanguage": "en",
                    "keywords": "Observability",
                    "dateModified": "2026-11-25T17:46:28+00:00",
                    "inDefinedTermSet": {
                        "@id": "https://delaparra-services.nl/knowledge-hub#terms"
                    },
                    "isPartOf": {
                        "@id": "https://delaparra-services.nl/knowledge-hub#dataset"
                    },
                    "subjectOf": [
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/metric#webpage"
                        },
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/metric#dataset"
                        }
                    ]
                },
                "inLanguage": "en",
                "breadcrumb": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/metric#breadcrumb"
                },
                "mainEntity": [
                    {
                        "@type": "Question",
                        "name": "What is metric?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "A numeric measurement sampled over time — request rate, CPU, queue depth. Cheap to store and aggregate; great for dashboards and alerts. A metric is a number measured over time, such as requests per second, CPU usage, error count or queue length. Each measurement is small, so metrics are cheap to store and fast to query, which makes them ideal for dashboards and alerts."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "How is metric used in practice?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "Metrics tell you that something is wrong and roughly where. Logs and traces then tell you why."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "What should you keep in mind with metric?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "The main types are counters, which only go up, gauges, which go up and down, and histograms, which capture distributions such as response times. Choose a few that matter: the golden signals for each service, plus business numbers like completed orders or failed payments. Keep label values limited to avoid high cardinality, and name metrics consistently so they are easy to find later."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "What does an example of metric look like?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "http_requests_total{method=\"GET\",status=\"200\"} 48213"
                        }
                    }
                ],
                "author": {
                    "@id": "https://delaparra-services.nl/#person"
                },
                "mentions": [
                    {
                        "@id": "https://delaparra-services.nl/skills/sentry-php-sdk#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/skills/prometheus-configuration#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/skills/slo-implementation#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/manuals/logging-en-monitoring#article"
                    },
                    {
                        "@id": "https://delaparra-services.nl/manuals/foutmeldingen-begrijpen#article"
                    }
                ]
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://delaparra-services.nl/knowledge-hub/metric#breadcrumb",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "Home",
                        "item": "https://delaparra-services.nl/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "Knowledge hub",
                        "item": "https://delaparra-services.nl/knowledge-hub"
                    },
                    {
                        "@type": "ListItem",
                        "position": 3,
                        "name": "metric"
                    }
                ]
            },
            {
                "@type": "Person",
                "@id": "https://delaparra-services.nl/#person",
                "name": "Reinier de la Parra",
                "url": "https://delaparra-services.nl/about"
            },
            {
                "@type": "Dataset",
                "@id": "https://delaparra-services.nl/knowledge-hub/metric#dataset",
                "name": "metric",
                "description": "A numeric measurement sampled over time — request rate, CPU, queue depth. Cheap to store and aggregate; great for dashboards and alerts.",
                "url": "https://delaparra-services.nl/knowledge-hub/metric",
                "identifier": "https://delaparra-services.nl/knowledge-hub/metric#dataset",
                "about": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/metric#term"
                },
                "creator": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "publisher": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "license": "https://creativecommons.org/licenses/by/4.0/",
                "creditText": "Coders Lingo (https://coderslingo.com/resources/open-dataset/), CC BY 4.0",
                "isAccessibleForFree": true,
                "inLanguage": "en",
                "keywords": "Observability",
                "version": "2026-11-25",
                "dateModified": "2026-11-25T17:46:28+00:00",
                "isPartOf": {
                    "@type": "Dataset",
                    "@id": "https://delaparra-services.nl/knowledge-hub#dataset",
                    "name": "IT terms from A to Z",
                    "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": "metric.csv",
                        "encodingFormat": "text/csv",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/metric.csv",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:28+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "metric.json",
                        "encodingFormat": "application/json",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/metric.json",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:28+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "metric.md",
                        "encodingFormat": "text/markdown",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/metric.md",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:28+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "metric.pdf",
                        "encodingFormat": "application/pdf",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/metric.pdf",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:28+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "metric.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/metric.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:28+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "metric-skills.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/metric/skills.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:28+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    }
                ]
            }
        ]
    }
}