@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,588 @@
1
+ {
2
+ "global": {
3
+ "title": "anomaly-nbr-connect graph on fw-brasilia",
4
+ "start": "2023-06-15T12:02:17+02:00",
5
+ "end": "2023-06-15T15:00:01+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
+ 90.506666667,
46
+ 124.84,
47
+ 131.21333333,
48
+ 175.1,
49
+ 155.07333333,
50
+ 116.39333333,
51
+ 101.31333333,
52
+ 141.41333333,
53
+ 156.46,
54
+ 131.38,
55
+ 162.25333333,
56
+ 182.70666667,
57
+ 181.82,
58
+ 124.62,
59
+ 96.646666667,
60
+ 96.413333333,
61
+ 124.22,
62
+ 146.96666667,
63
+ 140.75333333,
64
+ 106.12,
65
+ 144.83333333,
66
+ 152.43333333,
67
+ 97.293333333,
68
+ 96.44,
69
+ 142.32,
70
+ 142.33333333,
71
+ 103.74,
72
+ 118.54,
73
+ 145.55333333,
74
+ 122.16666667,
75
+ 109.15333333,
76
+ 134.74666667,
77
+ 117.19333333,
78
+ 122.83333333,
79
+ 152.28,
80
+ 170.50666667,
81
+ 93.506666667
82
+ ],
83
+ "prints": [
84
+ [
85
+ "Last:93.51"
86
+ ],
87
+ [
88
+ "Min:90.51"
89
+ ],
90
+ [
91
+ "Max:182.71"
92
+ ],
93
+ [
94
+ "Average:131.14"
95
+ ]
96
+ ],
97
+ "last_value": 93.51,
98
+ "minimum_value": 90.51,
99
+ "maximum_value": 182.71,
100
+ "average_value": 131.14
101
+ },
102
+ {
103
+ "index_id": 152032,
104
+ "metric_id": 16196,
105
+ "metric": "connection_fit",
106
+ "metric_legend": "connection_fit",
107
+ "unit": "",
108
+ "hidden": 0,
109
+ "min": null,
110
+ "max": null,
111
+ "virtual": 0,
112
+ "ds_data": {
113
+ "ds_min": "1",
114
+ "ds_max": "1",
115
+ "ds_minmax_int": "0",
116
+ "ds_last": "1",
117
+ "ds_average": "1",
118
+ "ds_total": "0",
119
+ "ds_tickness": 1,
120
+ "ds_color_line_mode": "1",
121
+ "ds_color_line": "#9933ff"
122
+ },
123
+ "legend": "connection_fit",
124
+ "stack": 0,
125
+ "warn": null,
126
+ "warn_low": null,
127
+ "crit": null,
128
+ "crit_low": null,
129
+ "ds_color_area_warn": "#ff9a13",
130
+ "ds_color_area_crit": "#e00b3d",
131
+ "ds_order": 0,
132
+ "data": [
133
+ 131.36,
134
+ 131.36,
135
+ 131.35613333,
136
+ 131.3342,
137
+ 131.3042,
138
+ 131.2974,
139
+ 131.38933333,
140
+ 131.49126667,
141
+ 131.57226667,
142
+ 131.52453333,
143
+ 131.4426,
144
+ 131.36806667,
145
+ 131.36,
146
+ 131.36,
147
+ 131.35613333,
148
+ 131.3342,
149
+ 131.3042,
150
+ 131.2974,
151
+ 131.38933333,
152
+ 131.49126667,
153
+ 131.57226667,
154
+ 131.52453333,
155
+ 131.4426,
156
+ 131.36806667,
157
+ 131.36,
158
+ 131.36,
159
+ 131.35613333,
160
+ 131.3342,
161
+ 131.3042,
162
+ 131.2974,
163
+ 131.38933333,
164
+ 131.49126667,
165
+ 131.59546667,
166
+ 131.67353333,
167
+ 131.7416,
168
+ 131.79193333,
169
+ 131.8
170
+ ],
171
+ "prints": [
172
+ [
173
+ "Last:131.80"
174
+ ],
175
+ [
176
+ "Min:131.30"
177
+ ],
178
+ [
179
+ "Max:131.80"
180
+ ],
181
+ [
182
+ "Average:131.44"
183
+ ]
184
+ ],
185
+ "last_value": 131.8,
186
+ "minimum_value": 131.3,
187
+ "maximum_value": 131.8,
188
+ "average_value": 131.44
189
+ },
190
+ {
191
+ "index_id": 152032,
192
+ "metric_id": 16197,
193
+ "metric": "connection_lower_margin",
194
+ "metric_legend": "connection_lower_margin",
195
+ "unit": "",
196
+ "hidden": 0,
197
+ "min": null,
198
+ "max": null,
199
+ "virtual": 0,
200
+ "ds_data": {
201
+ "ds_min": "1",
202
+ "ds_max": "1",
203
+ "ds_minmax_int": "0",
204
+ "ds_last": "1",
205
+ "ds_average": "1",
206
+ "ds_total": "0",
207
+ "ds_tickness": 1,
208
+ "ds_color_line_mode": "1",
209
+ "ds_color_line": "#00ff99"
210
+ },
211
+ "legend": "connection_lower_margin",
212
+ "stack": 0,
213
+ "warn": null,
214
+ "warn_low": null,
215
+ "crit": null,
216
+ "crit_low": null,
217
+ "ds_color_area_warn": "#ff9a13",
218
+ "ds_color_area_crit": "#e00b3d",
219
+ "ds_order": 0,
220
+ "data": [
221
+ -92.84,
222
+ -92.84,
223
+ -92.84,
224
+ -92.84,
225
+ -92.84,
226
+ -92.84,
227
+ -92.84,
228
+ -92.84,
229
+ -92.84,
230
+ -92.84,
231
+ -92.84,
232
+ -92.84,
233
+ -92.84,
234
+ -92.84,
235
+ -92.84,
236
+ -92.84,
237
+ -92.84,
238
+ -92.84,
239
+ -92.84,
240
+ -92.84,
241
+ -92.84,
242
+ -92.84,
243
+ -92.84,
244
+ -92.84,
245
+ -92.84,
246
+ -92.84,
247
+ -92.84,
248
+ -92.84,
249
+ -92.84,
250
+ -92.84,
251
+ -92.84,
252
+ -92.84,
253
+ -92.84,
254
+ -92.84,
255
+ -92.84,
256
+ -92.84,
257
+ -92.84
258
+ ],
259
+ "prints": [
260
+ [
261
+ "Last:-92.84"
262
+ ],
263
+ [
264
+ "Min:-92.84"
265
+ ],
266
+ [
267
+ "Max:-92.84"
268
+ ],
269
+ [
270
+ "Average:-92.84"
271
+ ]
272
+ ],
273
+ "last_value": null,
274
+ "minimum_value": null,
275
+ "maximum_value": null,
276
+ "average_value": null
277
+ },
278
+ {
279
+ "index_id": 152032,
280
+ "metric_id": 16198,
281
+ "metric": "connection_upper_margin",
282
+ "metric_legend": "connection_upper_margin",
283
+ "unit": "",
284
+ "hidden": 0,
285
+ "min": null,
286
+ "max": null,
287
+ "virtual": 0,
288
+ "ds_data": {
289
+ "ds_min": "1",
290
+ "ds_max": "1",
291
+ "ds_minmax_int": "0",
292
+ "ds_last": "1",
293
+ "ds_average": "1",
294
+ "ds_total": "0",
295
+ "ds_tickness": 1,
296
+ "ds_color_line_mode": "1",
297
+ "ds_color_line": "#9900ff"
298
+ },
299
+ "legend": "connection_upper_margin",
300
+ "stack": 0,
301
+ "warn": null,
302
+ "warn_low": null,
303
+ "crit": null,
304
+ "crit_low": null,
305
+ "ds_color_area_warn": "#ff9a13",
306
+ "ds_color_area_crit": "#e00b3d",
307
+ "ds_order": 0,
308
+ "data": [
309
+ 80.19,
310
+ 80.19,
311
+ 80.19,
312
+ 80.19,
313
+ 80.19,
314
+ 80.19,
315
+ 80.19,
316
+ 80.19,
317
+ 80.19,
318
+ 80.19,
319
+ 80.19,
320
+ 80.19,
321
+ 80.19,
322
+ 80.19,
323
+ 80.19,
324
+ 80.19,
325
+ 80.19,
326
+ 80.19,
327
+ 80.19,
328
+ 80.19,
329
+ 80.19,
330
+ 80.19,
331
+ 80.19,
332
+ 80.19,
333
+ 80.19,
334
+ 80.19,
335
+ 80.19,
336
+ 80.19,
337
+ 80.19,
338
+ 80.19,
339
+ 80.19,
340
+ 80.19,
341
+ 80.19,
342
+ 80.19,
343
+ 80.19,
344
+ 80.19,
345
+ 80.19
346
+ ],
347
+ "prints": [
348
+ [
349
+ "Last:80.19"
350
+ ],
351
+ [
352
+ "Min:80.19"
353
+ ],
354
+ [
355
+ "Max:80.19"
356
+ ],
357
+ [
358
+ "Average:80.19"
359
+ ]
360
+ ],
361
+ "last_value": 80.19,
362
+ "minimum_value": 80.19,
363
+ "maximum_value": 80.19,
364
+ "average_value": 80.19
365
+ },
366
+ {
367
+ "index_id": 152032,
368
+ "metric_id": 15177,
369
+ "metric": "connection_lower_thresholds",
370
+ "metric_legend": "connection_lower_thresholds",
371
+ "unit": "",
372
+ "hidden": 0,
373
+ "min": null,
374
+ "max": null,
375
+ "virtual": 0,
376
+ "ds_data": {
377
+ "compo_id": 50,
378
+ "host_id": null,
379
+ "service_id": null,
380
+ "name": "Anomaly Lower Threshold",
381
+ "ds_order": 1,
382
+ "ds_hidecurve": null,
383
+ "ds_name": ".*_lower_thresholds",
384
+ "ds_color_line": "#D728C9",
385
+ "ds_color_line_mode": "0",
386
+ "ds_color_area": "#FFFFFF",
387
+ "ds_color_area_warn": "#F8C706",
388
+ "ds_color_area_crit": "#F91E05",
389
+ "ds_filled": null,
390
+ "ds_max": null,
391
+ "ds_min": null,
392
+ "ds_minmax_int": null,
393
+ "ds_average": null,
394
+ "ds_last": null,
395
+ "ds_total": null,
396
+ "ds_tickness": 2,
397
+ "ds_transparency": "80",
398
+ "ds_invert": null,
399
+ "ds_legend": "Lower Threshold",
400
+ "ds_jumpline": "0",
401
+ "ds_stack": null,
402
+ "default_tpl1": null,
403
+ "comment": null
404
+ },
405
+ "legend": "Lower Threshold",
406
+ "stack": 0,
407
+ "warn": null,
408
+ "warn_low": null,
409
+ "crit": null,
410
+ "crit_low": null,
411
+ "ds_order": 1,
412
+ "data": [
413
+ -147.17,
414
+ -147.17,
415
+ -147.17386667,
416
+ -147.1958,
417
+ -147.22386667,
418
+ -147.22453333,
419
+ -147.13873333,
420
+ -147.02873333,
421
+ -146.94966667,
422
+ -147.00546667,
423
+ -147.08546667,
424
+ -147.15386667,
425
+ -147.17,
426
+ -147.17,
427
+ -147.17386667,
428
+ -147.1958,
429
+ -147.22386667,
430
+ -147.22453333,
431
+ -147.13873333,
432
+ -147.02873333,
433
+ -146.94966667,
434
+ -147.00546667,
435
+ -147.08546667,
436
+ -147.15386667,
437
+ -147.17,
438
+ -147.17,
439
+ -147.17386667,
440
+ -147.1958,
441
+ -147.22386667,
442
+ -147.22453333,
443
+ -147.13873333,
444
+ -147.02873333,
445
+ -146.92453333,
446
+ -146.8484,
447
+ -146.78646667,
448
+ -146.72806667,
449
+ -146.72
450
+ ],
451
+ "prints": [],
452
+ "last_value": null,
453
+ "minimum_value": null,
454
+ "maximum_value": null,
455
+ "average_value": null
456
+ },
457
+ {
458
+ "index_id": 152032,
459
+ "metric_id": 15178,
460
+ "metric": "connection_upper_thresholds",
461
+ "metric_legend": "connection_upper_thresholds",
462
+ "unit": "",
463
+ "hidden": 0,
464
+ "min": null,
465
+ "max": null,
466
+ "virtual": 0,
467
+ "ds_data": {
468
+ "compo_id": 51,
469
+ "host_id": null,
470
+ "service_id": null,
471
+ "name": "Anomaly Upper Threshold",
472
+ "ds_order": 1,
473
+ "ds_hidecurve": null,
474
+ "ds_name": ".*_upper_thresholds",
475
+ "ds_color_line": "#D728C9",
476
+ "ds_color_line_mode": "0",
477
+ "ds_color_area": "#FFFFFF",
478
+ "ds_color_area_warn": "#F8C706",
479
+ "ds_color_area_crit": "#F91E05",
480
+ "ds_filled": null,
481
+ "ds_max": null,
482
+ "ds_min": null,
483
+ "ds_minmax_int": null,
484
+ "ds_average": null,
485
+ "ds_last": null,
486
+ "ds_total": null,
487
+ "ds_tickness": 2,
488
+ "ds_transparency": "80",
489
+ "ds_invert": null,
490
+ "ds_legend": "Upper Threshold",
491
+ "ds_jumpline": "0",
492
+ "ds_stack": null,
493
+ "default_tpl1": null,
494
+ "comment": null
495
+ },
496
+ "legend": "Upper Threshold",
497
+ "stack": 0,
498
+ "warn": null,
499
+ "warn_low": null,
500
+ "crit": null,
501
+ "crit_low": null,
502
+ "ds_order": 1,
503
+ "data": [
504
+ 371.92,
505
+ 371.92,
506
+ 371.91613333,
507
+ 371.8942,
508
+ 371.8642,
509
+ 371.8574,
510
+ 371.95126667,
511
+ 372.06126667,
512
+ 372.14033333,
513
+ 372.08453333,
514
+ 372.0026,
515
+ 371.92806667,
516
+ 371.92,
517
+ 371.92,
518
+ 371.91613333,
519
+ 371.8942,
520
+ 371.8642,
521
+ 371.8574,
522
+ 371.95126667,
523
+ 372.06126667,
524
+ 372.14033333,
525
+ 372.08453333,
526
+ 372.0026,
527
+ 371.92806667,
528
+ 371.92,
529
+ 371.92,
530
+ 371.91613333,
531
+ 371.8942,
532
+ 371.8642,
533
+ 371.8574,
534
+ 371.95126667,
535
+ 372.06126667,
536
+ 372.16353333,
537
+ 372.23353333,
538
+ 372.3016,
539
+ 372.35386667,
540
+ 372.37
541
+ ],
542
+ "prints": [],
543
+ "last_value": null,
544
+ "minimum_value": null,
545
+ "maximum_value": null,
546
+ "average_value": null
547
+ }
548
+ ],
549
+ "times": [
550
+ "2023-06-15T12:05:00+02:00",
551
+ "2023-06-15T12:10:00+02:00",
552
+ "2023-06-15T12:15:00+02:00",
553
+ "2023-06-15T12:20:00+02:00",
554
+ "2023-06-15T12:25:00+02:00",
555
+ "2023-06-15T12:30:00+02:00",
556
+ "2023-06-15T12:35:00+02:00",
557
+ "2023-06-15T12:40:00+02:00",
558
+ "2023-06-15T12:45:00+02:00",
559
+ "2023-06-15T12:50:00+02:00",
560
+ "2023-06-15T12:55:00+02:00",
561
+ "2023-06-15T13:00:00+02:00",
562
+ "2023-06-15T13:05:00+02:00",
563
+ "2023-06-15T13:10:00+02:00",
564
+ "2023-06-15T13:15:00+02:00",
565
+ "2023-06-15T13:20:00+02:00",
566
+ "2023-06-15T13:25:00+02:00",
567
+ "2023-06-15T13:30:00+02:00",
568
+ "2023-06-15T13:35:00+02:00",
569
+ "2023-06-15T13:40:00+02:00",
570
+ "2023-06-15T13:45:00+02:00",
571
+ "2023-06-15T13:50:00+02:00",
572
+ "2023-06-15T13:55:00+02:00",
573
+ "2023-06-15T14:00:00+02:00",
574
+ "2023-06-15T14:05:00+02:00",
575
+ "2023-06-15T14:10:00+02:00",
576
+ "2023-06-15T14:15:00+02:00",
577
+ "2023-06-15T14:20:00+02:00",
578
+ "2023-06-15T14:25:00+02:00",
579
+ "2023-06-15T14:30:00+02:00",
580
+ "2023-06-15T14:35:00+02:00",
581
+ "2023-06-15T14:40:00+02:00",
582
+ "2023-06-15T14:45:00+02:00",
583
+ "2023-06-15T14:50:00+02:00",
584
+ "2023-06-15T14:55:00+02:00",
585
+ "2023-06-15T15:00:00+02:00",
586
+ "2023-06-15T15:05:00+02:00"
587
+ ]
588
+ }