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

How to capture response / status code? #350

Closed
kirrg001 opened this issue Jun 26, 2020 · 2 comments
Closed

How to capture response / status code? #350

kirrg001 opened this issue Jun 26, 2020 · 2 comments

Comments

@kirrg001
Copy link

kirrg001 commented Jun 26, 2020

Hi there!

I am not seeing the HTTP response status code in sentry. How can I configure this to be sent?
I want to display the status code in sentry to configure my alerts as best.

I am using the default setup in Symfony

sentry:
  dsn: 'x'
  options:
    environment: '%env(APP_HOST)%'
    release: '%env(APP_RELEASE)%'
    send_default_pii: true

Thanks so much!

@Jean85
Copy link
Collaborator

Jean85 commented Jun 26, 2020

Since events are generated before sending the request out, that could be a reason why that's missing from the event.

Maybe with #337 this could be changed?

@ste93cry
Copy link
Collaborator

I'm gonan close this issue because there is no activity since a long time. Feel free to reopen if you still need help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants