-
Notifications
You must be signed in to change notification settings - Fork 5.2k
/
Copy pathQueryAggregateSeriesWithSampleInterpolation.json
114 lines (114 loc) · 2.74 KB
/
QueryAggregateSeriesWithSampleInterpolation.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"parameters": {
"api-version": "2018-11-01-preview",
"environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
"continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=",
"parameters": {
"aggregateSeries": {
"timeSeriesId": [
"006dfc2d-0324-4937-998c-d16f3b4f1952",
"T1"
],
"searchSpan": {
"from": "2016-08-01T00:00:00Z",
"to": "2016-08-01T00:16:50Z"
},
"interval": "PT1M",
"inlineVariables": {
"LinearSampleInterpolation": {
"kind": "numeric",
"value": {
"tsx": "$event.Temperature"
},
"filter": null,
"interpolation": {
"kind": "Linear",
"boundary": {
"span": "P1D"
}
},
"aggregation": {
"tsx": "left($value)"
}
},
"StepSampleInterpolation": {
"kind": "numeric",
"value": {
"tsx": "$event.Temperature"
},
"filter": null,
"interpolation": {
"kind": "Step",
"boundary": {
"span": "P1D"
}
},
"aggregation": {
"tsx": "left($value)"
}
}
},
"projectedVariables": [
"LinearSampleInterpolation",
"StepSampleInterpolation"
]
}
}
},
"responses": {
"200": {
"body": {
"timestamps": [
"2016-08-01T00:00:00Z",
"2016-08-01T00:01:00Z",
"2016-08-01T00:02:00Z",
"2016-08-01T00:03:00Z",
"2016-08-01T00:04:00Z",
"2016-08-01T00:05:00Z",
"2016-08-01T00:06:00Z",
"2016-08-01T00:07:00Z",
"2016-08-01T00:08:00Z",
"2016-08-01T00:09:00Z",
"2016-08-01T00:10:00Z"
],
"properties": [
{
"name": "LinearSampleInterpolation",
"type": "Double",
"values": [
50.0,
60.0,
60.0,
60.0,
60.0,
60.0,
60.0,
60.0,
60.0,
60.0,
62.0
]
},
{
"name": "StepSampleInterpolation",
"type": "Double",
"values": [
71.25,
85.0,
82.5,
80.0,
89.166666666666671,
75.0,
90.0,
75.833333333333329,
85.0,
82.5,
84.0
]
}
],
"progress": 100.0
}
}
}
}