mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
tech(mqe): update todo
This commit is contained in:
parent
99e3db8208
commit
549c3ab78b
@ -16,13 +16,9 @@ import (
|
||||
)
|
||||
|
||||
/*
|
||||
|
||||
TODO:
|
||||
* response serie names
|
||||
* response serie names with tags
|
||||
* response serie names with wildcards
|
||||
* real caching
|
||||
|
||||
*/
|
||||
|
||||
type MQEExecutor struct {
|
||||
|
@ -76,6 +76,7 @@ func (parser *MQEResponseParser) Parse(res *http.Response, queryRef *MQEQuery) (
|
||||
for _, mqeSerie := range body.Series {
|
||||
namePrefix := ""
|
||||
|
||||
//append predefined tags to seriename
|
||||
for key, value := range mqeSerie.Tagset {
|
||||
if key == "app" && queryRef.AddAppToAlias {
|
||||
namePrefix += value + " "
|
||||
|
Loading…
Reference in New Issue
Block a user