artprima/prometheus-metrics-bundle
Symfony bundle integrating promphp/prometheus_client_php to expose Prometheus metrics for your app. Supports Symfony 5.4–8.x and PHP 8.2–8.5, with configurable metric namespace, ignored routes, and custom labels for HTTP/request metrics.
symfony_http_2xx_responses_total) to identify bottlenecks in APIs.php_info).CheckoutMetricsCollector for e-commerce).X-Client-Name) for regulatory reporting (GDPR, PCI-DSS)./metrics/prometheus endpoint).symfony-app-overview.json).MetricInfoResolverInterface or build a custom adapter.in_memory for testing only)."This bundle lets us instrument our Symfony APIs for observability in weeks, not months—reducing incident resolution time by 40% while cutting dev costs. It’s a drop-in solution for Prometheus metrics, with built-in Grafana dashboards to visualize performance, errors, and scaling needs. The MIT license and active maintenance ensure long-term viability, and it integrates with our existing stack without disrupts."
*"We can enable Prometheus metrics with one Composer command and Symfony config. Key benefits:
GET-api_users).cart_abandons).composer.json, configure config.yaml, and expose /metrics/prometheus."**"This gives us standardized metrics for all Symfony services, enabling:
http_requests_total).5xx_responses_total)./metrics/prometheus endpoint and configure Prometheus scrape configs. Blockers: Ensure Redis/APCu is available if using those backends."*How can I help you explore Laravel packages today?