# sentry_feishu_gsmini
`Sentry`的`飞书`通知插件
## 适用sentry版本24.10.0
```shell
当前版本只在24.10.0试过,由于老版本(10.0等)插件实现方式和当前新的不一样,所以才有的这个项目
```
## 安装
```bash
git clone https://github.com/getsentry/self-hosted.git
cd self-hosted/
cp enhance-image.example.sh enhance-image.sh
chmod 777 enhance-image.sh # 如果不改权限 本地文件copy到容器内后过可能无法执行
```
enhance-image.sh 内容如下
```shell
#!/bin/bash
set -euo pipefail
pip install sentry_feishu_gsmini=1.14 # 安装插件pip包
```
> 官方说明: https://develop.sentry.dev/self-hosted/#enhance-sentry-image
## 使用
### 进入项目设置
![img.png](doc-images/project-setting.png)
### 点击 Legacy Integrations打开飞书插件开关
![img.png](doc-images/integrations.png)
### 刷新页面后看到有飞书插件后,点击进入填写飞书webhook
![img.png](doc-images/webhook-url.png)
### 触发错误后飞书群聊收到机器人消息
![img.png](doc-images/feishu.png)
Raw data
{
"_id": null,
"home_page": "https://github.com/gsmini/sentry-feishu",
"name": "sentry-feishu-gsmini",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "sentry feishu notify",
"author": "gsmini",
"author_email": "gsmini@sina.cn",
"download_url": "https://files.pythonhosted.org/packages/d4/74/a168acb71fc48f7dd6c252171f7fcf479dc36c0bd97cae4c45ca81fd48c6/sentry_feishu_gsmini-1.15.tar.gz",
"platform": null,
"description": "# sentry_feishu_gsmini\n\n`Sentry`\u7684`\u98de\u4e66`\u901a\u77e5\u63d2\u4ef6\n\n## \u9002\u7528sentry\u7248\u672c24.10.0\n```shell\n\u5f53\u524d\u7248\u672c\u53ea\u572824.10.0\u8bd5\u8fc7\uff0c\u7531\u4e8e\u8001\u7248\u672c(10.0\u7b49)\u63d2\u4ef6\u5b9e\u73b0\u65b9\u5f0f\u548c\u5f53\u524d\u65b0\u7684\u4e0d\u4e00\u6837\uff0c\u6240\u4ee5\u624d\u6709\u7684\u8fd9\u4e2a\u9879\u76ee\n```\n## \u5b89\u88c5\n\n```bash\ngit clone https://github.com/getsentry/self-hosted.git\n\ncd self-hosted/\ncp enhance-image.example.sh enhance-image.sh \nchmod 777 enhance-image.sh # \u5982\u679c\u4e0d\u6539\u6743\u9650 \u672c\u5730\u6587\u4ef6copy\u5230\u5bb9\u5668\u5185\u540e\u8fc7\u53ef\u80fd\u65e0\u6cd5\u6267\u884c\n```\nenhance-image.sh \u5185\u5bb9\u5982\u4e0b\n```shell\n#!/bin/bash\nset -euo pipefail\npip install sentry_feishu_gsmini=1.14 # \u5b89\u88c5\u63d2\u4ef6pip\u5305\n\n```\n> \u5b98\u65b9\u8bf4\u660e\uff1a https://develop.sentry.dev/self-hosted/#enhance-sentry-image\n\n## \u4f7f\u7528\n\n### \u8fdb\u5165\u9879\u76ee\u8bbe\u7f6e\n![img.png](doc-images/project-setting.png)\n\n### \u70b9\u51fb Legacy Integrations\u6253\u5f00\u98de\u4e66\u63d2\u4ef6\u5f00\u5173\n![img.png](doc-images/integrations.png)\n\n### \u5237\u65b0\u9875\u9762\u540e\u770b\u5230\u6709\u98de\u4e66\u63d2\u4ef6\u540e\uff0c\u70b9\u51fb\u8fdb\u5165\u586b\u5199\u98de\u4e66webhook\n![img.png](doc-images/webhook-url.png)\n\n### \u89e6\u53d1\u9519\u8bef\u540e\u98de\u4e66\u7fa4\u804a\u6536\u5230\u673a\u5668\u4eba\u6d88\u606f\n![img.png](doc-images/feishu.png)\n\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A Sentry extension which send errors stats to FeiShu",
"version": "1.15",
"project_urls": {
"Homepage": "https://github.com/gsmini/sentry-feishu"
},
"split_keywords": [
"sentry",
"feishu",
"notify"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "fae133da57a4feeee4302af5893e78e3e339a86e04897f5a93943f5959e81057",
"md5": "9f65f92f127c126fef7e39680fd2975e",
"sha256": "ec99eabb344a32c98660717ad3a7fd07bc4397a25d87fbd5a7537189a1f56c18"
},
"downloads": -1,
"filename": "sentry_feishu_gsmini-1.15-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9f65f92f127c126fef7e39680fd2975e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 6060,
"upload_time": "2024-12-20T01:30:34",
"upload_time_iso_8601": "2024-12-20T01:30:34.463417Z",
"url": "https://files.pythonhosted.org/packages/fa/e1/33da57a4feeee4302af5893e78e3e339a86e04897f5a93943f5959e81057/sentry_feishu_gsmini-1.15-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d474a168acb71fc48f7dd6c252171f7fcf479dc36c0bd97cae4c45ca81fd48c6",
"md5": "4edea87616c8d96f45e77cc9182ca397",
"sha256": "256beadcfd6d27af9977457303e8f4d3fc66b129ad285c408ac7749b20361a5e"
},
"downloads": -1,
"filename": "sentry_feishu_gsmini-1.15.tar.gz",
"has_sig": false,
"md5_digest": "4edea87616c8d96f45e77cc9182ca397",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4628,
"upload_time": "2024-12-20T01:30:36",
"upload_time_iso_8601": "2024-12-20T01:30:36.782939Z",
"url": "https://files.pythonhosted.org/packages/d4/74/a168acb71fc48f7dd6c252171f7fcf479dc36c0bd97cae4c45ca81fd48c6/sentry_feishu_gsmini-1.15.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-20 01:30:36",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "gsmini",
"github_project": "sentry-feishu",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "sentry-feishu-gsmini"
}