mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Graphite: Fix bug in wildcard queries to Graphite plugin (#60549)
* commit something that works, need to figure out scoping issues * clean up now that I know about addressable values
This commit is contained in:
parent
73d5aa4878
commit
09c759b36c
@ -173,8 +173,13 @@ func (s *Service) QueryData(ctx context.Context, req *backend.QueryDataRequest)
|
||||
}
|
||||
|
||||
for _, f := range frames {
|
||||
result.Responses[f.Name] = backend.DataResponse{
|
||||
Frames: data.Frames{f},
|
||||
if resp, ok := result.Responses[f.Name]; ok {
|
||||
resp.Frames = append(resp.Frames, f)
|
||||
result.Responses[f.Name] = resp
|
||||
} else {
|
||||
result.Responses[f.Name] = backend.DataResponse{
|
||||
Frames: data.Frames{f},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user