@centreon/ui 23.10.30-MON-19324-dashboard-section-navigation.3 → 23.10.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/package.json +9 -12
  2. package/src/@assets/icons/downtime.icon.svg +1 -0
  3. package/src/Dashboard/DashboardLayout.stories.tsx +5 -3
  4. package/src/Dashboard/Layout.tsx +4 -4
  5. package/src/Dashboard/utils.ts +28 -28
  6. package/src/Graph/BasicComponents/Axes/UnitLabel.tsx +20 -0
  7. package/src/Graph/BasicComponents/Axes/index.tsx +88 -0
  8. package/src/Graph/BasicComponents/Axes/models.ts +26 -0
  9. package/src/Graph/BasicComponents/Axes/useAxisY.ts +100 -0
  10. package/src/Graph/BasicComponents/Grids/index.tsx +20 -0
  11. package/src/Graph/BasicComponents/Lines/RegularLines/index.tsx +91 -0
  12. package/src/Graph/BasicComponents/Lines/RegularLines/useRegularLines.ts +15 -0
  13. package/src/Graph/BasicComponents/Lines/StackedLines/index.tsx +76 -0
  14. package/src/Graph/BasicComponents/Lines/StackedLines/useStackedLines.ts +39 -0
  15. package/src/Graph/BasicComponents/Lines/Threshold/BasicThreshold.tsx +51 -0
  16. package/src/Graph/BasicComponents/Lines/Threshold/Circle.tsx +43 -0
  17. package/src/Graph/BasicComponents/Lines/Threshold/ThresholdWithPatternLines.tsx +73 -0
  18. package/src/Graph/BasicComponents/Lines/Threshold/ThresholdWithVariation.tsx +59 -0
  19. package/src/Graph/BasicComponents/Lines/Threshold/helpers/index.ts +69 -0
  20. package/src/Graph/BasicComponents/Lines/Threshold/index.tsx +138 -0
  21. package/src/Graph/BasicComponents/Lines/Threshold/models.ts +105 -0
  22. package/src/Graph/BasicComponents/Lines/Threshold/useCoordinateCircle.ts +46 -0
  23. package/src/Graph/BasicComponents/Lines/Threshold/useScaleThreshold.ts +171 -0
  24. package/src/Graph/BasicComponents/Lines/index.tsx +180 -0
  25. package/src/Graph/BasicComponents/Lines/models.ts +42 -0
  26. package/src/Graph/BasicComponents/LoadingProgress.tsx +46 -0
  27. package/src/Graph/BasicComponents/useFilterLines.ts +60 -0
  28. package/src/Graph/Graph.styles.ts +45 -0
  29. package/src/Graph/Graph.tsx +217 -0
  30. package/src/Graph/Header/index.tsx +65 -0
  31. package/src/Graph/Icons/Downtime.tsx +9 -0
  32. package/src/Graph/InteractiveComponents/AnchorPoint/AnchorPoint.styles.ts +58 -0
  33. package/src/Graph/InteractiveComponents/AnchorPoint/GuidingLines.tsx +45 -0
  34. package/src/Graph/InteractiveComponents/AnchorPoint/RegularAnchorPoint.tsx +66 -0
  35. package/src/Graph/InteractiveComponents/AnchorPoint/StackedAnchorPoint.tsx +76 -0
  36. package/src/Graph/InteractiveComponents/AnchorPoint/TooltipAnchorPoint.tsx +70 -0
  37. package/src/Graph/InteractiveComponents/AnchorPoint/index.tsx +20 -0
  38. package/src/Graph/InteractiveComponents/AnchorPoint/models.ts +62 -0
  39. package/src/Graph/InteractiveComponents/AnchorPoint/useTickGraph.ts +94 -0
  40. package/src/Graph/InteractiveComponents/AnchorPoint/useTooltipAnchorPoint.ts +107 -0
  41. package/src/Graph/InteractiveComponents/Annotations/Annotation/Area.tsx +114 -0
  42. package/src/Graph/InteractiveComponents/Annotations/Annotation/Line.tsx +103 -0
  43. package/src/Graph/InteractiveComponents/Annotations/Annotation/index.tsx +81 -0
  44. package/src/Graph/InteractiveComponents/Annotations/Area/Downtime.tsx +27 -0
  45. package/src/Graph/InteractiveComponents/Annotations/EventAnnotations.tsx +61 -0
  46. package/src/Graph/InteractiveComponents/Annotations/Line/Acknowledgement.tsx +27 -0
  47. package/src/Graph/InteractiveComponents/Annotations/Line/Comments.tsx +25 -0
  48. package/src/Graph/InteractiveComponents/Annotations/annotationsAtoms.ts +183 -0
  49. package/src/Graph/InteractiveComponents/Annotations/index.tsx +49 -0
  50. package/src/Graph/InteractiveComponents/Annotations/models.ts +25 -0
  51. package/src/Graph/InteractiveComponents/Annotations/useAnnotation.ts +56 -0
  52. package/src/Graph/InteractiveComponents/Bar.tsx +21 -0
  53. package/src/Graph/InteractiveComponents/TimeShiftZones/TimeShiftIcon.tsx +62 -0
  54. package/src/Graph/InteractiveComponents/TimeShiftZones/TimeShiftZone.tsx +74 -0
  55. package/src/Graph/InteractiveComponents/TimeShiftZones/index.tsx +85 -0
  56. package/src/Graph/InteractiveComponents/TimeShiftZones/models.ts +12 -0
  57. package/src/Graph/InteractiveComponents/TimeShiftZones/useTimeShiftZones.ts +72 -0
  58. package/src/Graph/InteractiveComponents/Tooltip/index.tsx +59 -0
  59. package/src/Graph/InteractiveComponents/Tooltip/models.ts +9 -0
  60. package/src/Graph/InteractiveComponents/Tooltip/useGraphTooltip.ts +67 -0
  61. package/src/Graph/InteractiveComponents/ZoomPreview/index.tsx +38 -0
  62. package/src/Graph/InteractiveComponents/ZoomPreview/models.ts +9 -0
  63. package/src/Graph/InteractiveComponents/ZoomPreview/useZoomPreview.ts +107 -0
  64. package/src/Graph/InteractiveComponents/ZoomPreview/zoomPreviewAtoms.ts +3 -0
  65. package/src/Graph/InteractiveComponents/index.tsx +168 -0
  66. package/src/Graph/InteractiveComponents/interactionWithGraphAtoms.ts +51 -0
  67. package/src/Graph/Legend/InteractiveValue.tsx +22 -0
  68. package/src/Graph/Legend/Legend.styles.ts +71 -0
  69. package/src/Graph/Legend/LegendContent.tsx +27 -0
  70. package/src/Graph/Legend/LegendHeader.tsx +45 -0
  71. package/src/Graph/Legend/Marker.tsx +43 -0
  72. package/src/Graph/Legend/index.tsx +166 -0
  73. package/src/Graph/Legend/models.ts +11 -0
  74. package/src/Graph/Legend/useInteractiveValues.ts +86 -0
  75. package/src/Graph/Legend/useLegend.ts +114 -0
  76. package/src/Graph/LoadingSkeleton.tsx +44 -0
  77. package/src/Graph/common/index.ts +35 -0
  78. package/src/Graph/graphAtoms.ts +6 -0
  79. package/src/Graph/helpers/doc.ts +560 -0
  80. package/src/Graph/helpers/index.ts +58 -0
  81. package/src/Graph/index.stories.tsx +372 -0
  82. package/src/Graph/index.tsx +90 -0
  83. package/src/Graph/mockedData/annotationData.json +326 -0
  84. package/src/Graph/mockedData/exclusionPeriodFirstPeriod.json +588 -0
  85. package/src/Graph/mockedData/exclusionPeriodSecondPeriod.json +588 -0
  86. package/src/Graph/mockedData/exclusionPeriodThirdPeriod.json +581 -0
  87. package/src/Graph/mockedData/lastDay.json +1326 -0
  88. package/src/Graph/mockedData/lastDayAreaStack.json +3106 -0
  89. package/src/Graph/mockedData/lastDayForward.json +1338 -0
  90. package/src/Graph/mockedData/lastDayThreshold.json +2352 -0
  91. package/src/Graph/mockedData/lastMonth.json +1674 -0
  92. package/src/Graph/mockedData/lastWeek.json +2202 -0
  93. package/src/Graph/mockedData/zoomPreview.json +742 -0
  94. package/src/Graph/models.ts +150 -0
  95. package/src/Graph/timeSeries/index.test.ts +506 -0
  96. package/src/Graph/timeSeries/index.ts +512 -0
  97. package/src/Graph/timeSeries/models.ts +120 -0
  98. package/src/Graph/translatedLabels.ts +9 -0
  99. package/src/Graph/useGraphData.ts +47 -0
  100. package/src/Graph/useGraphIntersection.ts +36 -0
  101. package/src/ThemeProvider/index.tsx +5 -6
  102. package/src/ThemeProvider/palettes.ts +215 -385
  103. package/src/TimePeriods/CustomTimePeriod/CompactCustomTimePeriod.styles.ts +51 -0
  104. package/src/TimePeriods/CustomTimePeriod/CompactCustomTimePeriod.tsx +95 -0
  105. package/src/TimePeriods/CustomTimePeriod/PopoverCustomTimePeriod/ErrorText.tsx +14 -0
  106. package/src/TimePeriods/CustomTimePeriod/PopoverCustomTimePeriod/PickersStartEndDate.tsx +163 -0
  107. package/src/TimePeriods/CustomTimePeriod/PopoverCustomTimePeriod/index.tsx +76 -0
  108. package/src/TimePeriods/CustomTimePeriod/PopoverCustomTimePeriod/models.ts +61 -0
  109. package/src/TimePeriods/CustomTimePeriod/PopoverCustomTimePeriod/usePickersStartEndDate.ts +82 -0
  110. package/src/TimePeriods/CustomTimePeriod/index.tsx +66 -0
  111. package/src/TimePeriods/DateTimePickerInput.tsx +49 -0
  112. package/src/TimePeriods/ResolutionTimePeriod.cypress.spec.tsx +65 -0
  113. package/src/TimePeriods/SelectedTimePeriod.tsx +102 -0
  114. package/src/TimePeriods/TimePeriods.cypress.spec.tsx +510 -0
  115. package/src/TimePeriods/TimePeriods.styles.ts +22 -0
  116. package/src/TimePeriods/helpers/index.ts +26 -0
  117. package/src/TimePeriods/index.stories.tsx +98 -0
  118. package/src/TimePeriods/index.tsx +78 -0
  119. package/src/TimePeriods/mockedData.ts +12 -0
  120. package/src/TimePeriods/models.ts +97 -0
  121. package/src/TimePeriods/timePeriodsAtoms.ts +102 -0
  122. package/src/TimePeriods/translatedLabels.ts +9 -0
  123. package/src/TimePeriods/useSortTimePeriods.ts +31 -0
  124. package/src/TimePeriods/useTimePeriod.ts +49 -0
  125. package/src/api/TestQueryProvider.tsx +1 -2
  126. package/src/api/useFetchQuery/index.ts +7 -8
  127. package/src/api/useMutationQuery/index.ts +10 -11
  128. package/src/components/Button/Button.styles.ts +3 -17
  129. package/src/components/Button/Button.tsx +3 -6
  130. package/src/components/Button/Icon/IconButton.styles.ts +2 -9
  131. package/src/components/DataTable/DataTable.stories.tsx +0 -9
  132. package/src/components/DataTable/DataTable.styles.ts +0 -5
  133. package/src/components/DataTable/DataTable.tsx +6 -8
  134. package/src/components/DataTable/EmptyState/DataTableEmptyState.tsx +1 -4
  135. package/src/components/DataTable/Item/DataTableItem.styles.ts +2 -5
  136. package/src/components/DataTable/Item/DataTableItem.tsx +18 -36
  137. package/src/components/Header/Header.stories.tsx +27 -0
  138. package/src/components/Header/Header.styles.ts +27 -0
  139. package/src/components/Header/Header.tsx +23 -0
  140. package/src/components/Header/index.ts +1 -1
  141. package/src/components/Modal/index.ts +0 -2
  142. package/src/components/index.ts +0 -3
  143. package/src/index.ts +2 -0
  144. package/src/layout/TiledListingPage/TiledListingActions.tsx +15 -0
  145. package/src/layout/TiledListingPage/TiledListingContent.tsx +21 -0
  146. package/src/layout/TiledListingPage/TiledListingList.tsx +11 -0
  147. package/src/layout/TiledListingPage/TiledListingPage.styles.ts +16 -0
  148. package/src/layout/TiledListingPage/TiledListingPage.tsx +15 -0
  149. package/src/layout/TiledListingPage/index.ts +4 -0
  150. package/src/screens/dashboard/DashboardsOverview.stories.tsx +102 -110
  151. package/src/utils/index.ts +1 -1
  152. package/src/utils/sanitizedHTML.ts +1 -1
  153. package/test/setupTests.js +0 -3
  154. package/src/base/tokens/README.md +0 -3
  155. package/src/base/tokens/source/$metadata.json +0 -5
  156. package/src/base/tokens/source/base.json +0 -142
  157. package/src/base/tokens/themes/base.tokens.d.ts +0 -38
  158. package/src/base/tokens/themes/base.tokens.json +0 -695
  159. package/src/base/tokens/themes/base.tokens.ts +0 -38
  160. package/src/base/tokens/themes/ui-dark.tokens.d.ts +0 -38
  161. package/src/base/tokens/themes/ui-dark.tokens.json +0 -695
  162. package/src/base/tokens/themes/ui-dark.tokens.ts +0 -38
  163. package/src/base/tokens/themes/ui-light.tokens.d.ts +0 -38
  164. package/src/base/tokens/themes/ui-light.tokens.json +0 -695
  165. package/src/base/tokens/themes/ui-light.tokens.ts +0 -38
  166. package/src/components/Header/PageHeader/PageHeader.stories.tsx +0 -88
  167. package/src/components/Header/PageHeader/PageHeader.styles.ts +0 -99
  168. package/src/components/Header/PageHeader/PageHeader.tsx +0 -15
  169. package/src/components/Header/PageHeader/PageHeaderActions.tsx +0 -17
  170. package/src/components/Header/PageHeader/PageHeaderMain.tsx +0 -15
  171. package/src/components/Header/PageHeader/PageHeaderMenu.tsx +0 -15
  172. package/src/components/Header/PageHeader/PageHeaderTitle.tsx +0 -47
  173. package/src/components/Header/PageHeader/index.ts +0 -12
  174. package/src/components/Layout/AreaIndicator.styles.ts +0 -33
  175. package/src/components/Layout/AreaIndicator.tsx +0 -35
  176. package/src/components/Layout/PageLayout/PageLayout.stories.tsx +0 -81
  177. package/src/components/Layout/PageLayout/PageLayout.styles.ts +0 -40
  178. package/src/components/Layout/PageLayout/PageLayout.tsx +0 -21
  179. package/src/components/Layout/PageLayout/PageLayoutActions.tsx +0 -15
  180. package/src/components/Layout/PageLayout/PageLayoutBody.tsx +0 -24
  181. package/src/components/Layout/PageLayout/PageLayoutHeader.tsx +0 -15
  182. package/src/components/Layout/PageLayout/index.ts +0 -10
  183. package/src/components/Layout/index.ts +0 -1
  184. package/src/components/Menu/Button/MenuButton.stories.tsx +0 -16
  185. package/src/components/Menu/Button/MenuButton.styles.ts +0 -27
  186. package/src/components/Menu/Button/MenuButton.tsx +0 -59
  187. package/src/components/Menu/Button/index.ts +0 -1
  188. package/src/components/Menu/Menu.stories.tsx +0 -71
  189. package/src/components/Menu/Menu.styles.ts +0 -70
  190. package/src/components/Menu/Menu.tsx +0 -25
  191. package/src/components/Menu/MenuDivider.tsx +0 -13
  192. package/src/components/Menu/MenuItem.tsx +0 -36
  193. package/src/components/Menu/MenuItems.tsx +0 -35
  194. package/src/components/Menu/index.ts +0 -12
  195. package/src/components/Menu/useMenu.tsx +0 -79
  196. package/src/components/Tooltip/TextOverflowTooltip/TextOverflowTooltip.stories.tsx +0 -71
  197. package/src/components/Tooltip/TextOverflowTooltip/TextOverflowTooltip.styles.ts +0 -5
  198. package/src/components/Tooltip/TextOverflowTooltip/TextOverflowTooltip.tsx +0 -115
  199. package/src/components/Tooltip/TextOverflowTooltip/index.tsx +0 -1
  200. package/src/components/Tooltip/Tooltip.stories.tsx +0 -41
  201. package/src/components/Tooltip/Tooltip.styles.ts +0 -5
  202. package/src/components/Tooltip/Tooltip.tsx +0 -46
  203. package/src/components/Tooltip/index.ts +0 -1
  204. package/src/screens/dashboard/DashboardsDetail.stories.tsx +0 -108
  205. package/src/utils/useResizeObserver.ts +0 -6
@@ -0,0 +1,581 @@
1
+ {
2
+ "global": {
3
+ "title": "anomaly-nbr-connect graph on fw-brasilia",
4
+ "start": "2023-06-15T06:00:41+02:00",
5
+ "end": "2023-06-15T08:58:26+02:00",
6
+ "vertical-label": "Value",
7
+ "base": 1000,
8
+ "width": 550,
9
+ "height": 140,
10
+ "scaled": 1,
11
+ "multiple_services": false
12
+ },
13
+ "metrics": [
14
+ {
15
+ "index_id": 152032,
16
+ "metric_id": 15165,
17
+ "metric": "connection",
18
+ "metric_legend": "connection",
19
+ "unit": "",
20
+ "hidden": 0,
21
+ "min": null,
22
+ "max": null,
23
+ "virtual": 0,
24
+ "ds_data": {
25
+ "ds_min": "1",
26
+ "ds_max": "1",
27
+ "ds_minmax_int": "0",
28
+ "ds_last": "1",
29
+ "ds_average": "1",
30
+ "ds_total": "0",
31
+ "ds_tickness": 1,
32
+ "ds_color_line_mode": "1",
33
+ "ds_color_line": "#993366"
34
+ },
35
+ "legend": "connection",
36
+ "stack": 0,
37
+ "warn": null,
38
+ "warn_low": null,
39
+ "crit": null,
40
+ "crit_low": null,
41
+ "ds_color_area_warn": "#ff9a13",
42
+ "ds_color_area_crit": "#e00b3d",
43
+ "ds_order": 0,
44
+ "data": [
45
+ 11,
46
+ 18.933333333,
47
+ 25.76,
48
+ 15.1,
49
+ 15.173333333,
50
+ 21.553333333,
51
+ 27.76,
52
+ 24.24,
53
+ 15.86,
54
+ 17.966666667,
55
+ 24.553333333,
56
+ 16.48,
57
+ 24.313333333,
58
+ 22.24,
59
+ 22.586666667,
60
+ 27.76,
61
+ 18.686666667,
62
+ 19.966666667,
63
+ 23.38,
64
+ 13.686666667,
65
+ 23.693333333,
66
+ 23.033333333,
67
+ 25.173333333,
68
+ 22.826666667,
69
+ 19.62,
70
+ 11.86,
71
+ 17.14,
72
+ 18.206666667,
73
+ 19.586666667,
74
+ 26.346666667,
75
+ 28.793333333,
76
+ 18.686666667,
77
+ 11.24,
78
+ 16.346666667,
79
+ 15.62,
80
+ 83.226666667
81
+ ],
82
+ "prints": [
83
+ [
84
+ "Last:83.23"
85
+ ],
86
+ [
87
+ "Min:11.00"
88
+ ],
89
+ [
90
+ "Max:83.23"
91
+ ],
92
+ [
93
+ "Average:21.90"
94
+ ]
95
+ ],
96
+ "last_value": 83.23,
97
+ "minimum_value": 11,
98
+ "maximum_value": 83.23,
99
+ "average_value": 21.9
100
+ },
101
+ {
102
+ "index_id": 152032,
103
+ "metric_id": 16196,
104
+ "metric": "connection_fit",
105
+ "metric_legend": "connection_fit",
106
+ "unit": "",
107
+ "hidden": 0,
108
+ "min": null,
109
+ "max": null,
110
+ "virtual": 0,
111
+ "ds_data": {
112
+ "ds_min": "1",
113
+ "ds_max": "1",
114
+ "ds_minmax_int": "0",
115
+ "ds_last": "1",
116
+ "ds_average": "1",
117
+ "ds_total": "0",
118
+ "ds_tickness": 1,
119
+ "ds_color_line_mode": "1",
120
+ "ds_color_line": "#9933ff"
121
+ },
122
+ "legend": "connection_fit",
123
+ "stack": 0,
124
+ "warn": null,
125
+ "warn_low": null,
126
+ "crit": null,
127
+ "crit_low": null,
128
+ "ds_color_area_warn": "#ff9a13",
129
+ "ds_color_area_crit": "#e00b3d",
130
+ "ds_order": 0,
131
+ "data": [
132
+ 19.97,
133
+ 19.97,
134
+ 19.97,
135
+ 19.977933333,
136
+ 19.987933333,
137
+ 20.005866667,
138
+ 20.065533333,
139
+ 20.1276,
140
+ 20.179666667,
141
+ 20.150333333,
142
+ 20.108266667,
143
+ 20.0762,
144
+ 20.07,
145
+ 20.07,
146
+ 20.07,
147
+ 20.077933333,
148
+ 20.087933333,
149
+ 20.105866667,
150
+ 20.165533333,
151
+ 20.2276,
152
+ 20.24,
153
+ 20.041666667,
154
+ 19.783733333,
155
+ 19.571333333,
156
+ 19.53,
157
+ 19.53,
158
+ 19.537933333,
159
+ 19.547933333,
160
+ 19.557933333,
161
+ 19.567933333,
162
+ 19.5938,
163
+ 19.631733333,
164
+ 19.8304,
165
+ 20.7368,
166
+ 21.808866667,
167
+ 27.519866667
168
+ ],
169
+ "prints": [
170
+ [
171
+ "Last:27.52"
172
+ ],
173
+ [
174
+ "Min:19.53"
175
+ ],
176
+ [
177
+ "Max:27.52"
178
+ ],
179
+ [
180
+ "Average:20.21"
181
+ ]
182
+ ],
183
+ "last_value": 27.52,
184
+ "minimum_value": 19.53,
185
+ "maximum_value": 27.52,
186
+ "average_value": 20.21
187
+ },
188
+ {
189
+ "index_id": 152032,
190
+ "metric_id": 16197,
191
+ "metric": "connection_lower_margin",
192
+ "metric_legend": "connection_lower_margin",
193
+ "unit": "",
194
+ "hidden": 0,
195
+ "min": null,
196
+ "max": null,
197
+ "virtual": 0,
198
+ "ds_data": {
199
+ "ds_min": "1",
200
+ "ds_max": "1",
201
+ "ds_minmax_int": "0",
202
+ "ds_last": "1",
203
+ "ds_average": "1",
204
+ "ds_total": "0",
205
+ "ds_tickness": 1,
206
+ "ds_color_line_mode": "1",
207
+ "ds_color_line": "#00ff99"
208
+ },
209
+ "legend": "connection_lower_margin",
210
+ "stack": 0,
211
+ "warn": null,
212
+ "warn_low": null,
213
+ "crit": null,
214
+ "crit_low": null,
215
+ "ds_color_area_warn": "#ff9a13",
216
+ "ds_color_area_crit": "#e00b3d",
217
+ "ds_order": 0,
218
+ "data": [
219
+ -17.88,
220
+ -17.88,
221
+ -17.88,
222
+ -17.88,
223
+ -17.88,
224
+ -17.88,
225
+ -17.88,
226
+ -17.88,
227
+ -17.88,
228
+ -17.88,
229
+ -17.88,
230
+ -17.88,
231
+ -17.88,
232
+ -17.88,
233
+ -17.88,
234
+ -17.88,
235
+ -17.88,
236
+ -17.88,
237
+ -17.88,
238
+ -17.88,
239
+ -17.88,
240
+ -17.88,
241
+ -17.88,
242
+ -17.88,
243
+ -17.88,
244
+ -17.88,
245
+ -17.88,
246
+ -17.88,
247
+ -17.88,
248
+ -17.88,
249
+ -17.88,
250
+ -17.88,
251
+ -17.88,
252
+ -17.88,
253
+ -17.88,
254
+ -21.9736
255
+ ],
256
+ "prints": [
257
+ [
258
+ "Last:-21.97"
259
+ ],
260
+ [
261
+ "Min:-21.97"
262
+ ],
263
+ [
264
+ "Max:-17.88"
265
+ ],
266
+ [
267
+ "Average:-17.99"
268
+ ]
269
+ ],
270
+ "last_value": null,
271
+ "minimum_value": null,
272
+ "maximum_value": null,
273
+ "average_value": null
274
+ },
275
+ {
276
+ "index_id": 152032,
277
+ "metric_id": 16198,
278
+ "metric": "connection_upper_margin",
279
+ "metric_legend": "connection_upper_margin",
280
+ "unit": "",
281
+ "hidden": 0,
282
+ "min": null,
283
+ "max": null,
284
+ "virtual": 0,
285
+ "ds_data": {
286
+ "ds_min": "1",
287
+ "ds_max": "1",
288
+ "ds_minmax_int": "0",
289
+ "ds_last": "1",
290
+ "ds_average": "1",
291
+ "ds_total": "0",
292
+ "ds_tickness": 1,
293
+ "ds_color_line_mode": "1",
294
+ "ds_color_line": "#9900ff"
295
+ },
296
+ "legend": "connection_upper_margin",
297
+ "stack": 0,
298
+ "warn": null,
299
+ "warn_low": null,
300
+ "crit": null,
301
+ "crit_low": null,
302
+ "ds_color_area_warn": "#ff9a13",
303
+ "ds_color_area_crit": "#e00b3d",
304
+ "ds_order": 0,
305
+ "data": [
306
+ 10.15,
307
+ 10.15,
308
+ 10.15,
309
+ 10.15,
310
+ 10.15,
311
+ 10.15,
312
+ 10.15,
313
+ 10.15,
314
+ 10.15,
315
+ 10.15,
316
+ 10.15,
317
+ 10.15,
318
+ 10.15,
319
+ 10.15,
320
+ 10.15,
321
+ 10.15,
322
+ 10.15,
323
+ 10.15,
324
+ 10.15,
325
+ 10.15,
326
+ 10.15,
327
+ 10.15,
328
+ 10.15,
329
+ 10.15,
330
+ 10.15,
331
+ 10.15,
332
+ 10.15,
333
+ 10.15,
334
+ 10.15,
335
+ 10.15,
336
+ 10.15,
337
+ 10.15,
338
+ 10.15,
339
+ 10.15,
340
+ 10.15,
341
+ 13.9818
342
+ ],
343
+ "prints": [
344
+ [
345
+ "Last:13.98"
346
+ ],
347
+ [
348
+ "Min:10.15"
349
+ ],
350
+ [
351
+ "Max:13.98"
352
+ ],
353
+ [
354
+ "Average:10.26"
355
+ ]
356
+ ],
357
+ "last_value": 13.98,
358
+ "minimum_value": 10.15,
359
+ "maximum_value": 13.98,
360
+ "average_value": 10.26
361
+ },
362
+ {
363
+ "index_id": 152032,
364
+ "metric_id": 15177,
365
+ "metric": "connection_lower_thresholds",
366
+ "metric_legend": "connection_lower_thresholds",
367
+ "unit": "",
368
+ "hidden": 0,
369
+ "min": null,
370
+ "max": null,
371
+ "virtual": 0,
372
+ "ds_data": {
373
+ "compo_id": 50,
374
+ "host_id": null,
375
+ "service_id": null,
376
+ "name": "Anomaly Lower Threshold",
377
+ "ds_order": 1,
378
+ "ds_hidecurve": null,
379
+ "ds_name": ".*_lower_thresholds",
380
+ "ds_color_line": "#D728C9",
381
+ "ds_color_line_mode": "0",
382
+ "ds_color_area": "#FFFFFF",
383
+ "ds_color_area_warn": "#F8C706",
384
+ "ds_color_area_crit": "#F91E05",
385
+ "ds_filled": null,
386
+ "ds_max": null,
387
+ "ds_min": null,
388
+ "ds_minmax_int": null,
389
+ "ds_average": null,
390
+ "ds_last": null,
391
+ "ds_total": null,
392
+ "ds_tickness": 2,
393
+ "ds_transparency": "80",
394
+ "ds_invert": null,
395
+ "ds_legend": "Lower Threshold",
396
+ "ds_jumpline": "0",
397
+ "ds_stack": null,
398
+ "default_tpl1": null,
399
+ "comment": null
400
+ },
401
+ "legend": "Lower Threshold",
402
+ "stack": 0,
403
+ "warn": null,
404
+ "warn_low": null,
405
+ "crit": null,
406
+ "crit_low": null,
407
+ "ds_order": 1,
408
+ "data": [
409
+ -33.67,
410
+ -33.67,
411
+ -33.67,
412
+ -33.662066667,
413
+ -33.652066667,
414
+ -33.6262,
415
+ -33.5724,
416
+ -33.504466667,
417
+ -33.458266667,
418
+ -33.481733333,
419
+ -33.529666667,
420
+ -33.5638,
421
+ -33.57,
422
+ -33.57,
423
+ -33.57,
424
+ -33.562066667,
425
+ -33.552066667,
426
+ -33.5262,
427
+ -33.4724,
428
+ -33.404466667,
429
+ -33.39,
430
+ -33.596266667,
431
+ -33.848333333,
432
+ -34.058666667,
433
+ -34.1,
434
+ -34.1,
435
+ -34.1,
436
+ -34.092066667,
437
+ -34.082066667,
438
+ -34.064133333,
439
+ -34.0362,
440
+ -34.0062,
441
+ -33.801666667,
442
+ -32.901133333,
443
+ -31.831133333,
444
+ -38.408866667
445
+ ],
446
+ "prints": [],
447
+ "last_value": null,
448
+ "minimum_value": null,
449
+ "maximum_value": null,
450
+ "average_value": null
451
+ },
452
+ {
453
+ "index_id": 152032,
454
+ "metric_id": 15178,
455
+ "metric": "connection_upper_thresholds",
456
+ "metric_legend": "connection_upper_thresholds",
457
+ "unit": "",
458
+ "hidden": 0,
459
+ "min": null,
460
+ "max": null,
461
+ "virtual": 0,
462
+ "ds_data": {
463
+ "compo_id": 51,
464
+ "host_id": null,
465
+ "service_id": null,
466
+ "name": "Anomaly Upper Threshold",
467
+ "ds_order": 1,
468
+ "ds_hidecurve": null,
469
+ "ds_name": ".*_upper_thresholds",
470
+ "ds_color_line": "#D728C9",
471
+ "ds_color_line_mode": "0",
472
+ "ds_color_area": "#FFFFFF",
473
+ "ds_color_area_warn": "#F8C706",
474
+ "ds_color_area_crit": "#F91E05",
475
+ "ds_filled": null,
476
+ "ds_max": null,
477
+ "ds_min": null,
478
+ "ds_minmax_int": null,
479
+ "ds_average": null,
480
+ "ds_last": null,
481
+ "ds_total": null,
482
+ "ds_tickness": 2,
483
+ "ds_transparency": "80",
484
+ "ds_invert": null,
485
+ "ds_legend": "Upper Threshold",
486
+ "ds_jumpline": "0",
487
+ "ds_stack": null,
488
+ "default_tpl1": null,
489
+ "comment": null
490
+ },
491
+ "legend": "Upper Threshold",
492
+ "stack": 0,
493
+ "warn": null,
494
+ "warn_low": null,
495
+ "crit": null,
496
+ "crit_low": null,
497
+ "ds_order": 1,
498
+ "data": [
499
+ 50.42,
500
+ 50.42,
501
+ 50.427933333,
502
+ 50.437933333,
503
+ 50.447933333,
504
+ 50.465866667,
505
+ 50.525533333,
506
+ 50.5876,
507
+ 50.631733333,
508
+ 50.608266667,
509
+ 50.568266667,
510
+ 50.528266667,
511
+ 50.52,
512
+ 50.52,
513
+ 50.527933333,
514
+ 50.537933333,
515
+ 50.547933333,
516
+ 50.565866667,
517
+ 50.625533333,
518
+ 50.6876,
519
+ 50.7,
520
+ 50.501666667,
521
+ 50.243733333,
522
+ 50.031333333,
523
+ 49.99,
524
+ 49.99,
525
+ 49.99,
526
+ 49.997933333,
527
+ 50.007933333,
528
+ 50.025866667,
529
+ 50.0538,
530
+ 50.0838,
531
+ 50.288333333,
532
+ 51.188866667,
533
+ 52.2668,
534
+ 69.4594
535
+ ],
536
+ "prints": [],
537
+ "last_value": null,
538
+ "minimum_value": null,
539
+ "maximum_value": null,
540
+ "average_value": null
541
+ }
542
+ ],
543
+ "times": [
544
+ "2023-06-15T06:05:00+02:00",
545
+ "2023-06-15T06:10:00+02:00",
546
+ "2023-06-15T06:15:00+02:00",
547
+ "2023-06-15T06:20:00+02:00",
548
+ "2023-06-15T06:25:00+02:00",
549
+ "2023-06-15T06:30:00+02:00",
550
+ "2023-06-15T06:35:00+02:00",
551
+ "2023-06-15T06:40:00+02:00",
552
+ "2023-06-15T06:45:00+02:00",
553
+ "2023-06-15T06:50:00+02:00",
554
+ "2023-06-15T06:55:00+02:00",
555
+ "2023-06-15T07:00:00+02:00",
556
+ "2023-06-15T07:05:00+02:00",
557
+ "2023-06-15T07:10:00+02:00",
558
+ "2023-06-15T07:15:00+02:00",
559
+ "2023-06-15T07:20:00+02:00",
560
+ "2023-06-15T07:25:00+02:00",
561
+ "2023-06-15T07:30:00+02:00",
562
+ "2023-06-15T07:35:00+02:00",
563
+ "2023-06-15T07:40:00+02:00",
564
+ "2023-06-15T07:45:00+02:00",
565
+ "2023-06-15T07:50:00+02:00",
566
+ "2023-06-15T07:55:00+02:00",
567
+ "2023-06-15T08:00:00+02:00",
568
+ "2023-06-15T08:05:00+02:00",
569
+ "2023-06-15T08:10:00+02:00",
570
+ "2023-06-15T08:15:00+02:00",
571
+ "2023-06-15T08:20:00+02:00",
572
+ "2023-06-15T08:25:00+02:00",
573
+ "2023-06-15T08:30:00+02:00",
574
+ "2023-06-15T08:35:00+02:00",
575
+ "2023-06-15T08:40:00+02:00",
576
+ "2023-06-15T08:45:00+02:00",
577
+ "2023-06-15T08:50:00+02:00",
578
+ "2023-06-15T08:55:00+02:00",
579
+ "2023-06-15T09:00:00+02:00"
580
+ ]
581
+ }