mirror of
https://codeberg.org/pronounscc/pronouns.cc.git
synced 2024-11-20 10:19:51 +01:00
fix(backend): add environment variable to disable tracing
This commit is contained in:
parent
a297ec681e
commit
cb8cfb9d2f
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ func run(c *cli.Context) error {
|
|||
Dsn: dsn,
|
||||
Debug: os.Getenv("DEBUG") == "true",
|
||||
Release: server.Tag,
|
||||
EnableTracing: true,
|
||||
EnableTracing: os.Getenv("SENTRY_TRACING") == "true",
|
||||
TracesSampleRate: 0.05,
|
||||
ProfilesSampleRate: 0.05,
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue