Push your bot errors to Sentry.io
Project description
nonebot-plugin-sentry
✨ 在 Sentry.io 上进行 NoneBot 服务日志查看、错误处理 ✨
使用方式
填写必须配置项 SENTRY_DSN
,即刻开始 sentry 之旅!
配置项
配置项具体含义参考: Sentry Docs
sentry_dsn: str
sentry_debug: bool = False
sentry_release: Optional[str] = None
sentry_release: Optional[str] = None
sentry_environment: Optional[str] = nonebot env
sentry_server_name: Optional[str] = None
sentry_sample_rate: float = 1.
sentry_max_breadcrumbs: int = 100
sentry_attach_stacktrace: bool = False
sentry_send_default_pii: bool = False
sentry_in_app_include: List[str] = Field(default_factory=lambda: [])
sentry_in_app_exclude: List[str] = Field(default_factory=lambda: [])
sentry_request_bodies: str = "medium"
sentry_with_locals: bool = True
sentry_ca_certs: Optional[str] = None
sentry_before_send: Optional[Callable[[Any, Any], Optional[Any]]] = None
sentry_before_breadcrumb: Optional[Callable[[Any, Any], Optional[Any]]] = None
sentry_transport: Optional[Any] = None
sentry_http_proxy: Optional[str] = None
sentry_https_proxy: Optional[str] = None
sentry_shutdown_timeout: int = 2
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nonebot-plugin-sentry-0.1.1.tar.gz
.
File metadata
- Download URL: nonebot-plugin-sentry-0.1.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.0 Linux/5.4.0-54-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1ff3280259026605e89960b0d2c7d2e51a0e1a123b399ca8fcaacc4edeec18f |
|
MD5 | cea344fab8a1bb79adc4fcb1edca9b53 |
|
BLAKE2b-256 | c0f8aed029dd858f9f21b3f33f8aa0833f3068ed2eb813d22b669e0e252c129d |
File details
Details for the file nonebot_plugin_sentry-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: nonebot_plugin_sentry-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.0 Linux/5.4.0-54-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c482d4af6032ca5b4e90d6fd06213a91f6f0cbf63de82c88133c461841348a0 |
|
MD5 | c663b36065172223eafbf315c827441a |
|
BLAKE2b-256 | 3709646413be460d69bb2d0c2bd9cd669170c902114045fb57c7951a81cdb131 |