forked from getsentry/sentry-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconsts.py
More file actions
38 lines (34 loc) · 907 Bytes
/
consts.py
File metadata and controls
38 lines (34 loc) · 907 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import socket
VERSION = "0.6.9"
DEFAULT_SERVER_NAME = socket.gethostname() if hasattr(socket, "gethostname") else None
DEFAULT_OPTIONS = {
"dsn": None,
"with_locals": True,
"max_breadcrumbs": 100,
"release": None,
"environment": None,
"server_name": DEFAULT_SERVER_NAME,
"shutdown_timeout": 2.0,
"integrations": [],
"in_app_include": [],
"in_app_exclude": [],
"default_integrations": True,
"dist": None,
"transport": None,
"sample_rate": 1.0,
"send_default_pii": False,
"http_proxy": None,
"https_proxy": None,
"ignore_errors": [],
"request_bodies": "medium",
"before_send": None,
"before_breadcrumb": None,
"debug": False,
"attach_stacktrace": False,
"ca_certs": None,
}
SDK_INFO = {
"name": "sentry.python",
"version": VERSION,
"packages": [{"name": "pypi:sentry-sdk", "version": VERSION}],
}