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_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


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.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

nonebot_plugin_sentry-0.1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nonebot-plugin-sentry-0.1.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-54-generic

File hashes

Hashes for nonebot-plugin-sentry-0.1.0.tar.gz
Algorithm Hash digest
SHA256 633010600479f033671a5e8e60c6b5384068cd6951c7fbec9b0495debc1ff79b
MD5 964d8b40c743c820db4ef7bb7983f033
BLAKE2b-256 99ac31884ab0ec1e4101163e981c607bab2c178165b461e935f4854818c544e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_sentry-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d0d6458782f21481c9ba0f972566d02ad3757c505d5eab31329ffd3ad189602a
MD5 dc5feba8953a160acb7eab3058d77e19
BLAKE2b-256 a66bb12a87d9fd3fde98fd28fbf836d7fd33fe37cb7c7a6b3059b3173b7481f4

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