Commit Graph
463 Commits
Author SHA1 Message Date
Zexi Li d4ce3799a9 feat(monitor): add batch resource metrics query API (#24598)
Add unifiedmonitor class action `resource-metrics` with client options/CLI command.
Implement host/guest metric drivers to query cpu/mem/disk/net rates and attach alert state.
2026-03-31 17:45:32 +08:00
屈轩 17d3e9f0fb fix(region): allow set disk auto-delete attribute (#24486) 2026-03-19 10:27:47 +08:00
Zexi Li 860a8f764a fix(monitor): align multi-metric alert conditions in notifications (#24470) 2026-03-17 15:57:51 +08:00
屈轩 2f8f46f890 fix(monitor): add vm out bandwidth metric (#24416) 2026-03-11 13:49:50 +08:00
Zexi Li 92322ba6ba fix(monitor): 仅在 From/To/Interval 为空时设置默认值 (#24396)
setDefaultValue 中 From、To、Interval 改为仅在当前值为空时
才用 inputQuery 覆盖,避免覆盖用户已指定的查询时间范围与间隔
2026-03-06 19:13:19 +08:00
Zexi Li 86bff744da feat(monitor): support disable_notify_recovery for commonalert (#24377) 2026-03-02 16:13:21 +08:00
Zexi Li e3adcba461 fix(monitor): convert SNodeAlert to SCommonAlert in FetchCustomizeColumns (#24345)
Pass cObjs of type *SCommonAlert to SCommonAlertManager.FetchCustomizeColumns
instead of *SNodeAlert so the parent correctly fetches common alert columns.
2026-02-25 19:31:59 +08:00
Zexi Li f308bf746f Automated cherry pick of #24290: feat(monitor): support alert reason notification (#24296)
* feat(monitor): support alert reason notification

* fix(climc): commonalert list options
2026-02-10 09:06:51 +08:00
Zexi Li aaeb06dc1e fix(monitor): comparator string (#24204) 2026-02-03 12:02:04 +08:00
Zexi Li a43483fd53 feat(monitor): add the registered model manger function (#24195) 2026-02-02 17:51:01 +08:00
Zexi Li aee8eecb3b fix(telegraf-raid-plugin): working for victoria metrics (#24087) 2026-01-15 17:21:11 +08:00
Zexi Li 7bb8bfe6d0 Automated cherry pick of #24082: fix(host): compatible with telegraf 1.36 and add ipmi_sensor conf (#24083)
* fix(host): compatible with telegraf 1.36 and add ipmi_sensor conf

* feat(monitor): add ipmi_sensor metric
2026-01-15 10:08:24 +08:00
Zexi Li acb548567a feat(monitor): delta reducer (#24064) 2026-01-12 17:27:42 +08:00
Zexi Li 209e5445f6 fix(monitor): top query of monitor_resource_alert (#24053) 2026-01-09 12:10:34 +08:00
屈轩 258a1eff0c fix(monitor): optimized common alert list (#24042) 2026-01-09 10:09:45 +08:00
屈轩 a2e35d42ea fix(monitor): optimized monitor resource list (#24038) 2026-01-08 15:23:20 +08:00
Zexi Li c18acaf616 fix(monitor): resource id deduplication of alert record (#24033) 2026-01-07 11:16:00 +08:00
屈轩 afd97ebe65 fix(monitor): show alert count (#24027) 2026-01-07 10:02:58 +08:00
Zexi Li aaeb09fb72 fix(monitor): fill resource ids of the cloud account (#24030) 2026-01-06 19:44:28 +08:00
Jian QiuandQiu Jian f50f83feb1 fix: endpoint mode slave (#24016)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2026-01-06 18:05:41 +08:00
屈轩 37866bcfa5 fix(monitor): alert filter by owner (#24000) 2025-12-29 10:15:38 +08:00
Zexi Li 752d0e9fed fix(monitor): meter alert panic (#23921) 2025-12-12 10:20:25 +08:00
Zexi Li bdf22fd797 fix(monitor): filter baremetal host for no data query (#23894) 2025-12-03 16:24:41 +08:00
Zexi Li 0971950307 Automated cherry pick of #23878: feat(monitor): 支持指定过去时间段返回报警资源最多的top5监控策略 (#23880)
* feat(monitor): 支持指定过去时间段返回报警资源最多的top5监控策略

* feat(monitor): 支持指定过去时间段返回报警数量最多的top5资源

* feat(monitor): 支持指定过去时间段某监控策略下各监控指标报警资源最多的top5资源

* feat(monitor): 支持获取过去时间段各项目下报警资源数量
2025-12-02 15:48:01 +08:00
Zexi Li f95c341f44 fix(monitor): filter alertrecords by alert_name and res_name (#23865) 2025-11-28 18:58:16 +08:00
Zexi Li ec08f2b07b fix(monitor): alert shield is not working (#23862) 2025-11-27 19:18:45 +08:00
Zexi Li 245dfd8601 fix(monitor): threshold_range message (#23857) 2025-11-27 16:47:43 +08:00
Zexi Li b1b929ea46 feat(monitor): support threashold range (#23853) 2025-11-27 15:00:08 +08:00
Zexi Li 067f2773e6 feat(monitor): get records of monitor_resource_alert (#23825) 2025-11-24 21:34:26 +08:00
Zexi Li eb23d862c1 fix(monitor): alerting level (#23801) 2025-11-21 10:27:00 +08:00
Zexi Li bb8b08b091 fix(monitor): title of notification by language context (#23799) 2025-11-20 20:11:54 +08:00
屈轩 b3bda90176 fix(monitor): avoid panic (#23794) 2025-11-20 18:43:04 +08:00
Zexi Li ce8f84add6 fix(monitor): check if LastSendNotification is zero (#23782) 2025-11-20 18:04:10 +08:00
Zexi Li c416b7efcb feat(monitor): set alert_channel to metata (#23755) 2025-11-18 12:52:44 +08:00
Zexi Li 94c531cbc2 feat(cloudcommon): add ExtraHook steps to joint model (#23740) 2025-11-14 10:50:47 +08:00
Zexi Li 364fcf585e fix(monitor): diffTagKeys are empty when only one series in results (#23313) 2025-09-18 07:49:39 +08:00
屈轩 b524b2fe85 fix(monitor): history alert report (#23278) 2025-09-12 15:27:06 +08:00
Zexi Li e85643a005 fix(monitor): fetch total alert resources from monitor_resource_alert (#23276) 2025-09-10 19:17:41 +08:00
屈轩 eb82b9d9ca fix: upgrade go 1.24 (#23241) 2025-09-05 18:26:33 +08:00
Jian QiuandQiu Jian 36f629e349 fix: dhcpv6 support, initial support (#22820)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-03 14:36:59 +08:00
屈轩 8b198367c1 fix(cloudmon): cloudpods collect metric interval (#22763) 2025-06-23 16:17:19 +08:00
Zexi Li b931b70911 Monitor worker alert (#22729)
* fix(monitor): GetMetricMeasurement 接口只查询过去30m的数据

避免数据过多导致 victoria-metrics 报错

* fix(monitor): wildchar of alert group by field
2025-06-18 14:25:27 +08:00
Jian QiuandQiu Jian dab4bf9169 fix: http perf stats monitor (#22684)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-06-06 18:12:04 +08:00
屈轩 e41cd644d1 fix(docs): add unifiedmonitor api docs (#22627) 2025-05-29 15:27:03 +08:00
屈轩 85c84d7f27 fix(docs): update monitor api doc (#22616) 2025-05-28 15:52:16 +08:00
屈轩 52839ca149 fix(docs): update swagger api (#22599) 2025-05-26 10:51:19 +08:00
Zexi Li 8a3c173631 fix(monitor): not filter status tag key (#22595) 2025-05-23 09:59:35 +08:00
Jian QiuandQiu Jian 2943344b48 feature: monitor bucket formance and resource status (#22552)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-05-19 22:28:20 +08:00
Zexi Li 624d732183 fix(monitor): return measurements info from db directly (#22511) 2025-05-12 17:17:28 +08:00
Zexi Li ae99d0448b fix(monitor): remove host type query filter (#22438) 2025-04-18 12:15:26 +08:00