Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Tracing Example for Azure Functions (and other serverless?) #87

Closed
derekrprice opened this issue May 19, 2021 · 2 comments
Closed

Tracing Example for Azure Functions (and other serverless?) #87

derekrprice opened this issue May 19, 2021 · 2 comments

Comments

@derekrprice
Copy link

I attempted to enable tracing in my serverless application, but we have a high traffic application, which means that many invocations of both the same function and other functions are often running in parallel. Since the Sentry.configureScope() call is global, attempting to set a span for one instance overwrites spans enabled for previous instances. If there is a way to configure a separate scope for each function invocation, it should be documented, both in Sentry's Azure Functions SDK docs and in this examples repository.

@derekrprice
Copy link
Author

I think this may need more than documentation. I've created a bugd report at getsentry/sentry-javascript#3572

@bruno-garcia
Copy link
Member

Agreed this is something best fit to raise in the SDK repo. Thanks for raising there.

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

No branches or pull requests

2 participants