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