mirror of
https://github.com/rjNemo/rentease.git
synced 2026-06-06 02:36:49 +00:00
set tracing
This commit is contained in:
parent
f4870cbb4c
commit
4ae233f9a3
1 changed files with 1 additions and 0 deletions
1
main.go
1
main.go
|
|
@ -32,6 +32,7 @@ func init() {
|
|||
func main() {
|
||||
if err := sentry.Init(sentry.ClientOptions{
|
||||
Dsn: os.Getenv("SENTRY_DSN"),
|
||||
EnableTracing: true,
|
||||
TracesSampleRate: 1.0,
|
||||
}); err != nil {
|
||||
log.Fatalf("error initializing sentry: %s", err)
|
||||
|
|
|
|||
Loading…
Reference in a new issue