2024-09-10 18:26:00 +00:00
|
|
|
---
|
|
|
|
sidebar_position: 1
|
|
|
|
---
|
|
|
|
|
|
|
|
# Integration with Sentry
|
|
|
|
|
|
|
|
:::info
|
|
|
|
Learn more about sentry in [sentry.io](https://sentry.io/)
|
|
|
|
:::
|
|
|
|
|
|
|
|
Click `Settings` => `Integrations` => `Create New Integration`
|
|
|
|
|
2024-10-05 09:52:02 +00:00
|
|
|
![](/img/docs/sentry/sentry1.png)
|
2024-09-10 18:26:00 +00:00
|
|
|
|
|
|
|
Create a `Internal Integration` application
|
|
|
|
|
2024-10-05 09:52:02 +00:00
|
|
|
![](/img/docs/sentry/sentry2.png)
|
2024-09-10 18:26:00 +00:00
|
|
|
|
|
|
|
Input name `Tianji` and put in webhook url into form.
|
|
|
|
|
2024-10-05 09:52:02 +00:00
|
|
|
![](/img/docs/sentry/sentry3.png)
|
2024-09-10 18:26:00 +00:00
|
|
|
|
|
|
|
Don't forget enable `Alert Rule Action`
|
|
|
|
|
2024-10-05 09:52:02 +00:00
|
|
|
![](/img/docs/sentry/sentry4.png)
|
2024-09-10 18:26:00 +00:00
|
|
|
|
|
|
|
Then, add issue read `permission`, and webhook add `issue` and `error`
|
|
|
|
|
2024-10-05 09:52:02 +00:00
|
|
|
![](/img/docs/sentry/sentry5.png)
|
2024-09-10 18:26:00 +00:00
|
|
|
|
|
|
|
Finally, you can create a alert rule, and you can see `Tianji` in notification section dropdown list
|
|
|
|
|
2024-10-05 09:52:02 +00:00
|
|
|
![](/img/docs/sentry/sentry6.png)
|