Skip to main content

Push your bot errors to Sentry.io

Project description

nonebot sentry

nonebot-plugin-sentry

✨ 在 Sentry.io 上进行 NoneBot 服务日志查看、错误处理 ✨

license pypi python

使用方式

填写必须配置项 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot-plugin-sentry-0.2.2.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

nonebot_plugin_sentry-0.2.2-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file nonebot-plugin-sentry-0.2.2.tar.gz.

File metadata

  • Download URL: nonebot-plugin-sentry-0.2.2.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.5 CPython/3.9.0 Linux/5.4.0-74-generic

File hashes

Hashes for nonebot-plugin-sentry-0.2.2.tar.gz
Algorithm Hash digest
SHA256 e042e773e1d533d9bb5deb81cc0e9a0d78800e43c5093475d65d8c91308f98f7
MD5 859a8528842e2433df2cb8e30a438d82
BLAKE2b-256 a402ded89430d8198d6f7cb43731517c131e99700f99b1ddac58de7422cac96b

See more details on using hashes here.

File details

Details for the file nonebot_plugin_sentry-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_sentry-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cc7aab8a258aa1931bd4fdab36672e6e99f645d438c6c24999688a8422ba0dd3
MD5 e00cd4fe45768621e3525dd878b5c67f
BLAKE2b-256 153d7ea2a0f1096c0bcae16526121fd6b4e6af4aed8ce8f1cbc66399907b87a7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page