Code Monkey home page Code Monkey logo

sentry-dingtalk's Introduction

Sentry DingTalk

Sentry 集成钉钉机器人通知

Requirments

  • sentry >= 21.5.1

特性

  • 发送异常通知到钉钉
  • 支持钉钉机器人webhook设置关键字
  • 配置环境变量
    • DINGTALK_WEBHOOK: Optional(string)
    • DINGTALK_CUSTOM_KEYWORD: Optional(string)

快速使用

安装

  1. 使用 pip 命令

    $ pip install sentry-dingtalk-jedore
  2. 写入依赖文件 onpremise-xxx/sentry/requirements.txt

    $ echo sentry-dingtalk-jedore >> requirements.txt

钉钉机器人

配置钉钉机器人并拿到对应的 webhook, 可以对机器人设置 关键词、签名、IP限制

配置

在 Sentry 面板 Settings > Integrations 中找到 DingTalk 并配置 webhook、关键词等信息,添加项目,创建告警规则

测试

  1. Enable Plugin
  2. Test Plugin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.