apache / apache/linkis

[Feature][linkis-extensions] Persistent alarm data to the database

Open
#5,061 2 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
Java
Stars
3.4k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

### Search before asking

- [X] I had searched in the [issues](https://github.com/apache/linkis/issues) and found no similar feature requirement.

### Problem Description

_No response_

### Description

Storage _package/conf/linkis-et-monitor-file.properties_ to database

屏幕截图 2024-01-01 032527

屏幕截图 2024-01-01 032743

### Use case

_No response_

### Solutions

```sql
CREATE TABLE `linkis_et_monitor_resource_alert` (
`id` int NOT NULL AUTO_INCREMENT,
`resource_prefix` varchar(100) NOT NULL,
`alert_title` varchar(255) NOT NULL,
`alert_info` varchar(255) NOT NULL,
`alert_way` varchar(50) NOT NULL,
`alert_reciver` varchar(50) NOT NULL,
`alert_level` varchar(50) NOT NULL,
`alert_obj` varchar(50) NOT NULL,
`can_recover` varchar(50) NOT NULL,
PRIMARY KEY (`id`)
);
```
**eg: resource_prefix: ecm.resource.monitor.im.12003**

### Anything else

_No response_

### Are you willing to submit a PR?

- [X] Yes I am willing to submit a PR!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.