Prometheus: The de-facto open-source metrics database. Pulls (scrapes) metrics from targets and stores time series; queried with PromQL. Prometheus is the most widely used open-source system for metrics. It regularly pulls, or scrapes, numbers from your applications and servers over HTTP, stores them as time series and lets you query them with PromQL.
Applications expose metrics on an endpoint like /metrics, and exporters do the same for databases, servers and other software that cannot expose them itself. Alertmanager sends notifications when rules are met, and Grafana usually provides the dashboards.
What should you keep in mind with Prometheus?
It is the default choice in Kubernetes environments, where it discovers targets automatically. Keep label cardinality under control, because every unique label combination is a separate series and too many slow it down. For long-term storage across many clusters, tools like Thanos or Grafana Mimir extend it.
What does an example of Prometheus look like?
scrape_configs: - job_name: api static_configs: - targets: ["api:9090"]
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.
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.
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.