m6web/statsd
Simple StatsD client for PHP. Send counters, gauges, timers and sets to a StatsD/Graphite backend with minimal overhead. Designed for easy integration and straightforward API to instrument apps and collect metrics.
api.response_time, queue.processing_time).feature_x.clicks) for analytics dashboards.Adopt if:
Look elsewhere if:
For Executives: "This package lets us instrument our PHP apps to collect real-time metrics (e.g., API performance, feature usage) using open-source StatsD—reducing costs by avoiding proprietary tools while improving visibility. For example, we could track checkout funnel drop-offs in Grafana without hiring a dedicated observability team. Low-risk: it’s a drop-in component with minimal dev overhead."
For Engineering: *"m6web/statsd gives us a battle-tested PHP client for StatsD, cutting the time to emit metrics from weeks (custom UDP code) to hours. Key benefits:
errors.total), timers (e.g., db.query.ms), and gauges (e.g., memory.usage).For Data/Analytics Teams: *"This enables us to surface PHP app metrics (e.g., request volumes, error rates) into our existing StatsD pipeline for dashboards or alerts. For instance, we could:
api.5xx.errors.user.session_duration with business outcomes.How can I help you explore Laravel packages today?