Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(monitor): raw_name of group_by #21592

Merged
merged 1 commit into from
Nov 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading