fix: correct node health change activity logging (#154)
* fix: correct node health change activity logging * chore: update release notes
This commit is contained in:
parent
1ecdbb3e59
commit
6ff2d72ff1
|
@ -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
|
||||
|
||||
|
|
|
@ -34,6 +34,7 @@ title: "版本历史"
|
|||
|
||||
### Bug fix
|
||||
- 修复 Insight API 处理多时间序列数据时数据丢失的问题 (#127)
|
||||
- 修复错误的节点健康状态变更事件 (#154)
|
||||
|
||||
### Improvements
|
||||
|
||||
|
|
|
@ -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": {
|
||||
|
|
Loading…
Reference in New Issue