Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for auto_capture_sessions #151

Open
alcohol opened this issue Mar 21, 2022 · 1 comment
Open

Support for auto_capture_sessions #151

alcohol opened this issue Mar 21, 2022 · 1 comment
Labels
backlog We hope to fix this feature/bug in the future feature request Request for a new feature

Comments

@alcohol
Copy link

alcohol commented Mar 21, 2022

Description

The Symfony bundle does not seem to provide a way to configure the auto_capture_sessions option. The Laravel integration does provide this.

Describe the solution you'd like

It would be nice if this could be configured through the bundle configuration.

Describe alternatives you've considered

Currently I set this manually after loading the bundle and configuration in our Symfony kernel.

@xljones
Copy link

xljones commented Mar 25, 2022

Hey @alcohol, cheers for the request. Full support for session tracking in Symfony is something that's on our roadmap considered for the future. We'll be sure to let you know about any changes on this front. Your current alternative is the most suitable workaround for now though.

For future travellers, you can use $this->get('bugsnag')->startSession() in Symfony, which is equivalent to a call to $bugsnag->startSession() in the plain PHP notifier, which bugsnag-symfony uses: https://docs.bugsnag.com/platforms/php/other/#session-tracking

@xljones xljones added feature request Request for a new feature backlog We hope to fix this feature/bug in the future labels Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog We hope to fix this feature/bug in the future feature request Request for a new feature
Projects
None yet
Development

No branches or pull requests

2 participants