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

Server becomes unresponsive in production mode #8

Open
juztim opened this issue Jun 28, 2024 · 4 comments
Open

Server becomes unresponsive in production mode #8

juztim opened this issue Jun 28, 2024 · 4 comments

Comments

@juztim
Copy link

juztim commented Jun 28, 2024

When I have my normal Handle function it works fine, however when I wrap it in the useOpenTelemetry function from the baselime package the app is no longer responsive and doesnt handle incoming requests at all. This is not an issue during dev mode only when building the app & starting it.

Additionally after a few seconds it crashes entirely:

image

@Ankcorn
Copy link
Contributor

Ankcorn commented Jul 3, 2024

Hi can you please share what versions of sveltekit and opentelemetry you are using, your node version and how you have set it up so I can recreate the issue.

@juztim
Copy link
Author

juztim commented Jul 4, 2024

Hi!

@baselime/node-opentelemetry 0.5.8
@baselime/sveltekit-opentelemetry-middleware 0.1.6
@baselime/trpc-opentelemetry-middleware 0.1.2

@sveltejs/kit 2.5.5

It fails as soon as I wrap the handle inside withOpentelemtry, even if I remove all other code in that handler

e.g.

export const handle = withOpenTelemetry(async ({ event, resolve }) => resolve(event));

@juztim
Copy link
Author

juztim commented Jul 6, 2024

Btw I use adapter-node for builds which may be relevant to add

@williamoverton
Copy link

williamoverton commented Sep 10, 2024

We are now experiencing this, having to remove baselime :(

We are also using adapter-node. This was not an issue on Vercel.

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

No branches or pull requests

3 participants