softspring/google-cloud-trace-bundle

This bundle sends Symfony request traces to Google Cloud Trace

Maintainers

Package info

github.com/softspring/google-cloud-trace-bundle

Type:symfony-bundle

pkg:composer/softspring/google-cloud-trace-bundle

Statistics

Installs: 554

Dependents: 0

Suggesters: 1

Stars: 0

Open Issues: 6

v5.5.8 2025-06-26 11:37 UTC

README

Latest Stable Latest Unstable License PHP Version Downloads CI Coverage

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

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.