-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
feat(release-archives): Add spans to fetch_release_archive_for_url #28790
Conversation
cache.set(cache_key, file_.read(), 3600) | ||
with sentry_sdk.start_span(op="fetch_release_archive_for_url.read_for_caching"): | ||
contents = file_.read() | ||
with sentry_sdk.start_span(op="fetch_release_archive_for_url.write_to_cache"): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps would be helpful to add the size of "contents" to the span as additional data, to check if there's correlation between size and time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this makes sense.. probably should do this for every span. Keep in mind we don't have access to local vars in performance product
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
…28790) Add more instrumentation to function that triggers soft timeouts. https://getsentry.atlassian.net/browse/INGEST-116
Add more instrumentation to function that triggers frequent soft timeouts.
https://getsentry.atlassian.net/browse/INGEST-116