1. [Home](<https://delaparra-services.nl/>) 
1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) 
1. [histogram](<https://delaparra-services.nl/knowledge-hub/histogram>)

  

Category: Observability 

# histogram

  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    

## What is histogram?

 

histogram: A metric that buckets observations (e.g. request durations) so you can compute percentiles and heatmaps server-side. A histogram metric sorts measurements into buckets, such as requests that took under 100 milliseconds, under 300, under a second, and so on. From those buckets, a monitoring system can calculate percentiles like p95 and p99.

 

Definition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)

 

## Frequently asked questions about histogram

  

### How is histogram used in practice?

 

Averages hide problems. If most requests take 50 milliseconds but one in twenty takes four seconds, the average still looks fine. The p95 shows the slow experience real users have.

    

### What should you keep in mind with histogram?

 

Choose bucket boundaries around the values that matter, such as your target response time. Too few buckets make percentiles inaccurate; too many increase storage. In Prometheus, ` histogram_quantile(0.95, rate(http_duration_seconds_bucket[5m])) ` gives the 95th percentile. It is the right way to measure latency for dashboards and alerts.

    

### What does an example of histogram look like?

 

```
http_duration_bucket{le="0.3"} 9821 http_duration_bucket{le="1.0"} 9990
```

 

## At a glance

   CategoryObservability Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026

 

## More Observability terms

 

- [gauge](<https://delaparra-services.nl/knowledge-hub/gauge>) 
- [golden signals](<https://delaparra-services.nl/knowledge-hub/golden-signals>) 
- [Grafana](<https://delaparra-services.nl/knowledge-hub/grafana>) 
- [instrumentation](<https://delaparra-services.nl/knowledge-hub/instrumentation>) 
- [Jaeger](<https://delaparra-services.nl/knowledge-hub/jaeger>) 
- [label / tag](<https://delaparra-services.nl/knowledge-hub/label-tag>)

 

[All terms starting with H](<https://delaparra-services.nl/knowledge-hub#letter-h>)

 

## Skills

 

- ### Sentry PHP SDK

 

Full 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.

 [View skill](<https://delaparra-services.nl/skills/sentry-php-sdk>) [Download zip](<https://delaparra-services.nl/skills/sentry-php-sdk/download>) 
- ### Prometheus Configuration

 

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.

 [View skill](<https://delaparra-services.nl/skills/prometheus-configuration>) [Download zip](<https://delaparra-services.nl/skills/prometheus-configuration/download>) 
- ### SLO Implementation

 

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.

 [View skill](<https://delaparra-services.nl/skills/slo-implementation>) [Download zip](<https://delaparra-services.nl/skills/slo-implementation/download>)

 [Download all skills (zip)](<https://delaparra-services.nl/knowledge-hub/histogram/skills.zip>)

 

## Manuals

 

- [Logging and monitoring for your app](<https://delaparra-services.nl/manuals/logging-en-monitoring>) 
- [Understanding common error messages](<https://delaparra-services.nl/manuals/foutmeldingen-begrijpen>)

 

## Related services

 

- [Custom software and web applications](<https://delaparra-services.nl/services#service-03>)

Perhaps your customers need somewhere to download their invoices, or your staff are managing bookings in a spreadsheet. 
- [AI code review](<https://delaparra-services.nl/services#service-05>)

When 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.

 

## Need any help?

 

Stuck 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.

  [Get in touch](<https://delaparra-services.nl/availability>)

[HTML version](https://delaparra-services.nl/knowledge-hub/histogram)
