Created
December 16, 2016 07:25
-
-
Save bergquist/9a12f6c08e4820bcc4cd8416e322c6c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"targets": [ | |
{ | |
"addAppToAlias": false, | |
"addHostToAlias": false, | |
"functionList": [ | |
{ "func": "aggregate.min"} | |
], | |
"apps": [], | |
"hosts": [ | |
"staples-lab-1" | |
], | |
"metrics": [ | |
{ | |
"alias": "*", | |
"metric": "os.cpu.all.*_percentage" | |
} | |
], | |
"rawQuery": "", | |
"refId": "A" | |
} | |
], |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I suggest that.
addAppToAlias
andaddHostToAlias
should be combined into an array of tags that should be included.ex
"includeTagsInAlias": [ 'app', 'host' ],
"apps" and "hosts"
should be combined into one set of arrays. (map[string][]string)