# Sentry DingTalkS
Sentry 集成钉钉机器人通知
## Requirments
- sentry >= 21.5.1
## 特性
- 发送异常通知到钉钉
- 配置 @ 成员,逗号分隔
## 快速使用
### 安装
1. 使用 `pip` 命令
```bash
$ pip install sentry-dingtalks
```
### 钉钉机器人
[配置](https://developers.dingtalks.com/document/app/custom-robot-access)钉钉机器人并拿到对应的 webhook, 可以对机器人设置 关键词、签名、IP限制
### 配置
在 Sentry 面板 Settings > Integrations 中找到 DingTalkS 并配置 webhook、关键词等信息,添加项目,创建告警规则
### 如何更新发布?
1. 修改版本 代码逻辑
2. ```bash
$ python3 setup.py sdist
$ python3 -m twine upload dist/* -u xxx -p xxx
```
Raw data
{
"_id": null,
"home_page": "https://gitlab.xiaoman.cc/sourceliu/sentry-dingtalks",
"name": "sentry-dingtalks",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6.13",
"maintainer_email": "",
"keywords": "sentry dingtalks",
"author": "source",
"author_email": "source@qq.com",
"download_url": "https://files.pythonhosted.org/packages/08/77/e90c51b0c1a873b0dd0843e47cd10333ffefa83f047234b04211f1e1b323/sentry-dingtalks-1.0.1.tar.gz",
"platform": null,
"description": "\n# Sentry DingTalkS\n\nSentry \u96c6\u6210\u9489\u9489\u673a\u5668\u4eba\u901a\u77e5\n\n## Requirments\n- sentry >= 21.5.1\n\n## \u7279\u6027\n- \u53d1\u9001\u5f02\u5e38\u901a\u77e5\u5230\u9489\u9489\n- \u914d\u7f6e @ \u6210\u5458\uff0c\u9017\u53f7\u5206\u9694\n## \u5feb\u901f\u4f7f\u7528\n### \u5b89\u88c5\n1. \u4f7f\u7528 `pip` \u547d\u4ee4\n ```bash\n $ pip install sentry-dingtalks\n ```\n\n### \u9489\u9489\u673a\u5668\u4eba\n[\u914d\u7f6e](https://developers.dingtalks.com/document/app/custom-robot-access)\u9489\u9489\u673a\u5668\u4eba\u5e76\u62ff\u5230\u5bf9\u5e94\u7684 webhook, \u53ef\u4ee5\u5bf9\u673a\u5668\u4eba\u8bbe\u7f6e \u5173\u952e\u8bcd\u3001\u7b7e\u540d\u3001IP\u9650\u5236\n\n### \u914d\u7f6e\n\u5728 Sentry \u9762\u677f Settings > Integrations \u4e2d\u627e\u5230 DingTalkS \u5e76\u914d\u7f6e webhook\u3001\u5173\u952e\u8bcd\u7b49\u4fe1\u606f\uff0c\u6dfb\u52a0\u9879\u76ee\uff0c\u521b\u5efa\u544a\u8b66\u89c4\u5219\n\n### \u5982\u4f55\u66f4\u65b0\u53d1\u5e03\uff1f\n1. \u4fee\u6539\u7248\u672c \u4ee3\u7801\u903b\u8f91\n2. ```bash \n $ python3 setup.py sdist\n $ python3 -m twine upload dist/* -u xxx -p xxx\n ```\n\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A sentry extension integrates DingTalkS robot webhook forked from source/sentry-dingtalks",
"version": "1.0.1",
"split_keywords": [
"sentry",
"dingtalks"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "f8496f46d1828abc72652980dc48490b",
"sha256": "4c2baf1e1a76d0d90a4dc8af619a8b015222c16c2766441a65719b4cad38acf0"
},
"downloads": -1,
"filename": "sentry-dingtalks-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "f8496f46d1828abc72652980dc48490b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6.13",
"size": 6594,
"upload_time": "2022-12-27T02:10:39",
"upload_time_iso_8601": "2022-12-27T02:10:39.262599Z",
"url": "https://files.pythonhosted.org/packages/08/77/e90c51b0c1a873b0dd0843e47cd10333ffefa83f047234b04211f1e1b323/sentry-dingtalks-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-27 02:10:39",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "sentry-dingtalks"
}