fix: correct node health change activity logging (#154)

* fix: correct node health change activity logging

* chore: update release notes
This commit is contained in:
silenceqi 2025-02-20 16:42:17 +08:00 committed by GitHub
parent 1ecdbb3e59
commit 6ff2d72ff1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 1 deletions

View File

@ -34,6 +34,7 @@ Information about release notes of INFINI Console is provided here.
### Bug fix
- Fixed missing data when processing multiple time series in a group with insight data API (#127)
- Fixed incorrect node health change activity logging (#154)
### Improvements

View File

@ -34,6 +34,7 @@ title: "版本历史"
### Bug fix
- 修复 Insight API 处理多时间序列数据时数据丢失的问题 (#127)
- 修复错误的节点健康状态变更事件 (#154)
### Improvements

View File

@ -132,7 +132,7 @@ func (processor *MetadataProcessor) HandleUnknownNodeStatus(ev []byte) error {
}
esClient := elastic.GetClient(processor.config.Elasticsearch)
queryDslTpl := `{"script": {
"source": "ctx._source.metadata.labels.status='unavailable'",
"source": "ctx._source.metadata.labels.status='unknown'",
"lang": "painless"
},
"query": {