mirror of
https://github.com/grafana/grafana.git
synced 2025-02-03 12:11:09 -06:00
c05049f395
* azuremonitor: add support for log analytics macros Also adds tests for the kql macros * azuremonitor: backend implementation for Log Analytics * azuremonitor: remove gzip header from plugin route The Go net/http library adds an accept encoding header for gzip automatically. https://golang.org/src/net/http/transport.go\#L2454 So no need to specify it manually * azuremonitor: parses log analytics time series * azuremonitor: support for table data for Log Analytics * azuremonitor: for log analytics switch to calling the API... ...from the backend for time series and table queries. * azuremonitor: fix missing err check * azuremonitor: support Azure China, Azure Gov... for log analytics on the backend. * azuremonitor: review fixes * azuremonitor: rename test files folder to testdata To follow Go conventions for test data in tests * azuremonitor: review fixes * azuremonitor: better error message for http requests * azuremonitor: fix for load workspaces on config page * azuremonitor: strict null check fixes Co-authored-by: bergquist <carl.bergquist@gmail.com>
69 lines
1.3 KiB
JSON
69 lines
1.3 KiB
JSON
{
|
|
"tables": [
|
|
{
|
|
"name": "PrimaryResult",
|
|
"columns": [
|
|
{
|
|
"name": "TimeGenerated",
|
|
"type": "datetime"
|
|
},
|
|
{
|
|
"name": "ObjectName",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "avg_CounterValue",
|
|
"type": "real"
|
|
}
|
|
],
|
|
"rows": [
|
|
[
|
|
"2020-04-20T21:40:00Z",
|
|
"Processor",
|
|
0.75
|
|
],
|
|
[
|
|
"2020-04-20T21:40:00Z",
|
|
"Logical Disk",
|
|
16090.551851851851
|
|
],
|
|
[
|
|
"2020-04-20T21:40:00Z",
|
|
"Memory",
|
|
702.0666666666667
|
|
],
|
|
[
|
|
"2020-04-20T21:45:00Z",
|
|
"Memory",
|
|
700.5888888888888
|
|
],
|
|
[
|
|
"2020-04-20T21:45:00Z",
|
|
"Processor",
|
|
1.0055555555555555
|
|
],
|
|
[
|
|
"2020-04-20T21:45:00Z",
|
|
"Logical Disk",
|
|
16090.537037037036
|
|
],
|
|
[
|
|
"2020-04-20T21:50:00Z",
|
|
"Logical Disk",
|
|
16090.586419753086
|
|
],
|
|
[
|
|
"2020-04-20T21:50:00Z",
|
|
"Processor",
|
|
0.7407407407407407
|
|
],
|
|
[
|
|
"2020-04-20T21:50:00Z",
|
|
"Memory",
|
|
703.1111111111111
|
|
]
|
|
]
|
|
}
|
|
]
|
|
}
|