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
Close
Hashes for nonebot-plugin-sentry-0.2.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e042e773e1d533d9bb5deb81cc0e9a0d78800e43c5093475d65d8c91308f98f7 |
|
MD5 | 859a8528842e2433df2cb8e30a438d82 |
|
BLAKE2b-256 | a402ded89430d8198d6f7cb43731517c131e99700f99b1ddac58de7422cac96b |
Close
Hashes for nonebot_plugin_sentry-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc7aab8a258aa1931bd4fdab36672e6e99f645d438c6c24999688a8422ba0dd3 |
|
MD5 | e00cd4fe45768621e3525dd878b5c67f |
|
BLAKE2b-256 | 153d7ea2a0f1096c0bcae16526121fd6b4e6af4aed8ce8f1cbc66399907b87a7 |