From 13b2662b7896ad8344a8c0b64df9fbf17a57189e Mon Sep 17 00:00:00 2001 From: Zexi Li Date: Thu, 14 Nov 2024 18:00:57 +0800 Subject: [PATCH] fix(monitor): raw_name of group_by (#21592) --- pkg/monitor/tsdb/models.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/monitor/tsdb/models.go b/pkg/monitor/tsdb/models.go index f8c39fd002b..8cc93f636f6 100644 --- a/pkg/monitor/tsdb/models.go +++ b/pkg/monitor/tsdb/models.go @@ -88,13 +88,13 @@ func NewQueryResult() *QueryResult { func FormatRawName(idx int, name string, groupByTags []string, tags map[string]string, diffTagKeys sets.String) string { // when group by tag specified - if len(groupByTags) != 0 { + /*if len(groupByTags) != 0 { for key, val := range tags { if strings.Contains(strings.Join(groupByTags, ","), key) { return val } } - } + }*/ genHint := func(k, v string) string { return fmt.Sprintf("%s=%s", k, v)