-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -598,11 +598,13 @@ class SeichiAssist extends JavaPlugin() { | |
|
||
Sentry.init(options => { | ||
options.setDsn("https://[email protected]/2"); | ||
// Set tracesSampleRate to 1.0 to capture 100% of transactions for performance monitoring. | ||
// We recommend adjusting this value in production. | ||
options.setTracesSampleRate(1.0); | ||
// パフォーマンスモニタリングに使うトレースサンプルの送信割合 | ||
// tracesSampleRateを1.0にすると全てのイベントが送られるため、送りすぎないように調整する必要がある | ||
options.setTracesSampleRate(0.25); | ||
// When first trying Sentry it's good to see what the SDK is doing: | ||
options.setDebug(true); | ||
|
||
// どのサーバーからイベントが送られているのかを判別する識別子 | ||
options.setEnvironment(SeichiAssist.seichiAssistConfig.getServerId); | ||
}); | ||
|
||
|