Skip to content

Commit

Permalink
fix(monitor): raw_name of group_by (#21592)
Browse files Browse the repository at this point in the history
  • Loading branch information
zexi authored Nov 14, 2024
1 parent 4d00c1d commit 13b2662
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/monitor/tsdb/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 13b2662

Please # to comment.