-
-
Notifications
You must be signed in to change notification settings - Fork 206
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
Report ThreadPool stats #1399
Report ThreadPool stats #1399
Conversation
@@ -56,6 +57,7 @@ public SentryEvent Process(SentryEvent @event) | |||
} | |||
|
|||
AddMemoryInfo(@event.Contexts); | |||
AddThreadPoolInfo(@event.Contexts); |
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.
@bruno-garcia we only want that information for Events?
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.
forgive my ignorance, where else would we have it?
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 believe Lucas is referring to Transactions as the other possible place to add it.
We only run SentryEvent
instances here so transactions won't be getting this information.
A few things go through when deciding:
- Does this information help understand performance problems with the app?
- Is it cheap to retrieve this information (as in resource intensiveness)?
If the answer is 'yes' to both, it's a good candidate. Ideally we add information that's relative to the transaction itself (like what happened during the duration of that transaction). Like: How many GC gen0/1/2 ran during the transaction, for example. As 'point in time' information alone within a transaction might not be as valuable.
Ultimately, this might be more useful only as Metrics. Which is something we'll look into adding in the future
Codecov Report
@@ Coverage Diff @@
## main #1399 +/- ##
==========================================
- Coverage 84.04% 82.76% -1.29%
==========================================
Files 217 218 +1
Lines 7310 7351 +41
Branches 1415 1415
==========================================
- Hits 6144 6084 -60
- Misses 727 835 +108
+ Partials 439 432 -7
Continue to review full report at Codecov.
|
fixes #938