fix: query thread pool metrics when cluster uuid is empty (#47)
* fix: query thread pool metrics when cluster uuid is empty * chore: update release notes * chore: update release notes of version 1.27.0
This commit is contained in:
parent
b01a4e167b
commit
f9baad07e3
|
@ -7,6 +7,30 @@ title: "Release Notes"
|
||||||
|
|
||||||
Information about release notes of INFINI Console is provided here.
|
Information about release notes of INFINI Console is provided here.
|
||||||
|
|
||||||
|
## 1.27.1 (2024-12-18)
|
||||||
|
### Bug fix
|
||||||
|
- fix: query thread pool metrics when cluster uuid is empty
|
||||||
|
|
||||||
|
## 1.27.0 (2024-12-09)
|
||||||
|
|
||||||
|
### Improvements
|
||||||
|
- Split monitoring metric requests to optimize monitoring metric query response speed.
|
||||||
|
- Optimizing ES metric collecting
|
||||||
|
- The code is open source and the Github repository is used for development
|
||||||
|
- Added timeout setting to general time component
|
||||||
|
- Cluster selection component adds registration and refresh feature
|
||||||
|
- Adding metrics collection status
|
||||||
|
- Optimizing layout of table component
|
||||||
|
|
||||||
|
### Bug fix
|
||||||
|
- Fixed the issue of untimely update of cluster metadata
|
||||||
|
- Fixed the issue of incorrect links in help documents, etc.
|
||||||
|
- Fixed node and index metadata ID to prevent metadata record duplication.
|
||||||
|
- Fixed the issue of errors in Runtime and Agent instance editing pages
|
||||||
|
- Fixed the issue of no loading of cluster, node, index, and shard metadata
|
||||||
|
- Fixed the issue of failure to collect index health status indicators
|
||||||
|
- Fixed the issue of some menu columns not being internationalized
|
||||||
|
|
||||||
## 1.26.1 (2024-08-13)
|
## 1.26.1 (2024-08-13)
|
||||||
|
|
||||||
### Improvements
|
### Improvements
|
||||||
|
|
|
@ -88,13 +88,6 @@ func (h *APIHandler) getThreadPoolMetrics(ctx context.Context, clusterID string,
|
||||||
}
|
}
|
||||||
bucketSizeStr:=fmt.Sprintf("%vs",bucketSize)
|
bucketSizeStr:=fmt.Sprintf("%vs",bucketSize)
|
||||||
var must = []util.MapStr{
|
var must = []util.MapStr{
|
||||||
{
|
|
||||||
"term":util.MapStr{
|
|
||||||
"metadata.labels.cluster_uuid":util.MapStr{
|
|
||||||
"value": clusterUUID,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"term": util.MapStr{
|
"term": util.MapStr{
|
||||||
"metadata.category": util.MapStr{
|
"metadata.category": util.MapStr{
|
||||||
|
@ -147,6 +140,23 @@ func (h *APIHandler) getThreadPoolMetrics(ctx context.Context, clusterID string,
|
||||||
query["query"]=util.MapStr{
|
query["query"]=util.MapStr{
|
||||||
"bool": util.MapStr{
|
"bool": util.MapStr{
|
||||||
"must": must,
|
"must": must,
|
||||||
|
"minimum_should_match": 1,
|
||||||
|
"should": []util.MapStr{
|
||||||
|
{
|
||||||
|
"term":util.MapStr{
|
||||||
|
"metadata.labels.cluster_id":util.MapStr{
|
||||||
|
"value": clusterID,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"term":util.MapStr{
|
||||||
|
"metadata.labels.cluster_uuid":util.MapStr{
|
||||||
|
"value": clusterUUID,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
"filter": []util.MapStr{
|
"filter": []util.MapStr{
|
||||||
{
|
{
|
||||||
"range": util.MapStr{
|
"range": util.MapStr{
|
||||||
|
|
Loading…
Reference in New Issue