mirror of
https://github.com/zulip/zulip.git
synced 2025-10-28 02:23:57 +00:00
worker: Split out worker sampling rate, and add Sentry transactions.
This commit is contained in:
committed by
Tim Abbott
parent
f64b9475c1
commit
9451d08bb9
@@ -1,6 +1,6 @@
|
||||
import os
|
||||
from email.headerregistry import Address
|
||||
from typing import TYPE_CHECKING, Any, Callable, Dict, List, Literal, Optional, Tuple
|
||||
from typing import TYPE_CHECKING, Any, Callable, Dict, List, Literal, Optional, Tuple, Union
|
||||
|
||||
from django_auth_ldap.config import GroupOfUniqueNamesType, LDAPGroupType
|
||||
|
||||
@@ -138,6 +138,7 @@ LOGGING_SHOW_PID = False
|
||||
|
||||
# Sentry.io error defaults to off
|
||||
SENTRY_DSN: Optional[str] = None
|
||||
SENTRY_TRACE_WORKER_RATE: Union[float, Dict[str, float]] = 0.0
|
||||
SENTRY_TRACE_RATE: float = 0.0
|
||||
SENTRY_PROFILE_RATE: float = 0.1
|
||||
SENTRY_FRONTEND_DSN: Optional[str] = None
|
||||
|
||||
Reference in New Issue
Block a user