Skip to content
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

Mohammed albanna #69838

Open
rockmaster6 opened this issue Apr 27, 2024 · 2 comments
Open

Mohammed albanna #69838

rockmaster6 opened this issue Apr 27, 2024 · 2 comments

Comments

@rockmaster6
Copy link

import Sentry

SentrySDK.start { options in
options.dsn = "https://1ccc79572a2c4c99a6caec6cf4dc8576@o4504052354711552.ingest.us.sentry.io/4504052364279810"

// Example uniform sample rate: capture 100% of transactions
// In Production you will probably want a smaller number such as 0.5 for 50%
options.tracesSampleRate = 1.0

// OR if you prefer, determine traces sample rate based on the
// sampling context
options.tracesSampler = { context in
     // Don't miss any transactions for VIP users
    if context?["vip"] as? Bool == true {
        return 1.0
    } else {
        return 0.25 // 25% for everything else
    }
}

}

@getsantry
Copy link
Contributor

getsantry bot commented Apr 27, 2024

Assigning to @getsentry/support for routing ⏲️

@ReneGreen27
Copy link
Member

Hello @rockmaster6! Thanks for opening a Github issue with us; can you please provide further context as to what behavior is occurring that is unexpected, what you would expect and in what part of our product so I can best direct your request for review?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Waiting for: Community
Development

No branches or pull requests

2 participants