Graphite: Fix Multi Dimensional Alias Name (#94563)

This commit is contained in:
Alyssa (Bull) Joyner 2024-10-15 09:20:09 -06:00 committed by GitHub
parent 9f1b584c85
commit 89da7d6fe5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -295,6 +295,9 @@ func (s *Service) toDataFrames(logger log.Logger, response *http.Response, origR
tags := make(map[string]string)
for name, value := range series.Tags {
if name == "name" {
value = target
}
switch value := value.(type) {
case string:
tags[name] = value