softspring / google-cloud-trace-bundle
This bundle sends Symfony request traces to Google Cloud Trace
Package info
github.com/softspring/google-cloud-trace-bundle
Type:symfony-bundle
pkg:composer/softspring/google-cloud-trace-bundle
Requires
- php: >=8.1
- google/cloud-trace: ^1.6
Requires (Dev)
- doctrine/dbal: ^3.6
- friendsofphp/php-cs-fixer: ^3.68
- phpstan/phpstan: ^1.10
- rector/rector: ^1.0
- symfony/config: ^5.4|^6.0|^7.0
- symfony/dependency-injection: ^5.4|^6.0|^7.0
- symfony/event-dispatcher: ^5.4|^6.0|^7.0
- symfony/framework-bundle: ^5.4|^6.0|^7.0
- symfony/http-foundation: ^5.4|^6.0|^7.0
- symfony/http-kernel: ^5.4|^6.0|^7.0
- twig/twig: ^3.7
- 6.0.x-dev
- 5.5.x-dev
- v5.5.8
- v5.5.7
- v5.5.6
- v5.5.5
- v5.5.4
- v5.5.3
- v5.5.2
- v5.5.1
- v5.5.0
- v5.5.0-rc9
- v5.5.0-rc8
- v5.5.0-rc7
- v5.5.0-rc6
- v5.5.0-rc5
- v5.5.0-rc4
- v5.5.0-rc3
- v5.5.0-rc2
- v5.5.0-rc1
- 5.4.x-dev
- v5.4.14
- v5.4.13
- v5.4.12
- v5.4.11
- v5.4.10
- v5.4.9
- v5.4.8
- v5.4.7
- v5.4.6
- v5.4.5
- v5.4.4
- v5.4.3
- v5.4.2
- v5.4.1
- v5.4.0
- v5.4.0-rc6
- v5.4.0-rc5
- v5.4.0-rc4
- v5.4.0-rc3
- v5.4.0-rc2
- v5.4.0-rc1
- v5.4.0-beta6
- v5.4.0-beta5
- v5.4.0-beta4
- v5.4.0-beta3
- v5.4.0-beta2
- v5.4.0-beta1
- v5.4.0-alpha10
- v5.4.0-alpha9
- v5.4.0-alpha8
- v5.4.0-alpha3
- v5.4.0-alpha2
- v5.4.0-alpha1
- 5.3.x-dev
- v5.3.15
- v5.3.14
- v5.3.13
- v5.3.12
- v5.3.11
- v5.3.10
- v5.3.9
- v5.3.8
- v5.3.7
- v5.3.6
- v5.3.5
- v5.3.4
- v5.3.3
- v5.3.2
- v5.3.1
- v5.3.0
- v5.3.0-rc9
- v5.3.0-rc8
- v5.3.0-rc7
- v5.3.0-rc6
- v5.3.0-rc5
- v5.3.0-rc4
- v5.3.0-rc3
- v5.3.0-rc2
- v5.3.0-rc1
- v5.3.0-beta4
- v5.3.0-beta3
- v5.3.0-beta2
- v5.3.0-beta1
- v5.3.0-alpha21
- 5.2.x-dev
- v5.2.7
- v5.2.6
- v5.2.5
- v5.2.4
- v5.2.3
- v5.2.2
- v5.2.1
- v5.2.0
- v5.2.0-rc10
- v5.2.0-rc9
- v5.2.0-rc8
- v5.2.0-rc7
- v5.2.0-rc6
- v5.2.0-rc5
- v5.2.0-rc4
- v5.2.0-rc1
- 5.1.x-dev
- v5.1.25
- v5.1.24
- v5.1.23
- v5.1.22
- v5.1.21
- v5.1.20
- v5.1.19
- v5.1.18
- v5.1.17
- v5.1.16
- v5.1.15
- v5.1.14
- v5.1.13
- v5.1.12
- v5.1.11
- v5.1.10
- v5.1.9
- v5.1.8
- v5.1.7
- v5.1.6
- v5.1.5
- v5.1.2
- v5.1.1
- v5.1.0
- dev-dependabot/composer/google/cloud-trace-tw-2.0
This package is auto-updated.
Last update: 2026-06-09 19:58:51 UTC
README
This bundle sends Symfony request traces to Google Cloud Trace.
By default, it traces the main Symfony kernel flow only. More detailed instrumentation is opt-in to avoid adding noisy spans or unnecessary runtime overhead in production.
Configuration
sfs_google_cloud_trace: enabled: true instrumentation: kernel: true event_dispatcher: false twig: false doctrine: false http_cache: false doctrine: include_sql: false
Enable twig, event_dispatcher, doctrine, or http_cache only when that detail is useful for the application. Keep doctrine.include_sql disabled unless query text is needed and safe to send to Google Cloud Trace.
Armonic
This package is part of Armonic.
Documentation
Contributing
See CONTRIBUTING.md.
Report issues and send Pull Requests
License
This package is free and released under the AGPL-3.0 license.