AzureMonitor: Add Azure Resource Graph (#33293)

* Add Azure Resource Graph in Azure Plugin

* fix lodash import

* Fix mock queries

* use "backend" sdk

* Address comments

* add converter for object type

* Query error should cause 400 & apply template var

* fix backend test & add documentation

* update image

* Address comments

* marshal body from map

* use interpolated query instead of raw query

* fix test

* filter out empty queries

* fix go linting problem

* use new query field language name

* improve variable tests

* add better tests for interpolate variable

Co-authored-by: joshhunt <josh@trtr.co>
Co-authored-by: Erik Sundell <erik.sundell87@gmail.com>
This commit is contained in:
shuotli
2021-05-19 10:31:27 +02:00
committed by GitHub
co-authored by joshhunt Erik Sundell
parent 4e31169a43
commit 71fd0981ca
26 changed files with 934 additions and 25 deletions
@@ -42,6 +42,10 @@
{
"name":"XDecimal",
"type":"decimal"
},
{
"name":"XObject",
"type":"object"
}
],
"rows": [
@@ -55,10 +59,11 @@
9223372036854775807,
1.7976931348623157e+308,
"00:00:00.0000001",
"79228162514264337593543950335"
"79228162514264337593543950335",
"{\"person\": \"Daniel\", \"cats\": 23, \"diagnosis\": \"cat problem\"}"
]
]
}
]
}