fix sentry features, add sentry_traces_sample_rate
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
835c2112c8
commit
babf29d217
5 changed files with 230 additions and 21 deletions
|
@ -92,6 +92,7 @@ fn main() {
|
|||
"https://fe2eb4536aa04949e28eff3128d64757@o4506996327251968.ingest.us.sentry.io/4506996334657536",
|
||||
sentry::ClientOptions {
|
||||
release: sentry::release_name!(),
|
||||
traces_sample_rate: config.sentry_traces_sample_rate,
|
||||
server_name: if config.sentry_send_server_name {
|
||||
Some(config.server_name.to_string().into())
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue