Skip to content

Commit 6ff2d72

Browse files
authored
fix: correct node health change activity logging (#154)
* fix: correct node health change activity logging * chore: update release notes
1 parent 1ecdbb3 commit 6ff2d72

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

docs/content.en/docs/release-notes/_index.md

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Information about release notes of INFINI Console is provided here.
3434

3535
### Bug fix
3636
- Fixed missing data when processing multiple time series in a group with insight data API (#127)
37+
- Fixed incorrect node health change activity logging (#154)
3738

3839
### Improvements
3940

docs/content.zh/docs/release-notes/_index.md

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ title: "版本历史"
3434

3535
### Bug fix
3636
- 修复 Insight API 处理多时间序列数据时数据丢失的问题 (#127)
37+
- 修复错误的节点健康状态变更事件 (#154)
3738

3839
### Improvements
3940

plugin/elastic/metadata.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ func (processor *MetadataProcessor) HandleUnknownNodeStatus(ev []byte) error {
132132
}
133133
esClient := elastic.GetClient(processor.config.Elasticsearch)
134134
queryDslTpl := `{"script": {
135-
"source": "ctx._source.metadata.labels.status='unavailable'",
135+
"source": "ctx._source.metadata.labels.status='unknown'",
136136
"lang": "painless"
137137
},
138138
"query": {

0 commit comments

Comments
 (0)