3
0
mirror of https://github.com/grafana/grafana.git synced 2025-02-25 18:55:37 -06:00
grafana/pkg/tsdb/azuremonitor/testdata/applicationinsights/4-application-insights-response-metrics-multi-segmented.json
Kyle Brandt 9a8289b6d9
Azure: Application Insights metrics to Frame and support multiple query dimensions ()
- The Application Insights Service now returns a dataframe. This is a "wide" formatted dataframe with a single time index.
- Multiple "group by" dimensions may now be selected instead of just one with Application Insights.
- Some types are copied / slightly altered from the Azure Go SDK but that SDK is not imported at this time.

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2020-06-29 15:06:58 -04:00

73 lines
1.7 KiB
JSON

{
"value": {
"start": "2020-06-25T16:15:32.140Z",
"end": "2020-06-25T16:19:32.140Z",
"interval": "PT2M",
"segments": [
{
"start": "2020-06-25T16:15:32.140Z",
"end": "2020-06-25T16:16:00.000Z",
"segments": [
{
"client/countryOrRegion": "United States",
"segments": [
{
"traces/count": {
"sum": 2
},
"client/city": "Washington"
},
{
"traces/count": {
"sum": 2
},
"client/city": "Des Moines"
}
]
}
]
},
{
"start": "2020-06-25T16:16:00.000Z",
"end": "2020-06-25T16:18:00.000Z",
"segments": [
{
"client/countryOrRegion": "United States",
"segments": [
{
"traces/count": {
"sum": 11
},
"client/city": ""
},
{
"traces/count": {
"sum": 3
},
"client/city": "Chicago"
},
{
"traces/count": {
"sum": 1
},
"client/city": "Des Moines"
}
]
},
{
"client/countryOrRegion": "Japan",
"segments": [
{
"traces/count": {
"sum": 1
},
"client/city": "Tokyo"
}
]
}
]
}
]
}
}