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.2.0.tar.gz
.
File metadata
- Download URL: nonebot-plugin-sentry-0.2.0.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-66-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e773fc632d07cf4055315cfb15db26c2d561fe575923c1986c154832dd5032a |
|
MD5 | 32c0097e2504d7f4bab90c63d5ecc224 |
|
BLAKE2b-256 | 79ea334f8c2ef06102eb4c097bddb4432b1423bbb99805a2fafac1e5666acb0e |
File details
Details for the file nonebot_plugin_sentry-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: nonebot_plugin_sentry-0.2.0-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-66-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f1298944a709f58b7b5b94188aade56978bbfe0b8f13869c0a7764560149ea8 |
|
MD5 | 1a462ca13ec5279e46e3fc2f2c786a93 |
|
BLAKE2b-256 | f7981439e0ca1deeaccb06a67a9281dd78318c4a048c00773d954def1037d1ee |