-
-
Notifications
You must be signed in to change notification settings - Fork 308
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: Performance monitoring #909
Conversation
let's also pull master into |
Codecov Report
@@ Coverage Diff @@
## master #909 +/- ##
==========================================
- Coverage 95.21% 95.08% -0.14%
==========================================
Files 79 88 +9
Lines 3577 3787 +210
==========================================
+ Hits 3406 3601 +195
- Misses 171 186 +15
Continue to review full report at Codecov.
|
I configured Github Actions with e08c892 for this branch. |
Yes but this time maybe rebase, so we dont' end up with a lot of merge commits into main when we merge there without squash |
8830e88
to
436c1b7
Compare
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 know this is WIP, and we want to see something happening, but before merging this PR, let's add tests for the new functionality. Codecov tells us the coverage is going down.
Co-authored-by: Philipp Hofmann <philipp.hofmann@sentry.io> Co-authored-by: Clang Robot <clang-robot@sentry.io> Co-authored-by: Bruno Garcia <bruno@brunogarcia.com>
Co-authored-by: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com>
352f07e
to
380bc9e
Compare
Co-authored-by: Philipp Hofmann <philipp.hofmann@sentry.io> Co-authored-by: Bruno Garcia <bruno@brunogarcia.com>
What about squashing this whole PR as just one commit |
I prefer not squashing, history might be valuable when investigating things |
Co-authored-by: Bruno Garcia <bruno@brunogarcia.com> Co-authored-by: Philipp Hofmann <philipp.hofmann@sentry.io> Co-authored-by: Clang Robot <clang-robot@sentry.io>
Co-authored-by: Sentry Github Bot <bot+github-bot@sentry.io>
What about merging this to master, as we have 7.0.0-alpha.0 already? @bruno-garcia, @marandaneto |
there are still a few moving bits, I'd wait for the sampling context PR to be merged and work a bit on samples. I'd prefer to have a sample that creates a transaction, start a child, finish as errored, capture an event in-between, see if it associate its data, etc, right now there are only unit tests but no real usage/similar to the reality to be sure that everything renders nicely in the UI, other than that, I'd be totally in for making an alpha, what do you think @bruno-garcia @philipphofmann @brustolin ? |
* Transaction sampling * Update CHANGELOG.md * Format code * Apply suggestions from code review Co-authored-by: Philipp Hofmann <philipp.hofmann@sentry.io> * Testing and fixes * Using NSNumber for sampler return * Update CHANGELOG.md Co-authored-by: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com> * Comment Update * Using NSNumber for tracesSampleRate Co-authored-by: Sentry Github Bot <bot+github-bot@sentry.io> Co-authored-by: Philipp Hofmann <philipp.hofmann@sentry.io> Co-authored-by: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com>
Makes total sense to me! Sample would be great. |
* Some UI Sample * Format code * Apply suggestions from code review Co-authored-by: Philipp Hofmann <philipp.hofmann@sentry.io> * removing button to download image * Adding status and fixing operation value * Fixed Tests Co-authored-by: Sentry Github Bot <bot+github-bot@sentry.io> Co-authored-by: Philipp Hofmann <philipp.hofmann@sentry.io>
* Changing sampled from bool to enum, using TracesSampler * removing name from span * SamplingTests * changelog and code format * Lint Fix * Fix tests * Update Samples/iOS-Swift/iOS-Swift/TraceTestViewController.swift Co-authored-by: Bruno Garcia <bruno@brunogarcia.com> * Random generator for sampling * missing comment * remove sampler from SentryHub+TestInit.h * Apply suggestions from code review Co-authored-by: Philipp Hofmann <philipp.hofmann@sentry.io> Co-authored-by: Bruno Garcia <bruno@brunogarcia.com> Co-authored-by: Philipp Hofmann <philipp.hofmann@sentry.io>
@brustolin please resolve the open comments if they are already resolved, so it's easier to review it again, thanks |
changelog requires merging |
@bruno-garcia can we check if the sampling decision follows the correct format based on the discussion yesterday? I quite didn't fully get it yet and it'd be nice to double-check this before releasing, even if it's wrong, it'd be an easy fix. |
@marandaneto, I created an issue for this #986. I think it's fine to release the alpha without this fix. |
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.
For an alpha LGTM. I don't want to keep this on an extra branch any longer. Is there anything stopping us from merging this @bruno-garcia, @marandaneto, and @brustolin?
it's not about that, it's something else. |
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.
LGTM
This PR is not going to receive commits directly. It'll serve as
base
for PRs related to performance monitoring and will be merged intomaster
without squash.