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_env: Optional[str] = None
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
Close
Hashes for nonebot-plugin-sentry-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 633010600479f033671a5e8e60c6b5384068cd6951c7fbec9b0495debc1ff79b |
|
MD5 | 964d8b40c743c820db4ef7bb7983f033 |
|
BLAKE2b-256 | 99ac31884ab0ec1e4101163e981c607bab2c178165b461e935f4854818c544e0 |
Close
Hashes for nonebot_plugin_sentry-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0d6458782f21481c9ba0f972566d02ad3757c505d5eab31329ffd3ad189602a |
|
MD5 | dc5feba8953a160acb7eab3058d77e19 |
|
BLAKE2b-256 | a66bb12a87d9fd3fde98fd28fbf836d7fd33fe37cb7c7a6b3059b3173b7481f4 |