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:
|
TODO:
|
||||||
* response serie names
|
|
||||||
* response serie names with tags
|
|
||||||
* response serie names with wildcards
|
* response serie names with wildcards
|
||||||
* real caching
|
* real caching
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
type MQEExecutor struct {
|
type MQEExecutor struct {
|
||||||
|
@ -76,6 +76,7 @@ func (parser *MQEResponseParser) Parse(res *http.Response, queryRef *MQEQuery) (
|
|||||||
for _, mqeSerie := range body.Series {
|
for _, mqeSerie := range body.Series {
|
||||||
namePrefix := ""
|
namePrefix := ""
|
||||||
|
|
||||||
|
//append predefined tags to seriename
|
||||||
for key, value := range mqeSerie.Tagset {
|
for key, value := range mqeSerie.Tagset {
|
||||||
if key == "app" && queryRef.AddAppToAlias {
|
if key == "app" && queryRef.AddAppToAlias {
|
||||||
namePrefix += value + " "
|
namePrefix += value + " "
|
||||||
|
Loading…
Reference in New Issue
Block a user