Skip to content

feat: Transaction in Sample App#971

Merged
brustolin merged 6 commits into
feat/performance-monitoringfrom
feat/swift-sample
Mar 8, 2021
Merged

feat: Transaction in Sample App#971
brustolin merged 6 commits into
feat/performance-monitoringfrom
feat/swift-sample

Conversation

@brustolin

Copy link
Copy Markdown
Contributor

📜 Description

Added some transaction tests in Swift sample app.

💡 Motivation and Context

Requested in issue #970.

🔮 Next steps

Include more Performance API samples as new features are being released.

@brustolin brustolin requested a review from bruno-garcia March 3, 2021 10:02

@philipphofmann philipphofmann left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's nice to see the API in action.

Comment thread Samples/iOS-Swift/iOS-Swift/TraceTestViewController.swift
Comment thread Samples/iOS-Swift/iOS-Swift/TraceTestViewController.swift Outdated
@philipphofmann philipphofmann linked an issue Mar 3, 2021 that may be closed by this pull request
brustolin and others added 2 commits March 3, 2021 19:43
Co-authored-by: Philipp Hofmann <philipp.hofmann@sentry.io>

@bruno-garcia bruno-garcia left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! A screenshot of the UI on the PR would be cook for a sneak peek.
CI isn't happy though

Comment thread Samples/iOS-Swift/iOS-Swift/TraceTestViewController.swift
Comment thread Samples/iOS-Swift/iOS-Swift/TraceTestViewController.swift Outdated
Comment thread Samples/iOS-Swift/iOS-Swift/TraceTestViewController.swift
Comment thread Samples/iOS-Swift/iOS-Swift/TraceTestViewController.swift Outdated
@brustolin

Copy link
Copy Markdown
Contributor Author

@marandaneto Changes made, can you take a new look?

@marandaneto

Copy link
Copy Markdown
Contributor

@marandaneto Changes made, can you take a new look?

nice, CI isn't happy though, thanks!

@bruno-garcia

Copy link
Copy Markdown
Member

@brustolin swift linter check seems broken

@brustolin brustolin merged commit 4a90eb5 into feat/performance-monitoring Mar 8, 2021
@brustolin brustolin deleted the feat/swift-sample branch March 8, 2021 13:32
bruno-garcia added a commit that referenced this pull request Mar 11, 2021
* feat: performance monitoring

* build: Setup CI for performance monitoring branch

* feat: Performance API: Transaction (#908)

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>

* test: Add captureTransaction to sample apps (#922)

* docs: Improve code comments on transactions (#921)

Co-authored-by: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com>

* feat: Add missing properties to SpanContext and Transaction (#919)

Co-authored-by: Philipp Hofmann <philipp.hofmann@sentry.io>
Co-authored-by: Bruno Garcia <bruno@brunogarcia.com>

* feat: Adding SentrySpan to performance monitoring. (#932)

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>

* ref: Remove SentryTransaction from public API. (#950)

Co-authored-by: Sentry Github Bot <bot+github-bot@sentry.io>

* feat: Add transaction sampling properties to SentryOptions (#961)

* 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>

* feat: Transaction in Sample App (#971)

* 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>

* merge fix

* feat: Add sampling rules to SentryHub startTransaction. (#977)

* 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>

* meta: Add missing breaking change to Changelog

* performance changelog

Co-authored-by: Philipp Hofmann <philipp.hofmann@sentry.io>
Co-authored-by: Dhiogo Brustolin <dhiogorb@gmail.com>
Co-authored-by: Clang Robot <clang-robot@sentry.io>
Co-authored-by: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com>
Co-authored-by: Sentry Github Bot <bot+github-bot@sentry.io>
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

Successfully merging this pull request may close these issues.

Create transaction in sample app

5 participants