Commit Graph

50 Commits

Author SHA1 Message Date
Sherlock Yin d838277f4b
Add HTTP headers configuration for webhook (#13106)
Co-authored-by: yinyijun <yinyijun6@mgtv.com>
2025-03-17 20:49:17 +08:00
吴晟 Wu Sheng 530a00f2ed
Add baseline doc and point to SkyPredictor project (#13040) 2025-02-18 21:31:47 +08:00
Wan Kai 97c47de89b
Baseline: Support query baseline with MQE and use in the Alarm Kernel. (#13024) 2025-02-10 20:35:30 +08:00
Wan Kai 8bcaabb43c
MQE: Support `&&(and)`, `||(or)` bool operators. (#12965) 2025-01-14 16:22:29 +08:00
Wan Kai 7a8bbacd20
Fix MQE and Alarm doc nits (#12275) 2024-05-30 15:11:26 +08:00
Wan Kai bbbed44863
[Break Change]: Labeled Metrics support multiple labels. (#12082) 2024-04-10 19:57:36 +08:00
Wan Kai e57dee45fb
Add webhook/gRPC hooks settings example for backend-alarm.md. (#11658) 2023-12-15 09:52:12 +08:00
Wan Kai 8dad5181e3
Alarm rule add scope verify and UT (#11272) 2023-08-29 11:14:54 +08:00
Wan Kai 8763359fc1
[Breaking change] Support MQE in the Alerting. (#11262) 2023-08-25 11:39:48 +08:00
Wan Kai 9c2376a960
Support multiple configs for each hook types and specifying the hooks in the alarm rule. (#11137)
* [Breaking change] Adjust the structure of hooks in the `alarm-settings.yml`. Support multiple configs for each hook types and specifying the hooks in the alarm rule.
2023-07-27 09:12:47 -07:00
innerpeacez 886589c15c
Support alarm metric OP `!=` (#10610) 2023-03-29 17:30:31 +08:00
pg.yang 1d930d0bb8
Update alarm doc introduce keys with data types of the configuration file. (#9514) 2022-08-24 07:31:30 +08:00
Brandon Fergerson d1f898419b
feat: support sending alarm to discord (#9469) 2022-08-14 14:58:44 +08:00
吴晟 Wu Sheng b15bbecb73
Add an explanation doc for alerting kernel mechanism (#9446) 2022-08-09 22:39:29 +08:00
Chen Ni 61278ddd0e
Support PagerDuty Alarm Hook (#9247) 2022-06-18 18:45:25 +08:00
吴晟 Wu Sheng 0ac9874e79
Change alarm to alerting (#9212) 2022-06-14 11:23:48 +08:00
Superskyyy d2fcd83018
Documentation grammar enhancements (#8935) 2022-04-23 11:59:58 +08:00
kezhenxu94 e752b7bbe2
Upgrade dead-link-checker to check anchors and fix CI (#8898) 2022-04-18 16:05:39 +08:00
zhyyu 594e7390b1
update backend-alarm.md, support op "=" to "==" (#8334) 2021-12-24 17:23:21 +08:00
吴晟 Wu Sheng 96829da89a
Fix words in alarm doc (#7811) 2021-09-27 09:05:58 +08:00
Zhenxu c563245048
Add missing doc for events alarm metrics name (#7029) 2021-05-27 21:07:40 +08:00
Wing 8c23752c6d
Refine backend (#6972) 2021-05-20 06:25:52 +08:00
liqiangz 6e8a748b70
Refine alarm.md (#6882) 2021-05-01 07:53:36 +08:00
吴晟 Wu Sheng 1ff0e42ab8
Fix a missing part about tag in the alarm doc and be clear about JDK versions of agent (#6859) 2021-04-28 12:09:20 +08:00
高云峰 1aa5f2682d
feature:Support alarm to WeLink (#6794) 2021-04-26 00:01:19 +08:00
liqiangz 7a53331367
Support alarm tags (#6820) 2021-04-25 17:22:43 +08:00
Ax1an 03b45d2fa6
Fix some comments and documentation (#6534) 2021-03-12 07:41:32 +08:00
HendSame 4e43f227b4
Support Alarm to feishu (#6193) 2021-01-18 09:24:20 +08:00
xbkaishui 117afff36f
Support Alarm to dingtalk (#5628)
* Add dingtalk webhook

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-10-05 20:16:18 +08:00
xbkaishui 2c729b5d69
Support group concept in the alarm core (#5615) 2020-10-03 23:26:29 +08:00
xbkaishui c408cf9678
Alarm support wechat webhook (#5474)
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-09-12 21:35:42 +08:00
Jared Tan 3dfa40ebb5
support Slack alarm hooks (#5364) 2020-08-22 17:18:09 +08:00
Gao Hongtao 19836e64bb
Add labeled metrics to alarm system (#5276) 2020-08-18 22:55:01 +08:00
mrproliu 8af10bed11
Support regex to include or exclude the names in alarm module (#4775)
* Support regex to include or exclude the names, requested through mail list, https://lists.apache.org/x/thread.html/rb6d91093776cf61880425449d3d25f9d560cd32363c0075de9a85d13@%3Cdev.skywalking.apache.org%3E

Co-authored-by: Mrproliu <mrproliu@lagou.com>
Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
2020-05-13 14:34:16 +08:00
mrproliu 749af3e04e
Alarm support multiple scope (#4769)
* Support service relation and database access alarm

* support service instance relation alarm

* support endpoint relation alarm

* document and format the name

* resolve issues

* add database access and endpoint relation rule example

* resolve code format

* remove unnecessary getter and setter package declare

* remove unnecessary fields

Co-authored-by: Mrproliu <mrproliu@lagou.com>
2020-05-11 00:28:10 +08:00
吴晟 Wu Sheng 4474907fef
[Inventory Design Change] Remove endpoint register and endpoint inventory (#4570)
* Finish step one, source and entity changed.

* Step 2, finish the basic and core DAO changes.

* Step 3. Change all source codes of backend, and make project compiling successfully.

* Make startup successful and persistence works.

* Fix dead codes in the MySQLTableInstaller.

* Fix mischange.

* Fix MySQL storage bootstrap error.

* Rollback dependency change.

* Simply enable tailing logs from container no mater it's in CI or not

* Fix segment table issue.

* Fix MySQL Instanller.

* Support Influxdb implementation of new endpoint traffic.

* Set and modify timeout to 90mins

* Remove unnecessary entity in the EndpointTraffic.

* Fix wrong entity builder and make name more clear.

* Fix 2 equal methods bug.

* Fix InfluxDB identifier(name) conflict issue.

* Fix endpoint topology query, endpoint id should be changed as a string.

* Fix a missing change.

* Fix a wrong commit.

* Column name can't be changed, due to it affect the hybrid metadb(h2/mysql) query, change it explicitly with double quotation marks.

* Fix formats.

* Remove endpoint/operation register from the agent. and change the plugin tests(without local tests). operationId relation codes have been removed from agent too.

* Try to fix the hytrix case.

* Fix 3 cases.

* Try to fix cases.

* Fix 2.

* Fix one.

* Fix the serviceId type mis-change.

* Fix int query

* Fix hystrix case.

* Fix a case.

* Fix EndpointCallRelationDispatcher set the source/dest endpoint without id encoding.

* Update documentation and add 2 test cases.

Co-authored-by: kezhenxu94 <kezhenxu94@163.com>
2020-03-28 22:51:41 +08:00
aderm 6d530c1d62
update doc. (#4403) 2020-02-24 00:30:13 +08:00
Jared Tan 7ff9a0cfd9
supprt gRPC alarm hook. (#4344)
* support gRPC hook.

* revert submodule commit.

* revert submodule commitid.

* finish logical.

* remove author anonatation.

* fix ci.

* revert submodule.

* update logical.

* update logical.

* update logical.

* fix

* fix

* fix empty settings.

* fix.

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-02-12 16:20:20 +08:00
kezhenxu94 094eeb870f
Add alarm metrics OP >= and <=, and refactor the operator logics (#4221)
* Add alarm metrics OP >= and <=, and refactor the operator logics

* Add unit test for OP

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-01-13 00:50:37 +08:00
吴晟 Wu Sheng 9149de2a6e Support multiple linear values and merging p50/75/90/95/99 into percentile (#4214)
* Support new percentile func with new alarm and exporter for this new func.

* Fix e2e and OAL script

* Fix wrong column.

* Fix percentile bug and oal engine bug.

* Update query protocol and add percentile test case

* Support new query

* Adopt GraphQL requirement

* Fix wrong type cast.

* Fix query in H2 and ES.

* Fix docs and comments.

* Fix an e2e compile issue

* Fix javadoc issue and e2e test issue.

* Change CPM to Apdex in TTL test.

* Fix OAL for TTL e2e

* Add metrics query for service percentile.

* Fix OAL engine bug. Method deserialize is not working when more than two field types are IntKeyLongValueHashMap

* Support multiple IntKeyLongValueHashMap fields in remote. About serialize/deserialize methods.

* Fix graphql statement error in e2e.

* Fix serialize not working and add generated serialize/deserialize of percentile into test cases.

* Fix test case format

* Remove generated code test.

* Fix failed e2e test

* Use avg resp time to apdex in the TTL test.

* ADD multiple linear metrics check for endpoint in e2e cluster.

* Support `-` to represent no threshold and doc of alarm about this.

* Move break to right place.

* Fix wrong break(s)

* Fix break and add a test case for multiple values alarm.

* Fix format.

* Add more doc for this new feature and GraphQL query protocol.

Co-authored-by: Jared Tan <jian.tan@daocloud.io>
Co-authored-by: kezhenxu94 <kezhenxu94@163.com>
2020-01-12 22:10:50 +08:00
Stalary b666dc7e11 MOD:alarm-settings.yml support exclude-names (#3949) 2019-11-28 22:25:08 +08:00
Jared Tan 2f3d009e63 Makes the scope of alarm message more semantic. (#3680)
* Makes the scope of alarm information more semantic.

* update md.

* update md.

* add ruleName in AlarmMsg.

* update md.

* update test case.

* fix coveralls.

* fix coveralls.

* fix ci.
2019-10-22 19:35:04 +03:00
kezhenxu94 2801de752f Support dynamically configure alarm settings (#3557)
* Support dynamically configure alarm settings

* Update documentation
2019-10-05 22:47:01 +08:00
makingtime 7b53d853e1 correct 3rd default alarm rule description (#3192)
* correct 3rd default alarm rule description

* unit change: 1000ms -> 1s
2019-07-31 07:50:11 +08:00
吴晟 Wu Sheng 10b050da22
Add alarm webhook document (#2878)
* Update backend-alarm.md

* Update backend-alarm.md
2019-06-15 00:45:17 +08:00
彭勇升 pengys ed78dabe8b Rename metric and indicator to metrics. (#2643)
* Rename metric to metrics.

* Fixed test case execute failure issues.
2019-05-10 08:05:37 +08:00
吴晟 Wu Sheng 2d8f390351 Make endpoint and instance alarm active (#1987)
* Support alarm in service instance and endpoint.

* Fix alarm default settings and document.

* Fix wrong default setting

* Make service instance and endpoint scopes available in alarm core.

* Fix alarm bug.
2018-12-01 14:18:31 +08:00
吴晟 Wu Sheng 7ad619ac91
Prepare new doc for v6 (#1695)
* Replace v5 changes by a link to 5.x branch. New v6 changelog.

* Finish query doc and fix a missing field in alarm doc.

* Add link to official oal in alarm doc.

* Fix words.

* Fix some doc

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2018-10-07 09:51:29 +08:00
Wu Sheng f2811800b2 Add more ducoments. 2018-09-03 15:46:04 +08:00
Wu Sheng f80b031250 Add many new chapters of v6 document. Make the document more clear. 2018-09-02 23:11:56 +08:00