m6web / statsd-prometheus-bundle
Add statsd metrics in your symfony app. Allow you to bind metrics on any symfony event.
Package info
github.com/BedrockStreaming/StatsdTagsPrometheusBundle
Type:symfony-bundle
pkg:composer/m6web/statsd-prometheus-bundle
v8.0.2
2023-05-10 11:51 UTC
Requires
- php: ^7.2|^8.0
- psr/container: ^1.0 || ^2.0
- psr/event-dispatcher: ^1.0
- symfony/contracts: ^1.1 || ^2.0 || ^3.0
- symfony/expression-language: ^4.4 || ^5.0 || ^6.0
- symfony/framework-bundle: ^4.4 || ^5.0 || ^6.0
- symfony/property-access: ^4.4 || ^5.0 || ^6.0
- symfony/yaml: ^4.4 || ^5.0 || ^6.0
Requires (Dev)
- m6web/php-cs-fixer-config: ^2.0
- phpstan/phpstan: 0.12.*
- phpstan/phpstan-phpunit: 0.12.*
- symfony/phpunit-bridge: 5.1 || ^6.0
Suggests
- symfony/console: ^4.3
- symfony/http-kernel: ^4.3
This package is auto-updated.
Last update: 2026-06-10 18:41:39 UTC
README
Statsd Bundle for Prometheus.
Features
- Dispatch events to increment metrics, set gauges and collect timers
- Send Statsd metrics (DogStatsD format)
- Handle Prometheus tags in the metrics
How to use the bundle
- First Download and install the bundle
- Then, see how to Configure the bundle
- Then, have a look at the Usage and code examples documentation
Noticeable versions and migration guides
- Version 1.6 is compatible with Prometheus (converted with statsd_exporter)
- Version 2+ adds new features, and the configuration changed a bit, see upgrade doc
- Version 3+ adds compatibility with psr 14 about event dispatcher and use specialized events without names, see upgrade doc
Contribution
- See Contribution
License
StatsdPrometheusBundle is licensed under the MIT license.