Zexi Li
40beca15e7
fix(monitor): alert_state of resource metrics api ( #24965 )
2026-06-03 17:15:44 +08:00
Zexi Li
982807b66b
feat(monitor): add ResourceMetricsDefaultInterval option ( #24908 )
2026-05-27 11:50:48 +08:00
Zexi Li
20612e6f4a
feat(monitor): use GET for unifiedmonitors resource-metrics ( #24783 )
2026-05-08 16:19:51 +08:00
Zexi Li
d6abdc0bef
fix(monitor): normalize resource-metrics alert_state ( #24757 )
...
Treat attach and init as init in PerformResourceMetrics output.
2026-04-30 18:42:08 +08:00
Zexi Li
7e58612829
fix(monitor): update silent_period when channel is empty ( #24604 )
...
silent_period is stored as Frequency on the notification, not on the
alert itself. PostUpdate only called UpdateNotification (which recreates
notifications with the new silent_period) when Channel was non-empty.
When channel was an empty array, the silent_period update was silently
skipped. Add an else-if branch to directly update the existing
notifications' Frequency when silent_period changes but channel is empty.
2026-03-31 20:03:45 +08:00
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
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
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
屈轩
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
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
屈轩
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
屈轩
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
屈轩
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
屈轩
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
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
Zexi Li
984fea1b24
fix(monitor): getTagValues no data ( #22433 )
2025-04-17 11:09:19 +08:00
Zexi Li
2fa746e292
fix(monitor): wrong index of details ( #22334 )
2025-03-25 15:31:42 +08:00
Zexi Li
838e705465
fix(monitor): wrong TriggerTime ( #22331 )
2025-03-25 11:42:55 +08:00
Zexi Li
3dfb39cce9
optmized(monitor): query alertrecord by res_id ( #22320 )
2025-03-25 10:03:39 +08:00
屈轩
04017f1cfd
fix(monitor): optimized alert list ( #22297 )
2025-03-18 19:52:29 +08:00
Zexi Li
62596470aa
feat(monitor): support listing monitor_resource by alert_state ( #22289 )
2025-03-18 11:52:41 +08:00
Zexi Li
d369533f6d
fix(monitor): always skip_check_series for metric-measurement api ( #22143 )
2025-02-19 19:57:22 +08:00
Zexi Li
e3d343f464
fix(monitor): split tags and cloud_tags ( #22114 )
2025-02-18 18:29:22 +08:00
屈轩
7dbc954d0e
fix(monitor): cdf ( #22077 )
2025-02-13 15:19:07 +08:00
Zexi Li
19e595cc08
customized(monitor): check whether the measurement field exists in victoriametrics ( #22028 )
2025-01-26 12:24:00 +08:00