Skip to content

fix: update Sentry instrumentation#2024

Open
spaenleh wants to merge 1 commit intomainfrom
sentry-instrumentation
Open

fix: update Sentry instrumentation#2024
spaenleh wants to merge 1 commit intomainfrom
sentry-instrumentation

Conversation

@spaenleh
Copy link
Member

This records the sentry instrumentation code changes.

It looks like this code change when deployed to AWS does not start fast enough for the ALB Health checks to succeed so it gets killed.

We need to find why there looks to be such a slow down when adding sentry.

We could maybe use the late initialization technique which would allow the server to be responsive sooner. But even in that case it might be that the auto-instrumentation that is done is too much for the server start.

Maybe we need to increase the memory and cpu resources ? Maybe we should try to bundle the code ? But this probably means having to re-write parts of the code, in that case maybe it is too much work and we should focus on porting/migrating the code to elixir instead ? Not sure.

* fix: setup sentry for CJS

* fix: make small changes to config

* fix: send sourcemaps to sentry on build inside docker

* fix: make requested changes

fix: duplicated env in build image

fix: add sentry token to dev deploy

fix: send sourcemaps separately and do not include sourcemaps in prod code
@spaenleh spaenleh changed the title fix: update Sentry instrumentation (#2021) fix: update Sentry instrumentation Oct 24, 2025
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
2 Security Hotspots

See analysis details on SonarQube Cloud

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant