Azure: Application Insights metrics to Frame and support multiple query dimensions (#25849)
- 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>
This commit is contained in:
co-authored by
Ryan McKinley
parent
1a711e7df0
commit
9a8289b6d9
-9
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"value": {
|
||||
"start": "2019-09-13T01:02:03.456789Z",
|
||||
"end": "2019-09-13T02:02:03.456789Z",
|
||||
"value": {
|
||||
"avg": 1.2
|
||||
}
|
||||
}
|
||||
}
|
||||
+72
@@ -0,0 +1,72 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user