[v11.3.x] Graphite: Fix Multi Dimensional Alias Name (#95618)
Graphite: Fix Multi Dimensional Alias Name (#94563)
(cherry picked from commit 89da7d6fe5)
Co-authored-by: Alyssa (Bull) Joyner <58453566+alyssabull@users.noreply.github.com>
This commit is contained in:
co-authored by
Alyssa Joyner
parent
fdc1859d0d
commit
11aedea347
@@ -295,6 +295,9 @@ func (s *Service) toDataFrames(logger log.Logger, response *http.Response, origR
|
|||||||
|
|
||||||
tags := make(map[string]string)
|
tags := make(map[string]string)
|
||||||
for name, value := range series.Tags {
|
for name, value := range series.Tags {
|
||||||
|
if name == "name" {
|
||||||
|
value = target
|
||||||
|
}
|
||||||
switch value := value.(type) {
|
switch value := value.(type) {
|
||||||
case string:
|
case string:
|
||||||
tags[name] = value
|
tags[name] = value
|
||||||
|
|||||||
Reference in New Issue
Block a user