@cloudcare/guance-front-tools 1.0.0

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 (216) hide show
  1. package/.prettierignore +3 -0
  2. package/.prettierrc +6 -0
  3. package/LICENSE +21 -0
  4. package/README.md +31 -0
  5. package/cli.js +16 -0
  6. package/lib/cjs/generated/browserSessionReplay.d.ts +703 -0
  7. package/lib/cjs/generated/browserSessionReplay.js +6 -0
  8. package/lib/cjs/generated/dashboardCharts.d.ts +1372 -0
  9. package/lib/cjs/generated/dashboardCharts.js +6 -0
  10. package/lib/cjs/generated/mobileSessionReplay.d.ts +653 -0
  11. package/lib/cjs/generated/mobileSessionReplay.js +6 -0
  12. package/lib/cjs/generated/sessionReplay.d.ts +1190 -0
  13. package/lib/cjs/generated/sessionReplay.js +6 -0
  14. package/lib/cjs/src/dashboard-charts.d.ts +1 -0
  15. package/lib/cjs/src/dashboard-charts.js +17 -0
  16. package/lib/cjs/src/index.d.ts +2 -0
  17. package/lib/cjs/src/index.js +18 -0
  18. package/lib/cjs/src/session-replay-browser.d.ts +58 -0
  19. package/lib/cjs/src/session-replay-browser.js +69 -0
  20. package/lib/cjs/src/session-replay-mobile.d.ts +30 -0
  21. package/lib/cjs/src/session-replay-mobile.js +42 -0
  22. package/lib/cjs/src/session-replay.d.ts +30 -0
  23. package/lib/cjs/src/session-replay.js +49 -0
  24. package/lib/esm/generated/browserSessionReplay.d.ts +703 -0
  25. package/lib/esm/generated/browserSessionReplay.js +5 -0
  26. package/lib/esm/generated/dashboardCharts.d.ts +1372 -0
  27. package/lib/esm/generated/dashboardCharts.js +5 -0
  28. package/lib/esm/generated/mobileSessionReplay.d.ts +653 -0
  29. package/lib/esm/generated/mobileSessionReplay.js +5 -0
  30. package/lib/esm/generated/sessionReplay.d.ts +1190 -0
  31. package/lib/esm/generated/sessionReplay.js +5 -0
  32. package/lib/esm/src/dashboard-charts.d.ts +1 -0
  33. package/lib/esm/src/dashboard-charts.js +1 -0
  34. package/lib/esm/src/index.d.ts +2 -0
  35. package/lib/esm/src/index.js +2 -0
  36. package/lib/esm/src/session-replay-browser.d.ts +58 -0
  37. package/lib/esm/src/session-replay-browser.js +52 -0
  38. package/lib/esm/src/session-replay-mobile.d.ts +30 -0
  39. package/lib/esm/src/session-replay-mobile.js +25 -0
  40. package/lib/esm/src/session-replay.d.ts +30 -0
  41. package/lib/esm/src/session-replay.js +24 -0
  42. package/lib/example/grafana-dashboard.json +2205 -0
  43. package/lib/example/guance-covert-test.json +629 -0
  44. package/lib/example/guance-dashboard-1.json +672 -0
  45. package/lib/example/guance-dashboard.json +2841 -0
  46. package/lib/scripts/grafana-covert-to-guance.d.ts +1 -0
  47. package/lib/scripts/grafana-covert-to-guance.js +367 -0
  48. package/lib/scripts/grafana-covert-to-guance.ts +374 -0
  49. package/lib/scripts/grafana-dashbord.d.ts +2220 -0
  50. package/lib/scripts/grafana-dashbord.js +1 -0
  51. package/lib/scripts/grafana-dashbord.ts +2427 -0
  52. package/lib/src/dashboard-charts.ts +1 -0
  53. package/lib/src/index.ts +2 -0
  54. package/lib/src/session-replay-browser.ts +98 -0
  55. package/lib/src/session-replay-mobile.ts +54 -0
  56. package/lib/src/session-replay.ts +61 -0
  57. package/package.json +45 -0
  58. package/samples/dashboard/dashboard.json +2842 -0
  59. package/samples/dashboard/promql-dashboard.json +2175 -0
  60. package/samples/session-replay/mobile/record/full-snapshot-record.json +51 -0
  61. package/samples/session-replay/mobile/record/has-focus-record.json +7 -0
  62. package/samples/session-replay/mobile/record/incremental-snapshot-record.json +74 -0
  63. package/samples/session-replay/mobile/record/metadata-record.json +8 -0
  64. package/samples/session-replay/mobile/record/view-end-record.json +4 -0
  65. package/samples/session-replay/mobile/segment/segment.json +110 -0
  66. package/schemas/charts/chart-schema.json +73 -0
  67. package/schemas/charts/common/common-chart-types-schema.json +37 -0
  68. package/schemas/charts/common/common-vars-item-schema.json +117 -0
  69. package/schemas/charts/common/common-vars-schema.json +10 -0
  70. package/schemas/charts/dashboard-schema.json +73 -0
  71. package/schemas/charts/query/queries-schema.json +10 -0
  72. package/schemas/charts/query/query-item-schema.json +42 -0
  73. package/schemas/charts/settings/_common-settings-connect-null-schema.json +7 -0
  74. package/schemas/charts/settings/_common-settings-gradual-color-schema.json +72 -0
  75. package/schemas/charts/settings/_common-settings-groupby-schema.json +22 -0
  76. package/schemas/charts/settings/_common-settings-legend-position-schema.json +14 -0
  77. package/schemas/charts/settings/_common-settings-legend-values-schema.json +19 -0
  78. package/schemas/charts/settings/_common-settings-open-stack-schema.json +8 -0
  79. package/schemas/charts/settings/_common-settings-show-label-schema.json +8 -0
  80. package/schemas/charts/settings/_common-settings-show-line-schema.json +8 -0
  81. package/schemas/charts/settings/_common-settings-stack-content-schema.json +12 -0
  82. package/schemas/charts/settings/_common-settings-stack-type-schema.json +11 -0
  83. package/schemas/charts/settings/chart-alarm-settings-schema.json +48 -0
  84. package/schemas/charts/settings/chart-bar-settings-schema.json +69 -0
  85. package/schemas/charts/settings/chart-chinamap-settings-schema.json +102 -0
  86. package/schemas/charts/settings/chart-funnel-settings-schema.json +34 -0
  87. package/schemas/charts/settings/chart-gauge-settings-schema.json +65 -0
  88. package/schemas/charts/settings/chart-heatmap-settings-schema.json +50 -0
  89. package/schemas/charts/settings/chart-hexgon-settings-schema.json +90 -0
  90. package/schemas/charts/settings/chart-histogram-settings-schema.json +47 -0
  91. package/schemas/charts/settings/chart-iframe-settings-schema.json +24 -0
  92. package/schemas/charts/settings/chart-log-settings-schema.json +84 -0
  93. package/schemas/charts/settings/chart-object-settings-schema.json +52 -0
  94. package/schemas/charts/settings/chart-picture-settings-schema.json +46 -0
  95. package/schemas/charts/settings/chart-pie-settings-schema.json +90 -0
  96. package/schemas/charts/settings/chart-sankey-settings-schema.json +34 -0
  97. package/schemas/charts/settings/chart-scatter-bubble-settings-schema.json +31 -0
  98. package/schemas/charts/settings/chart-sequence-settings-schema.json +76 -0
  99. package/schemas/charts/settings/chart-singlestat-settings-schema.json +163 -0
  100. package/schemas/charts/settings/chart-table-settings-schema.json +184 -0
  101. package/schemas/charts/settings/chart-text-settings-schema.json +20 -0
  102. package/schemas/charts/settings/chart-toplist-settings-schema.json +117 -0
  103. package/schemas/charts/settings/chart-topology-settings-schema.json +71 -0
  104. package/schemas/charts/settings/chart-treemap-settings-schema.json +66 -0
  105. package/schemas/charts/settings/chart-worldmap-settings-schema.json +102 -0
  106. package/schemas/charts/settings/common-settings-schema.json +82 -0
  107. package/schemas/charts/settings/settings-alias-schema.json +47 -0
  108. package/schemas/charts/settings/settings-chart-type-schema.json +27 -0
  109. package/schemas/charts/settings/settings-colors-schema.json +46 -0
  110. package/schemas/charts/settings/settings-compare-schema.json +58 -0
  111. package/schemas/charts/settings/settings-fixed-time-schema.json +49 -0
  112. package/schemas/charts/settings/settings-levels-schema.json +33 -0
  113. package/schemas/charts/settings/settings-schema.json +79 -0
  114. package/schemas/charts/settings/settings-time-schema.json +47 -0
  115. package/schemas/charts/settings/settings-unit-items-schema.json +226 -0
  116. package/schemas/charts/settings/settings-units-schema.json +60 -0
  117. package/schemas/dashboard-schema.json +5 -0
  118. package/schemas/session-replay/browser/attribute-mutation-schema.json +21 -0
  119. package/schemas/session-replay/browser/attributes-schema.json +10 -0
  120. package/schemas/session-replay/browser/cdata-node-schema.json +19 -0
  121. package/schemas/session-replay/browser/creation-reason-schema.json +17 -0
  122. package/schemas/session-replay/browser/document-fragment-node-schema.json +35 -0
  123. package/schemas/session-replay/browser/document-node-schema.json +30 -0
  124. package/schemas/session-replay/browser/document-type-node-schema.json +28 -0
  125. package/schemas/session-replay/browser/element-node-schema.json +33 -0
  126. package/schemas/session-replay/browser/frustration-record-schema.json +49 -0
  127. package/schemas/session-replay/browser/full-snapshot-record-schema.json +26 -0
  128. package/schemas/session-replay/browser/incremental-data-schema.json +36 -0
  129. package/schemas/session-replay/browser/incremental-snapshot-record-schema.json +29 -0
  130. package/schemas/session-replay/browser/input-data-schema.json +27 -0
  131. package/schemas/session-replay/browser/input-state-schema.json +27 -0
  132. package/schemas/session-replay/browser/media-interaction-data-schema.json +23 -0
  133. package/schemas/session-replay/browser/media-interaction-schema.json +20 -0
  134. package/schemas/session-replay/browser/mouse-interaction-data-schema.json +23 -0
  135. package/schemas/session-replay/browser/mouse-interaction-schema.json +47 -0
  136. package/schemas/session-replay/browser/mouse-move-data-schema.json +23 -0
  137. package/schemas/session-replay/browser/mouse-position-schema.json +26 -0
  138. package/schemas/session-replay/browser/mutation-data-schema.json +23 -0
  139. package/schemas/session-replay/browser/mutation-payload-schema.json +42 -0
  140. package/schemas/session-replay/browser/node-added-mutation-schema.json +41 -0
  141. package/schemas/session-replay/browser/node-removed-mutation-schema.json +18 -0
  142. package/schemas/session-replay/browser/node-schema.json +28 -0
  143. package/schemas/session-replay/browser/record-schema.json +30 -0
  144. package/schemas/session-replay/browser/scroll-data-schema.json +23 -0
  145. package/schemas/session-replay/browser/scroll-position-schema.json +22 -0
  146. package/schemas/session-replay/browser/segment-metadata-schema.json +28 -0
  147. package/schemas/session-replay/browser/segment-schema.json +25 -0
  148. package/schemas/session-replay/browser/serialized-node-schema.json +15 -0
  149. package/schemas/session-replay/browser/serialized-node-with-id-schema.json +21 -0
  150. package/schemas/session-replay/browser/stylesheet-rule-add-schema.json +28 -0
  151. package/schemas/session-replay/browser/stylesheet-rule-data-schema.json +23 -0
  152. package/schemas/session-replay/browser/stylesheet-rule-delete-schema.json +24 -0
  153. package/schemas/session-replay/browser/stylesheet-rule-schema.json +29 -0
  154. package/schemas/session-replay/browser/stylesheet-schema.json +30 -0
  155. package/schemas/session-replay/browser/text-mutation-schema.json +27 -0
  156. package/schemas/session-replay/browser/text-node-schema.json +23 -0
  157. package/schemas/session-replay/common/_common-record-schema.json +14 -0
  158. package/schemas/session-replay/common/_common-segment-metadata-schema.json +30 -0
  159. package/schemas/session-replay/common/_slot-supported-common-record-schema.json +21 -0
  160. package/schemas/session-replay/common/focus-record-schema.json +34 -0
  161. package/schemas/session-replay/common/meta-record-schema.json +42 -0
  162. package/schemas/session-replay/common/pointer-interaction-data-schema.json +23 -0
  163. package/schemas/session-replay/common/pointer-interaction-schema.json +34 -0
  164. package/schemas/session-replay/common/segment-context-schema.json +46 -0
  165. package/schemas/session-replay/common/view-end-record-schema.json +23 -0
  166. package/schemas/session-replay/common/viewport-resize-data-schema.json +23 -0
  167. package/schemas/session-replay/common/viewport-resize-dimension-schema.json +18 -0
  168. package/schemas/session-replay/common/visual-viewport-record-schema.json +50 -0
  169. package/schemas/session-replay/full-snapshot-record-schema.json +14 -0
  170. package/schemas/session-replay/incremental-data-schema.json +14 -0
  171. package/schemas/session-replay/incremental-snapshot-record-schema.json +14 -0
  172. package/schemas/session-replay/mobile/_common-shape-wireframe-schema.json +22 -0
  173. package/schemas/session-replay/mobile/_common-shape-wireframe-update-schema.json +22 -0
  174. package/schemas/session-replay/mobile/_common-wireframe-schema.json +38 -0
  175. package/schemas/session-replay/mobile/_common-wireframe-update-schema.json +38 -0
  176. package/schemas/session-replay/mobile/full-snapshot-record-schema.json +38 -0
  177. package/schemas/session-replay/mobile/image-wireframe-schema.json +43 -0
  178. package/schemas/session-replay/mobile/image-wireframe-update-schema.json +43 -0
  179. package/schemas/session-replay/mobile/incremental-data-schema.json +21 -0
  180. package/schemas/session-replay/mobile/incremental-snapshot-record-schema.json +26 -0
  181. package/schemas/session-replay/mobile/mutation-data-schema.json +23 -0
  182. package/schemas/session-replay/mobile/mutation-payload-schema.json +55 -0
  183. package/schemas/session-replay/mobile/placeholder-wireframe-schema.json +28 -0
  184. package/schemas/session-replay/mobile/placeholder-wireframe-update-schema.json +28 -0
  185. package/schemas/session-replay/mobile/record-schema.json +27 -0
  186. package/schemas/session-replay/mobile/segment-metadata-schema.json +25 -0
  187. package/schemas/session-replay/mobile/segment-schema.json +25 -0
  188. package/schemas/session-replay/mobile/shape-border-schema.json +25 -0
  189. package/schemas/session-replay/mobile/shape-style-schema.json +29 -0
  190. package/schemas/session-replay/mobile/shape-wireframe-schema.json +23 -0
  191. package/schemas/session-replay/mobile/shape-wireframe-update-schema.json +23 -0
  192. package/schemas/session-replay/mobile/text-position-schema.json +57 -0
  193. package/schemas/session-replay/mobile/text-style-schema.json +31 -0
  194. package/schemas/session-replay/mobile/text-wireframe-schema.json +34 -0
  195. package/schemas/session-replay/mobile/text-wireframe-update-schema.json +34 -0
  196. package/schemas/session-replay/mobile/touch-data-schema.json +51 -0
  197. package/schemas/session-replay/mobile/webview-wireframe-schema.json +33 -0
  198. package/schemas/session-replay/mobile/webview-wireframe-update-schema.json +33 -0
  199. package/schemas/session-replay/mobile/wireframe-clip-schema.json +29 -0
  200. package/schemas/session-replay/mobile/wireframe-schema.json +24 -0
  201. package/schemas/session-replay/mobile/wireframe-update-mutation-schema.json +24 -0
  202. package/schemas/session-replay/mutation-data-schema.json +14 -0
  203. package/schemas/session-replay/mutation-payload-schema.json +14 -0
  204. package/schemas/session-replay/record-schema.json +14 -0
  205. package/schemas/session-replay/segment-metadata-schema.json +14 -0
  206. package/schemas/session-replay/segment-schema.json +15 -0
  207. package/schemas/session-replay-browser-schema.json +5 -0
  208. package/schemas/session-replay-mobile-schema.json +5 -0
  209. package/schemas/session-replay-schema.json +33 -0
  210. package/scripts/generate.mjs +96 -0
  211. package/scripts/utils.mjs +16 -0
  212. package/scripts/validate.mjs +144 -0
  213. package/tsconfig.cjs.json +7 -0
  214. package/tsconfig.esm.json +7 -0
  215. package/tsconfig.json +13 -0
  216. package/tsconfig.script.json +15 -0
@@ -0,0 +1,2427 @@
1
+ /**
2
+ * A topic is attached to DataFrame metadata in query results.
3
+ * This specifies where the data should be used.
4
+ */
5
+ declare enum DataTopic {
6
+ AlertStates = 'alertStates',
7
+ Annotations = 'annotations',
8
+ Series = 'series',
9
+ }
10
+ /**
11
+ * TODO docs
12
+ */
13
+ interface DataSourceJsonData {
14
+ alertmanagerUid?: string
15
+ authType?: string
16
+ defaultRegion?: string
17
+ manageAlerts?: boolean
18
+ profile?: string
19
+ }
20
+ /**
21
+ * These are the common properties available to all queries in all datasources.
22
+ * Specific implementations will *extend* this interface, adding the required
23
+ * properties for the given context.
24
+ */
25
+ interface DataQuery$1 {
26
+ /**
27
+ * For mixed data sources the selected datasource is on the query level.
28
+ * For non mixed scenarios this is undefined.
29
+ * TODO find a better way to do this ^ that's friendly to schema
30
+ * TODO this shouldn't be unknown but DataSourceRef | null
31
+ */
32
+ datasource?: unknown
33
+ /**
34
+ * If hide is set to true, Grafana will filter out the response(s) associated with this query before returning it to the panel.
35
+ */
36
+ hide?: boolean
37
+ /**
38
+ * Specify the query flavor
39
+ * TODO make this required and give it a default
40
+ */
41
+ queryType?: string
42
+ /**
43
+ * A unique identifier for the query within the list of targets.
44
+ * In server side expressions, the refId is used as a variable name to identify results.
45
+ * By default, the UI will assign A->Z; however setting meaningful names may be useful.
46
+ */
47
+ refId: string
48
+ }
49
+ interface BaseDimensionConfig$1 {
50
+ /**
51
+ * fixed: T -- will be added by each element
52
+ */
53
+ field?: string
54
+ }
55
+ declare enum ScaleDimensionMode {
56
+ Linear = 'linear',
57
+ Quad = 'quad',
58
+ }
59
+ interface ScaleDimensionConfig$1 extends BaseDimensionConfig$1 {
60
+ fixed?: number
61
+ max: number
62
+ min: number
63
+ mode?: ScaleDimensionMode
64
+ }
65
+ interface ColorDimensionConfig$1 extends BaseDimensionConfig$1 {
66
+ fixed?: string
67
+ }
68
+ declare enum ScalarDimensionMode {
69
+ Clamped = 'clamped',
70
+ Mod = 'mod',
71
+ }
72
+ interface ScalarDimensionConfig$1 extends BaseDimensionConfig$1 {
73
+ fixed?: number
74
+ max: number
75
+ min: number
76
+ mode?: ScalarDimensionMode
77
+ }
78
+ declare enum TextDimensionMode {
79
+ Field = 'field',
80
+ Fixed = 'fixed',
81
+ Template = 'template',
82
+ }
83
+ interface TextDimensionConfig$1 extends BaseDimensionConfig$1 {
84
+ fixed?: string
85
+ mode: TextDimensionMode
86
+ }
87
+ declare enum ResourceDimensionMode {
88
+ Field = 'field',
89
+ Fixed = 'fixed',
90
+ Mapping = 'mapping',
91
+ }
92
+ interface MapLayerOptions$1 {
93
+ /**
94
+ * Custom options depending on the type
95
+ */
96
+ config?: unknown
97
+ /**
98
+ * Defines a frame MatcherConfig that may filter data for the given layer
99
+ */
100
+ filterData?: unknown
101
+ /**
102
+ * Common method to define geometry fields
103
+ */
104
+ location?: FrameGeometrySource
105
+ /**
106
+ * configured unique display name
107
+ */
108
+ name: string
109
+ /**
110
+ * Common properties:
111
+ * https://openlayers.org/en/latest/apidoc/module-ol_layer_Base-BaseLayer.html
112
+ * Layer opacity (0-1)
113
+ */
114
+ opacity?: number
115
+ /**
116
+ * Check tooltip (defaults to true)
117
+ */
118
+ tooltip?: boolean
119
+ type: string
120
+ }
121
+ declare enum FrameGeometrySourceMode {
122
+ Auto = 'auto',
123
+ Coords = 'coords',
124
+ Geohash = 'geohash',
125
+ Lookup = 'lookup',
126
+ }
127
+ declare enum HeatmapCalculationMode {
128
+ Count = 'count',
129
+ Size = 'size',
130
+ }
131
+ declare enum HeatmapCellLayout {
132
+ auto = 'auto',
133
+ ge = 'ge',
134
+ le = 'le',
135
+ unknown = 'unknown',
136
+ }
137
+ interface HeatmapCalculationBucketConfig {
138
+ /**
139
+ * Sets the bucket calculation mode
140
+ */
141
+ mode?: HeatmapCalculationMode
142
+ /**
143
+ * Controls the scale of the buckets
144
+ */
145
+ scale?: ScaleDistributionConfig
146
+ /**
147
+ * The number of buckets to use for the axis in the heatmap
148
+ */
149
+ value?: string
150
+ }
151
+ declare enum LogsSortOrder {
152
+ Ascending = 'Ascending',
153
+ Descending = 'Descending',
154
+ }
155
+ /**
156
+ * TODO docs
157
+ */
158
+ declare enum AxisPlacement {
159
+ Auto = 'auto',
160
+ Bottom = 'bottom',
161
+ Hidden = 'hidden',
162
+ Left = 'left',
163
+ Right = 'right',
164
+ Top = 'top',
165
+ }
166
+ /**
167
+ * TODO docs
168
+ */
169
+ declare enum AxisColorMode {
170
+ Series = 'series',
171
+ Text = 'text',
172
+ }
173
+ /**
174
+ * TODO docs
175
+ */
176
+ declare enum VisibilityMode {
177
+ Always = 'always',
178
+ Auto = 'auto',
179
+ Never = 'never',
180
+ }
181
+ /**
182
+ * TODO docs
183
+ */
184
+ declare enum GraphDrawStyle {
185
+ Bars = 'bars',
186
+ Line = 'line',
187
+ Points = 'points',
188
+ }
189
+ /**
190
+ * TODO docs
191
+ */
192
+ declare enum GraphTransform {
193
+ Constant = 'constant',
194
+ NegativeY = 'negative-Y',
195
+ }
196
+ /**
197
+ * TODO docs
198
+ */
199
+ declare enum LineInterpolation {
200
+ Linear = 'linear',
201
+ Smooth = 'smooth',
202
+ StepAfter = 'stepAfter',
203
+ StepBefore = 'stepBefore',
204
+ }
205
+ /**
206
+ * TODO docs
207
+ */
208
+ declare enum ScaleDistribution {
209
+ Linear = 'linear',
210
+ Log = 'log',
211
+ Ordinal = 'ordinal',
212
+ Symlog = 'symlog',
213
+ }
214
+ /**
215
+ * TODO docs
216
+ */
217
+ declare enum GraphGradientMode {
218
+ Hue = 'hue',
219
+ None = 'none',
220
+ Opacity = 'opacity',
221
+ Scheme = 'scheme',
222
+ }
223
+ /**
224
+ * TODO docs
225
+ */
226
+ declare enum StackingMode {
227
+ None = 'none',
228
+ Normal = 'normal',
229
+ Percent = 'percent',
230
+ }
231
+ /**
232
+ * TODO docs
233
+ */
234
+ declare enum BarAlignment {
235
+ After = 1,
236
+ Before = -1,
237
+ Center = 0,
238
+ }
239
+ /**
240
+ * TODO docs
241
+ */
242
+ declare enum ScaleOrientation {
243
+ Horizontal = 0,
244
+ Vertical = 1,
245
+ }
246
+ /**
247
+ * TODO docs
248
+ */
249
+ declare enum ScaleDirection {
250
+ Down = -1,
251
+ Left = -1,
252
+ Right = 1,
253
+ Up = 1,
254
+ }
255
+ /**
256
+ * TODO docs
257
+ */
258
+ interface LineStyle {
259
+ dash?: Array<number>
260
+ fill?: 'solid' | 'dash' | 'dot' | 'square'
261
+ }
262
+ declare const defaultLineStyle: Partial<LineStyle>
263
+ /**
264
+ * TODO docs
265
+ */
266
+ interface LineConfig {
267
+ lineColor?: string
268
+ lineInterpolation?: LineInterpolation
269
+ lineStyle?: LineStyle
270
+ lineWidth?: number
271
+ /**
272
+ * Indicate if null values should be treated as gaps or connected.
273
+ * When the value is a number, it represents the maximum delta in the
274
+ * X axis that should be considered connected. For timeseries, this is milliseconds
275
+ */
276
+ spanNulls?: boolean | number
277
+ }
278
+ /**
279
+ * TODO docs
280
+ */
281
+ interface BarConfig {
282
+ barAlignment?: BarAlignment
283
+ barMaxWidth?: number
284
+ barWidthFactor?: number
285
+ }
286
+ /**
287
+ * TODO docs
288
+ */
289
+ interface FillConfig {
290
+ fillBelowTo?: string
291
+ fillColor?: string
292
+ fillOpacity?: number
293
+ }
294
+ /**
295
+ * TODO docs
296
+ */
297
+ interface PointsConfig {
298
+ pointColor?: string
299
+ pointSize?: number
300
+ pointSymbol?: string
301
+ showPoints?: VisibilityMode
302
+ }
303
+ /**
304
+ * TODO docs
305
+ */
306
+ interface ScaleDistributionConfig {
307
+ linearThreshold?: number
308
+ log?: number
309
+ type: ScaleDistribution
310
+ }
311
+ /**
312
+ * TODO docs
313
+ */
314
+ interface AxisConfig {
315
+ axisBorderShow?: boolean
316
+ axisCenteredZero?: boolean
317
+ axisColorMode?: AxisColorMode
318
+ axisGridShow?: boolean
319
+ axisLabel?: string
320
+ axisPlacement?: AxisPlacement
321
+ axisSoftMax?: number
322
+ axisSoftMin?: number
323
+ axisWidth?: number
324
+ scaleDistribution?: ScaleDistributionConfig
325
+ }
326
+ /**
327
+ * TODO docs
328
+ */
329
+ interface HideSeriesConfig {
330
+ legend: boolean
331
+ tooltip: boolean
332
+ viz: boolean
333
+ }
334
+ /**
335
+ * TODO docs
336
+ */
337
+ interface StackingConfig {
338
+ group?: string
339
+ mode?: StackingMode
340
+ }
341
+ /**
342
+ * TODO docs
343
+ */
344
+ interface StackableFieldConfig {
345
+ stacking?: StackingConfig
346
+ }
347
+ /**
348
+ * TODO docs
349
+ */
350
+ interface HideableFieldConfig {
351
+ hideFrom?: HideSeriesConfig
352
+ }
353
+ /**
354
+ * TODO docs
355
+ */
356
+ declare enum GraphThresholdsStyleMode {
357
+ Area = 'area',
358
+ Dashed = 'dashed',
359
+ DashedAndArea = 'dashed+area',
360
+ Line = 'line',
361
+ LineAndArea = 'line+area',
362
+ Off = 'off',
363
+ Series = 'series',
364
+ }
365
+ /**
366
+ * TODO docs
367
+ */
368
+ interface GraphThresholdsStyleConfig {
369
+ mode: GraphThresholdsStyleMode
370
+ }
371
+ /**
372
+ * TODO docs
373
+ */
374
+ type LegendPlacement = 'bottom' | 'right'
375
+ /**
376
+ * TODO docs
377
+ * Note: "hidden" needs to remain as an option for plugins compatibility
378
+ */
379
+ declare enum LegendDisplayMode {
380
+ Hidden = 'hidden',
381
+ List = 'list',
382
+ Table = 'table',
383
+ }
384
+ /**
385
+ * TODO docs
386
+ */
387
+ interface SingleStatBaseOptions extends OptionsWithTextFormatting {
388
+ orientation: VizOrientation
389
+ reduceOptions: ReduceDataOptions
390
+ }
391
+ /**
392
+ * TODO docs
393
+ */
394
+ interface ReduceDataOptions {
395
+ /**
396
+ * When !values, pick one value for the whole field
397
+ */
398
+ calcs: Array<string>
399
+ /**
400
+ * Which fields to show. By default this is only numeric fields
401
+ */
402
+ fields?: string
403
+ /**
404
+ * if showing all values limit
405
+ */
406
+ limit?: number
407
+ /**
408
+ * If true show each row value
409
+ */
410
+ values?: boolean
411
+ }
412
+ declare const defaultReduceDataOptions: Partial<ReduceDataOptions>
413
+ /**
414
+ * TODO docs
415
+ */
416
+ declare enum VizOrientation {
417
+ Auto = 'auto',
418
+ Horizontal = 'horizontal',
419
+ Vertical = 'vertical',
420
+ }
421
+ /**
422
+ * TODO docs
423
+ */
424
+ interface OptionsWithTooltip {
425
+ tooltip: VizTooltipOptions
426
+ }
427
+ /**
428
+ * TODO docs
429
+ */
430
+ interface OptionsWithLegend {
431
+ legend: VizLegendOptions
432
+ }
433
+ /**
434
+ * TODO docs
435
+ */
436
+ interface OptionsWithTimezones {
437
+ timezone?: Array<TimeZone>
438
+ }
439
+ declare const defaultOptionsWithTimezones: Partial<OptionsWithTimezones>
440
+ /**
441
+ * TODO docs
442
+ */
443
+ interface OptionsWithTextFormatting {
444
+ text?: VizTextDisplayOptions
445
+ }
446
+ /**
447
+ * TODO docs
448
+ */
449
+ declare enum BigValueColorMode {
450
+ Background = 'background',
451
+ BackgroundSolid = 'background_solid',
452
+ None = 'none',
453
+ Value = 'value',
454
+ }
455
+ /**
456
+ * TODO docs
457
+ */
458
+ declare enum BigValueGraphMode {
459
+ Area = 'area',
460
+ Line = 'line',
461
+ None = 'none',
462
+ }
463
+ /**
464
+ * TODO docs
465
+ */
466
+ declare enum BigValueJustifyMode {
467
+ Auto = 'auto',
468
+ Center = 'center',
469
+ }
470
+ /**
471
+ * TODO docs
472
+ */
473
+ declare enum BigValueTextMode {
474
+ Auto = 'auto',
475
+ Name = 'name',
476
+ None = 'none',
477
+ Value = 'value',
478
+ ValueAndName = 'value_and_name',
479
+ }
480
+ /**
481
+ * TODO docs
482
+ */
483
+ declare enum PercentChangeColorMode {
484
+ Inverted = 'inverted',
485
+ SameAsValue = 'same_as_value',
486
+ Standard = 'standard',
487
+ }
488
+ /**
489
+ * TODO -- should not be table specific!
490
+ * TODO docs
491
+ */
492
+ type FieldTextAlignment = 'auto' | 'left' | 'right' | 'center'
493
+ /**
494
+ * Controls the value alignment in the TimelineChart component
495
+ */
496
+ type TimelineValueAlignment = 'center' | 'left' | 'right'
497
+ /**
498
+ * TODO docs
499
+ */
500
+ interface VizTextDisplayOptions {
501
+ /**
502
+ * Explicit title text size
503
+ */
504
+ titleSize?: number
505
+ /**
506
+ * Explicit value text size
507
+ */
508
+ valueSize?: number
509
+ }
510
+ /**
511
+ * TODO docs
512
+ */
513
+ declare enum TooltipDisplayMode {
514
+ Multi = 'multi',
515
+ None = 'none',
516
+ Single = 'single',
517
+ }
518
+ /**
519
+ * TODO docs
520
+ */
521
+ declare enum SortOrder {
522
+ Ascending = 'asc',
523
+ Descending = 'desc',
524
+ None = 'none',
525
+ }
526
+ /**
527
+ * TODO docs
528
+ */
529
+ interface GraphFieldConfig
530
+ extends LineConfig,
531
+ FillConfig,
532
+ PointsConfig,
533
+ AxisConfig,
534
+ BarConfig,
535
+ StackableFieldConfig,
536
+ HideableFieldConfig {
537
+ drawStyle?: GraphDrawStyle
538
+ gradientMode?: GraphGradientMode
539
+ insertNulls?: boolean | number
540
+ thresholdsStyle?: GraphThresholdsStyleConfig
541
+ transform?: GraphTransform
542
+ }
543
+ /**
544
+ * TODO docs
545
+ */
546
+ interface VizLegendOptions {
547
+ asTable?: boolean
548
+ calcs: Array<string>
549
+ displayMode: LegendDisplayMode
550
+ isVisible?: boolean
551
+ placement: LegendPlacement
552
+ showLegend: boolean
553
+ sortBy?: string
554
+ sortDesc?: boolean
555
+ width?: number
556
+ }
557
+ declare const defaultVizLegendOptions: Partial<VizLegendOptions>
558
+ /**
559
+ * Enum expressing the possible display modes
560
+ * for the bar gauge component of Grafana UI
561
+ */
562
+ declare enum BarGaugeDisplayMode {
563
+ Basic = 'basic',
564
+ Gradient = 'gradient',
565
+ Lcd = 'lcd',
566
+ }
567
+ /**
568
+ * Allows for the table cell gauge display type to set the gauge mode.
569
+ */
570
+ declare enum BarGaugeValueMode {
571
+ Color = 'color',
572
+ Hidden = 'hidden',
573
+ Text = 'text',
574
+ }
575
+ /**
576
+ * Allows for the bar gauge name to be placed explicitly
577
+ */
578
+ declare enum BarGaugeNamePlacement {
579
+ Auto = 'auto',
580
+ Left = 'left',
581
+ Top = 'top',
582
+ }
583
+ /**
584
+ * Allows for the bar gauge size to be set explicitly
585
+ */
586
+ declare enum BarGaugeSizing {
587
+ Auto = 'auto',
588
+ Manual = 'manual',
589
+ }
590
+ /**
591
+ * TODO docs
592
+ */
593
+ interface VizTooltipOptions {
594
+ maxHeight?: number
595
+ maxWidth?: number
596
+ mode: TooltipDisplayMode
597
+ sort: SortOrder
598
+ }
599
+ interface Labels {}
600
+ /**
601
+ * Internally, this is the "type" of cell that's being displayed
602
+ * in the table such as colored text, JSON, gauge, etc.
603
+ * The color-background-solid, gradient-gauge, and lcd-gauge
604
+ * modes are deprecated in favor of new cell subOptions
605
+ */
606
+ declare enum TableCellDisplayMode {
607
+ Auto = 'auto',
608
+ BasicGauge = 'basic',
609
+ ColorBackground = 'color-background',
610
+ ColorBackgroundSolid = 'color-background-solid',
611
+ ColorText = 'color-text',
612
+ Custom = 'custom',
613
+ DataLinks = 'data-links',
614
+ Gauge = 'gauge',
615
+ GradientGauge = 'gradient-gauge',
616
+ Image = 'image',
617
+ JSONView = 'json-view',
618
+ LcdGauge = 'lcd-gauge',
619
+ Sparkline = 'sparkline',
620
+ }
621
+ /**
622
+ * Display mode to the "Colored Background" display
623
+ * mode for table cells. Either displays a solid color (basic mode)
624
+ * or a gradient.
625
+ */
626
+ declare enum TableCellBackgroundDisplayMode {
627
+ Basic = 'basic',
628
+ Gradient = 'gradient',
629
+ }
630
+ /**
631
+ * Sort by field state
632
+ */
633
+ interface TableSortByFieldState {
634
+ /**
635
+ * Flag used to indicate descending sort order
636
+ */
637
+ desc?: boolean
638
+ /**
639
+ * Sets the display name of the field to sort by
640
+ */
641
+ displayName: string
642
+ }
643
+ /**
644
+ * Footer options
645
+ */
646
+ interface TableFooterOptions {
647
+ countRows?: boolean
648
+ enablePagination?: boolean
649
+ fields?: Array<string>
650
+ reducer: Array<string>
651
+ show: boolean
652
+ }
653
+ declare const defaultTableFooterOptions: Partial<TableFooterOptions>
654
+ /**
655
+ * Auto mode table cell options
656
+ */
657
+ interface TableAutoCellOptions {
658
+ type: TableCellDisplayMode.Auto
659
+ wrapText?: boolean
660
+ }
661
+ /**
662
+ * Colored text cell options
663
+ */
664
+ interface TableColorTextCellOptions {
665
+ type: TableCellDisplayMode.ColorText
666
+ wrapText?: boolean
667
+ }
668
+ /**
669
+ * Json view cell options
670
+ */
671
+ interface TableJsonViewCellOptions {
672
+ type: TableCellDisplayMode.JSONView
673
+ }
674
+ /**
675
+ * Json view cell options
676
+ */
677
+ interface TableImageCellOptions {
678
+ alt?: string
679
+ title?: string
680
+ type: TableCellDisplayMode.Image
681
+ }
682
+ /**
683
+ * Show data links in the cell
684
+ */
685
+ interface TableDataLinksCellOptions {
686
+ type: TableCellDisplayMode.DataLinks
687
+ }
688
+ /**
689
+ * Gauge cell options
690
+ */
691
+ interface TableBarGaugeCellOptions {
692
+ mode?: BarGaugeDisplayMode
693
+ type: TableCellDisplayMode.Gauge
694
+ valueDisplayMode?: BarGaugeValueMode
695
+ }
696
+ /**
697
+ * Sparkline cell options
698
+ */
699
+ interface TableSparklineCellOptions extends GraphFieldConfig {
700
+ hideValue?: boolean
701
+ type: TableCellDisplayMode.Sparkline
702
+ }
703
+ /**
704
+ * Colored background cell options
705
+ */
706
+ interface TableColoredBackgroundCellOptions {
707
+ applyToRow?: boolean
708
+ mode?: TableCellBackgroundDisplayMode
709
+ type: TableCellDisplayMode.ColorBackground
710
+ wrapText?: boolean
711
+ }
712
+ /**
713
+ * Height of a table cell
714
+ */
715
+ declare enum TableCellHeight {
716
+ Auto = 'auto',
717
+ Lg = 'lg',
718
+ Md = 'md',
719
+ Sm = 'sm',
720
+ }
721
+ /**
722
+ * Table cell options. Each cell has a display mode
723
+ * and other potential options for that display.
724
+ */
725
+ type TableCellOptions =
726
+ | TableAutoCellOptions
727
+ | TableSparklineCellOptions
728
+ | TableBarGaugeCellOptions
729
+ | TableColoredBackgroundCellOptions
730
+ | TableColorTextCellOptions
731
+ | TableImageCellOptions
732
+ | TableDataLinksCellOptions
733
+ | TableJsonViewCellOptions
734
+ /**
735
+ * Use UTC/GMT timezone
736
+ */
737
+ type TimeZoneUtc = 'utc'
738
+ /**
739
+ * Use the timezone defined by end user web browser
740
+ */
741
+ type TimeZoneBrowser = 'browser'
742
+ /**
743
+ * Optional formats for the template variable replace functions
744
+ * See also https://grafana.com/docs/grafana/latest/dashboards/variables/variable-syntax/#advanced-variable-format-options
745
+ */
746
+ declare enum VariableFormatID {
747
+ CSV = 'csv',
748
+ Date = 'date',
749
+ Distributed = 'distributed',
750
+ DoubleQuote = 'doublequote',
751
+ Glob = 'glob',
752
+ HTML = 'html',
753
+ JSON = 'json',
754
+ Lucene = 'lucene',
755
+ PercentEncode = 'percentencode',
756
+ Pipe = 'pipe',
757
+ QueryParam = 'queryparam',
758
+ Raw = 'raw',
759
+ Regex = 'regex',
760
+ SQLString = 'sqlstring',
761
+ SingleQuote = 'singlequote',
762
+ Text = 'text',
763
+ UriEncode = 'uriencode',
764
+ }
765
+ interface DataSourceRef$1 {
766
+ /**
767
+ * Datasource API version
768
+ */
769
+ apiVersion?: string
770
+ /**
771
+ * The plugin type-id
772
+ */
773
+ type?: string
774
+ /**
775
+ * Specific datasource instance
776
+ */
777
+ uid?: string
778
+ }
779
+ /**
780
+ * Links to a resource (image/svg path)
781
+ */
782
+ interface ResourceDimensionConfig$1 extends BaseDimensionConfig$1 {
783
+ fixed?: string
784
+ mode: ResourceDimensionMode
785
+ }
786
+ interface FrameGeometrySource {
787
+ /**
788
+ * Path to Gazetteer
789
+ */
790
+ gazetteer?: string
791
+ /**
792
+ * Field mappings
793
+ */
794
+ geohash?: string
795
+ latitude?: string
796
+ longitude?: string
797
+ lookup?: string
798
+ mode: FrameGeometrySourceMode
799
+ wkt?: string
800
+ }
801
+ interface HeatmapCalculationOptions {
802
+ /**
803
+ * The number of buckets to use for the xAxis in the heatmap
804
+ */
805
+ xBuckets?: HeatmapCalculationBucketConfig
806
+ /**
807
+ * The number of buckets to use for the yAxis in the heatmap
808
+ */
809
+ yBuckets?: HeatmapCalculationBucketConfig
810
+ }
811
+ declare enum LogsDedupStrategy {
812
+ exact = 'exact',
813
+ none = 'none',
814
+ numbers = 'numbers',
815
+ signature = 'signature',
816
+ }
817
+ /**
818
+ * Compare two values
819
+ */
820
+ declare enum ComparisonOperation {
821
+ EQ = 'eq',
822
+ GT = 'gt',
823
+ GTE = 'gte',
824
+ LT = 'lt',
825
+ LTE = 'lte',
826
+ NEQ = 'neq',
827
+ }
828
+ /**
829
+ * Field options for each field within a table (e.g 10, "The String", 64.20, etc.)
830
+ * Generally defines alignment, filtering capabilties, display options, etc.
831
+ */
832
+ interface TableFieldOptions {
833
+ align: FieldTextAlignment
834
+ cellOptions: TableCellOptions
835
+ /**
836
+ * This field is deprecated in favor of using cellOptions
837
+ */
838
+ displayMode?: TableCellDisplayMode
839
+ filterable?: boolean
840
+ hidden?: boolean
841
+ /**
842
+ * Hides any header for a column, useful for columns that show some static content or buttons.
843
+ */
844
+ hideHeader?: boolean
845
+ inspect: boolean
846
+ minWidth?: number
847
+ width?: number
848
+ }
849
+ /**
850
+ * A specific timezone from https://en.wikipedia.org/wiki/Tz_database
851
+ */
852
+ type TimeZone = TimeZoneUtc | TimeZoneBrowser | string
853
+ declare const defaultTimeZone: TimeZone
854
+
855
+ /**
856
+ * TODO: this should be a regular DataQuery that depends on the selected dashboard
857
+ * these match the properties of the "grafana" datasouce that is default in most dashboards
858
+ */
859
+ interface AnnotationTarget {
860
+ /**
861
+ * Only required/valid for the grafana datasource...
862
+ * but code+tests is already depending on it so hard to change
863
+ */
864
+ limit: number
865
+ /**
866
+ * Only required/valid for the grafana datasource...
867
+ * but code+tests is already depending on it so hard to change
868
+ */
869
+ matchAny: boolean
870
+ /**
871
+ * Only required/valid for the grafana datasource...
872
+ * but code+tests is already depending on it so hard to change
873
+ */
874
+ tags: Array<string>
875
+ /**
876
+ * Only required/valid for the grafana datasource...
877
+ * but code+tests is already depending on it so hard to change
878
+ */
879
+ type: string
880
+ }
881
+ declare const defaultAnnotationTarget: Partial<AnnotationTarget>
882
+ interface AnnotationPanelFilter {
883
+ /**
884
+ * Should the specified panels be included or excluded
885
+ */
886
+ exclude?: boolean
887
+ /**
888
+ * Panel IDs that should be included or excluded
889
+ */
890
+ ids: Array<number>
891
+ }
892
+ declare const defaultAnnotationPanelFilter: Partial<AnnotationPanelFilter>
893
+ /**
894
+ * Contains the list of annotations that are associated with the dashboard.
895
+ * Annotations are used to overlay event markers and overlay event tags on graphs.
896
+ * Grafana comes with a native annotation store and the ability to add annotation events directly from the graph panel or via the HTTP API.
897
+ * See https://grafana.com/docs/grafana/latest/dashboards/build-dashboards/annotate-visualizations/
898
+ */
899
+ interface AnnotationContainer$1 {
900
+ /**
901
+ * List of annotations
902
+ */
903
+ list?: Array<AnnotationQuery$1>
904
+ }
905
+ /**
906
+ * TODO docs
907
+ * FROM: AnnotationQuery in grafana-data/src/types/annotations.ts
908
+ */
909
+ interface AnnotationQuery$1 {
910
+ /**
911
+ * Set to 1 for the standard annotation query all dashboards have by default.
912
+ */
913
+ builtIn?: number
914
+ /**
915
+ * Datasource where the annotations data is
916
+ */
917
+ datasource: DataSourceRef
918
+ /**
919
+ * When enabled the annotation query is issued with every dashboard refresh
920
+ */
921
+ enable: boolean
922
+ /**
923
+ * Filters to apply when fetching annotations
924
+ */
925
+ filter?: AnnotationPanelFilter
926
+ /**
927
+ * Annotation queries can be toggled on or off at the top of the dashboard.
928
+ * When hide is true, the toggle is not shown in the dashboard.
929
+ */
930
+ hide?: boolean
931
+ /**
932
+ * Color to use for the annotation event markers
933
+ */
934
+ iconColor: string
935
+ /**
936
+ * Name of annotation.
937
+ */
938
+ name: string
939
+ /**
940
+ * TODO.. this should just be a normal query target
941
+ */
942
+ target?: AnnotationTarget
943
+ /**
944
+ * TODO -- this should not exist here, it is based on the --grafana-- datasource
945
+ */
946
+ type?: string
947
+ }
948
+ /**
949
+ * A variable is a placeholder for a value. You can use variables in metric queries and in panel titles.
950
+ */
951
+ interface VariableModel$1 {
952
+ /**
953
+ * Custom all value
954
+ */
955
+ allValue?: string
956
+ /**
957
+ * Shows current selected variable text/value on the dashboard
958
+ */
959
+ current?: VariableOption
960
+ /**
961
+ * Data source used to fetch values for a variable. It can be defined but `null`.
962
+ */
963
+ datasource?: DataSourceRef
964
+ /**
965
+ * Description of variable. It can be defined but `null`.
966
+ */
967
+ description?: string
968
+ /**
969
+ * Visibility configuration for the variable
970
+ */
971
+ hide?: VariableHide$1
972
+ /**
973
+ * Whether all value option is available or not
974
+ */
975
+ includeAll?: boolean
976
+ /**
977
+ * Optional display name
978
+ */
979
+ label?: string
980
+ /**
981
+ * Whether multiple values can be selected or not from variable value list
982
+ */
983
+ multi?: boolean
984
+ /**
985
+ * Name of variable
986
+ */
987
+ name: string
988
+ /**
989
+ * Options that can be selected for a variable.
990
+ */
991
+ options?: Array<VariableOption>
992
+ /**
993
+ * Query used to fetch values for a variable
994
+ */
995
+ query?: string | Record<string, unknown>
996
+ /**
997
+ * Options to config when to refresh a variable
998
+ */
999
+ refresh?: VariableRefresh
1000
+ /**
1001
+ * Optional field, if you want to extract part of a series name or metric node segment.
1002
+ * Named capture groups can be used to separate the display text and value.
1003
+ */
1004
+ regex?: string
1005
+ /**
1006
+ * Whether the variable value should be managed by URL query params or not
1007
+ */
1008
+ skipUrlSync?: boolean
1009
+ /**
1010
+ * Options sort order
1011
+ */
1012
+ sort?: VariableSort
1013
+ /**
1014
+ * Type of variable
1015
+ */
1016
+ type: VariableType
1017
+ }
1018
+ /**
1019
+ * Option to be selected in a variable.
1020
+ */
1021
+ interface VariableOption {
1022
+ /**
1023
+ * Whether the option is selected or not
1024
+ */
1025
+ selected?: boolean
1026
+ /**
1027
+ * Text to be displayed for the option
1028
+ */
1029
+ text: string | Array<string>
1030
+ /**
1031
+ * Value of the option
1032
+ */
1033
+ value: string | Array<string>
1034
+ }
1035
+ /**
1036
+ * Options to config when to refresh a variable
1037
+ * `0`: Never refresh the variable
1038
+ * `1`: Queries the data source every time the dashboard loads.
1039
+ * `2`: Queries the data source when the dashboard time range changes.
1040
+ */
1041
+ declare enum VariableRefresh {
1042
+ never = 0,
1043
+ onDashboardLoad = 1,
1044
+ onTimeRangeChanged = 2,
1045
+ }
1046
+ /**
1047
+ * Determine if the variable shows on dashboard
1048
+ * Accepted values are 0 (show label and value), 1 (show value only), 2 (show nothing).
1049
+ */
1050
+ declare enum VariableHide$1 {
1051
+ dontHide = 0,
1052
+ hideLabel = 1,
1053
+ hideVariable = 2,
1054
+ }
1055
+ /**
1056
+ * Sort variable options
1057
+ * Accepted values are:
1058
+ * `0`: No sorting
1059
+ * `1`: Alphabetical ASC
1060
+ * `2`: Alphabetical DESC
1061
+ * `3`: Numerical ASC
1062
+ * `4`: Numerical DESC
1063
+ * `5`: Alphabetical Case Insensitive ASC
1064
+ * `6`: Alphabetical Case Insensitive DESC
1065
+ * `7`: Natural ASC
1066
+ * `8`: Natural DESC
1067
+ */
1068
+ declare enum VariableSort {
1069
+ alphabeticalAsc = 1,
1070
+ alphabeticalCaseInsensitiveAsc = 5,
1071
+ alphabeticalCaseInsensitiveDesc = 6,
1072
+ alphabeticalDesc = 2,
1073
+ disabled = 0,
1074
+ naturalAsc = 7,
1075
+ naturalDesc = 8,
1076
+ numericalAsc = 3,
1077
+ numericalDesc = 4,
1078
+ }
1079
+ /**
1080
+ * Ref to a DataSource instance
1081
+ */
1082
+ interface DataSourceRef {
1083
+ /**
1084
+ * The plugin type-id
1085
+ */
1086
+ type?: string
1087
+ /**
1088
+ * Specific datasource instance
1089
+ */
1090
+ uid?: string
1091
+ }
1092
+ /**
1093
+ * Links with references to other dashboards or external resources
1094
+ */
1095
+ interface DashboardLink {
1096
+ /**
1097
+ * If true, all dashboards links will be displayed in a dropdown. If false, all dashboards links will be displayed side by side. Only valid if the type is dashboards
1098
+ */
1099
+ asDropdown: boolean
1100
+ /**
1101
+ * Icon name to be displayed with the link
1102
+ */
1103
+ icon: string
1104
+ /**
1105
+ * If true, includes current template variables values in the link as query params
1106
+ */
1107
+ includeVars: boolean
1108
+ /**
1109
+ * If true, includes current time range in the link as query params
1110
+ */
1111
+ keepTime: boolean
1112
+ /**
1113
+ * List of tags to limit the linked dashboards. If empty, all dashboards will be displayed. Only valid if the type is dashboards
1114
+ */
1115
+ tags: Array<string>
1116
+ /**
1117
+ * If true, the link will be opened in a new tab
1118
+ */
1119
+ targetBlank: boolean
1120
+ /**
1121
+ * Title to display with the link
1122
+ */
1123
+ title: string
1124
+ /**
1125
+ * Tooltip to display when the user hovers their mouse over it
1126
+ */
1127
+ tooltip: string
1128
+ /**
1129
+ * Link type. Accepted values are dashboards (to refer to another dashboard) and link (to refer to an external resource)
1130
+ */
1131
+ type: DashboardLinkType
1132
+ /**
1133
+ * Link URL. Only required/valid if the type is link
1134
+ */
1135
+ url?: string
1136
+ }
1137
+ declare const defaultDashboardLink: Partial<DashboardLink>
1138
+ /**
1139
+ * Dashboard Link type. Accepted values are dashboards (to refer to another dashboard) and link (to refer to an external resource)
1140
+ */
1141
+ type DashboardLinkType = 'link' | 'dashboards'
1142
+ /**
1143
+ * Dashboard variable type
1144
+ * `query`: Query-generated list of values such as metric names, server names, sensor IDs, data centers, and so on.
1145
+ * `adhoc`: Key/value filters that are automatically added to all metric queries for a data source (Prometheus, Loki, InfluxDB, and Elasticsearch only).
1146
+ * `constant`: Define a hidden constant.
1147
+ * `datasource`: Quickly change the data source for an entire dashboard.
1148
+ * `interval`: Interval variables represent time spans.
1149
+ * `textbox`: Display a free text input field with an optional default value.
1150
+ * `custom`: Define the variable options manually using a comma-separated list.
1151
+ * `system`: Variables defined by Grafana. See: https://grafana.com/docs/grafana/latest/dashboards/variables/add-template-variables/#global-variables
1152
+ */
1153
+ type VariableType =
1154
+ | 'query'
1155
+ | 'adhoc'
1156
+ | 'groupby'
1157
+ | 'constant'
1158
+ | 'datasource'
1159
+ | 'interval'
1160
+ | 'textbox'
1161
+ | 'custom'
1162
+ | 'system'
1163
+ /**
1164
+ * Color mode for a field. You can specify a single color, or select a continuous (gradient) color schemes, based on a value.
1165
+ * Continuous color interpolates a color using the percentage of a value relative to min and max.
1166
+ * Accepted values are:
1167
+ * `thresholds`: From thresholds. Informs Grafana to take the color from the matching threshold
1168
+ * `palette-classic`: Classic palette. Grafana will assign color by looking up a color in a palette by series index. Useful for Graphs and pie charts and other categorical data visualizations
1169
+ * `palette-classic-by-name`: Classic palette (by name). Grafana will assign color by looking up a color in a palette by series name. Useful for Graphs and pie charts and other categorical data visualizations
1170
+ * `continuous-GrYlRd`: ontinuous Green-Yellow-Red palette mode
1171
+ * `continuous-RdYlGr`: Continuous Red-Yellow-Green palette mode
1172
+ * `continuous-BlYlRd`: Continuous Blue-Yellow-Red palette mode
1173
+ * `continuous-YlRd`: Continuous Yellow-Red palette mode
1174
+ * `continuous-BlPu`: Continuous Blue-Purple palette mode
1175
+ * `continuous-YlBl`: Continuous Yellow-Blue palette mode
1176
+ * `continuous-blues`: Continuous Blue palette mode
1177
+ * `continuous-reds`: Continuous Red palette mode
1178
+ * `continuous-greens`: Continuous Green palette mode
1179
+ * `continuous-purples`: Continuous Purple palette mode
1180
+ * `shades`: Shades of a single color. Specify a single color, useful in an override rule.
1181
+ * `fixed`: Fixed color mode. Specify a single color, useful in an override rule.
1182
+ */
1183
+ declare enum FieldColorModeId {
1184
+ ContinuousBlPu = 'continuous-BlPu',
1185
+ ContinuousBlYlRd = 'continuous-BlYlRd',
1186
+ ContinuousBlues = 'continuous-blues',
1187
+ ContinuousGrYlRd = 'continuous-GrYlRd',
1188
+ ContinuousGreens = 'continuous-greens',
1189
+ ContinuousPurples = 'continuous-purples',
1190
+ ContinuousRdYlGr = 'continuous-RdYlGr',
1191
+ ContinuousReds = 'continuous-reds',
1192
+ ContinuousYlBl = 'continuous-YlBl',
1193
+ ContinuousYlRd = 'continuous-YlRd',
1194
+ Fixed = 'fixed',
1195
+ PaletteClassic = 'palette-classic',
1196
+ PaletteClassicByName = 'palette-classic-by-name',
1197
+ Shades = 'shades',
1198
+ Thresholds = 'thresholds',
1199
+ }
1200
+ /**
1201
+ * Defines how to assign a series color from "by value" color schemes. For example for an aggregated data points like a timeseries, the color can be assigned by the min, max or last value.
1202
+ */
1203
+ type FieldColorSeriesByMode = 'min' | 'max' | 'last'
1204
+ /**
1205
+ * Map a field to a color.
1206
+ */
1207
+ interface FieldColor {
1208
+ /**
1209
+ * The fixed color value for fixed or shades color modes.
1210
+ */
1211
+ fixedColor?: string
1212
+ /**
1213
+ * The main color scheme mode.
1214
+ */
1215
+ mode: FieldColorModeId
1216
+ /**
1217
+ * Some visualizations need to know how to assign a series color from by value color schemes.
1218
+ */
1219
+ seriesBy?: FieldColorSeriesByMode
1220
+ }
1221
+ /**
1222
+ * Position and dimensions of a panel in the grid
1223
+ */
1224
+ interface GridPos {
1225
+ /**
1226
+ * Panel height. The height is the number of rows from the top edge of the panel.
1227
+ */
1228
+ h: number
1229
+ /**
1230
+ * Whether the panel is fixed within the grid. If true, the panel will not be affected by other panels' interactions
1231
+ */
1232
+ static?: boolean
1233
+ /**
1234
+ * Panel width. The width is the number of columns from the left edge of the panel.
1235
+ */
1236
+ w: number
1237
+ /**
1238
+ * Panel x. The x coordinate is the number of columns from the left edge of the grid
1239
+ */
1240
+ x: number
1241
+ /**
1242
+ * Panel y. The y coordinate is the number of rows from the top edge of the grid
1243
+ */
1244
+ y: number
1245
+ }
1246
+ declare const defaultGridPos: Partial<GridPos>
1247
+ /**
1248
+ * User-defined value for a metric that triggers visual changes in a panel when this value is met or exceeded
1249
+ * They are used to conditionally style and color visualizations based on query results , and can be applied to most visualizations.
1250
+ */
1251
+ interface Threshold {
1252
+ /**
1253
+ * Color represents the color of the visual change that will occur in the dashboard when the threshold value is met or exceeded.
1254
+ */
1255
+ color: string
1256
+ /**
1257
+ * Value represents a specified metric for the threshold, which triggers a visual change in the dashboard when this value is met or exceeded.
1258
+ * Nulls currently appear here when serializing -Infinity to JSON.
1259
+ */
1260
+ value: number | null
1261
+ }
1262
+ /**
1263
+ * Thresholds can either be `absolute` (specific number) or `percentage` (relative to min or max, it will be values between 0 and 1).
1264
+ */
1265
+ declare enum ThresholdsMode {
1266
+ Absolute = 'absolute',
1267
+ Percentage = 'percentage',
1268
+ }
1269
+ /**
1270
+ * Thresholds configuration for the panel
1271
+ */
1272
+ interface ThresholdsConfig {
1273
+ /**
1274
+ * Thresholds mode.
1275
+ */
1276
+ mode: ThresholdsMode
1277
+ /**
1278
+ * Must be sorted by 'value', first value is always -Infinity
1279
+ */
1280
+ steps: Array<Threshold>
1281
+ }
1282
+ declare const defaultThresholdsConfig: Partial<ThresholdsConfig>
1283
+ /**
1284
+ * Allow to transform the visual representation of specific data values in a visualization, irrespective of their original units
1285
+ */
1286
+ type ValueMapping = ValueMap | RangeMap | RegexMap | SpecialValueMap
1287
+ /**
1288
+ * Supported value mapping types
1289
+ * `value`: Maps text values to a color or different display text and color. For example, you can configure a value mapping so that all instances of the value 10 appear as Perfection! rather than the number.
1290
+ * `range`: Maps numerical ranges to a display text and color. For example, if a value is within a certain range, you can configure a range value mapping to display Low or High rather than the number.
1291
+ * `regex`: Maps regular expressions to replacement text and a color. For example, if a value is www.example.com, you can configure a regex value mapping so that Grafana displays www and truncates the domain.
1292
+ * `special`: Maps special values like Null, NaN (not a number), and boolean values like true and false to a display text and color. See SpecialValueMatch to see the list of special values. For example, you can configure a special value mapping so that null values appear as N/A.
1293
+ */
1294
+ declare enum MappingType {
1295
+ RangeToText = 'range',
1296
+ RegexToText = 'regex',
1297
+ SpecialValue = 'special',
1298
+ ValueToText = 'value',
1299
+ }
1300
+ /**
1301
+ * Maps text values to a color or different display text and color.
1302
+ * For example, you can configure a value mapping so that all instances of the value 10 appear as Perfection! rather than the number.
1303
+ */
1304
+ interface ValueMap {
1305
+ /**
1306
+ * Map with <value_to_match>: ValueMappingResult. For example: { "10": { text: "Perfection!", color: "green" } }
1307
+ */
1308
+ options: Record<string, ValueMappingResult>
1309
+ type: MappingType.ValueToText
1310
+ }
1311
+ /**
1312
+ * Maps numerical ranges to a display text and color.
1313
+ * For example, if a value is within a certain range, you can configure a range value mapping to display Low or High rather than the number.
1314
+ */
1315
+ interface RangeMap {
1316
+ /**
1317
+ * Range to match against and the result to apply when the value is within the range
1318
+ */
1319
+ options: {
1320
+ /**
1321
+ * Min value of the range. It can be null which means -Infinity
1322
+ */
1323
+ from: number | null
1324
+ /**
1325
+ * Max value of the range. It can be null which means +Infinity
1326
+ */
1327
+ to: number | null
1328
+ /**
1329
+ * Config to apply when the value is within the range
1330
+ */
1331
+ result: ValueMappingResult
1332
+ }
1333
+ type: MappingType.RangeToText
1334
+ }
1335
+ /**
1336
+ * Maps regular expressions to replacement text and a color.
1337
+ * For example, if a value is www.example.com, you can configure a regex value mapping so that Grafana displays www and truncates the domain.
1338
+ */
1339
+ interface RegexMap {
1340
+ /**
1341
+ * Regular expression to match against and the result to apply when the value matches the regex
1342
+ */
1343
+ options: {
1344
+ /**
1345
+ * Regular expression to match against
1346
+ */
1347
+ pattern: string
1348
+ /**
1349
+ * Config to apply when the value matches the regex
1350
+ */
1351
+ result: ValueMappingResult
1352
+ }
1353
+ type: MappingType.RegexToText
1354
+ }
1355
+ /**
1356
+ * Maps special values like Null, NaN (not a number), and boolean values like true and false to a display text and color.
1357
+ * See SpecialValueMatch to see the list of special values.
1358
+ * For example, you can configure a special value mapping so that null values appear as N/A.
1359
+ */
1360
+ interface SpecialValueMap {
1361
+ options: {
1362
+ /**
1363
+ * Special value to match against
1364
+ */
1365
+ match: SpecialValueMatch
1366
+ /**
1367
+ * Config to apply when the value matches the special value
1368
+ */
1369
+ result: ValueMappingResult
1370
+ }
1371
+ type: MappingType.SpecialValue
1372
+ }
1373
+ /**
1374
+ * Special value types supported by the `SpecialValueMap`
1375
+ */
1376
+ declare enum SpecialValueMatch {
1377
+ Empty = 'empty',
1378
+ False = 'false',
1379
+ NaN = 'nan',
1380
+ Null = 'null',
1381
+ NullAndNan = 'null+nan',
1382
+ True = 'true',
1383
+ }
1384
+ /**
1385
+ * Result used as replacement with text and color when the value matches
1386
+ */
1387
+ interface ValueMappingResult {
1388
+ /**
1389
+ * Text to use when the value matches
1390
+ */
1391
+ color?: string
1392
+ /**
1393
+ * Icon to display when the value matches. Only specific visualizations.
1394
+ */
1395
+ icon?: string
1396
+ /**
1397
+ * Position in the mapping array. Only used internally.
1398
+ */
1399
+ index?: number
1400
+ /**
1401
+ * Text to display when the value matches
1402
+ */
1403
+ text?: string
1404
+ }
1405
+ /**
1406
+ * Transformations allow to manipulate data returned by a query before the system applies a visualization.
1407
+ * Using transformations you can: rename fields, join time series data, perform mathematical operations across queries,
1408
+ * use the output of one transformation as the input to another transformation, etc.
1409
+ */
1410
+ interface DataTransformerConfig$1 {
1411
+ /**
1412
+ * Disabled transformations are skipped
1413
+ */
1414
+ disabled?: boolean
1415
+ /**
1416
+ * Optional frame matcher. When missing it will be applied to all results
1417
+ */
1418
+ filter?: MatcherConfig$1
1419
+ /**
1420
+ * Unique identifier of transformer
1421
+ */
1422
+ id: string
1423
+ /**
1424
+ * Options to be passed to the transformer
1425
+ * Valid options depend on the transformer id
1426
+ */
1427
+ options: unknown
1428
+ /**
1429
+ * Where to pull DataFrames from as input to transformation
1430
+ */
1431
+ topic?: 'series' | 'annotations' | 'alertStates'
1432
+ }
1433
+ /**
1434
+ * Time picker configuration
1435
+ * It defines the default config for the time picker and the refresh picker for the specific dashboard.
1436
+ */
1437
+ interface TimePickerConfig$1 {
1438
+ /**
1439
+ * Whether timepicker is visible or not.
1440
+ */
1441
+ hidden?: boolean
1442
+ /**
1443
+ * Override the now time by entering a time delay. Use this option to accommodate known delays in data aggregation to avoid null values.
1444
+ */
1445
+ nowDelay?: string
1446
+ /**
1447
+ * Interval options available in the refresh picker dropdown.
1448
+ */
1449
+ refresh_intervals?: Array<string>
1450
+ /**
1451
+ * Selectable options available in the time picker dropdown. Has no effect on provisioned dashboard.
1452
+ */
1453
+ time_options?: Array<string>
1454
+ }
1455
+ /**
1456
+ * 0 for no shared crosshair or tooltip (default).
1457
+ * 1 for shared crosshair.
1458
+ * 2 for shared crosshair AND shared tooltip.
1459
+ */
1460
+ declare enum DashboardCursorSync {
1461
+ Crosshair = 1,
1462
+ Off = 0,
1463
+ Tooltip = 2,
1464
+ }
1465
+ declare const defaultDashboardCursorSync: DashboardCursorSync
1466
+ /**
1467
+ * Dashboard panels are the basic visualization building blocks.
1468
+ */
1469
+ interface Panel$1 {
1470
+ /**
1471
+ * Sets panel queries cache timeout.
1472
+ */
1473
+ cacheTimeout?: string
1474
+ /**
1475
+ * The datasource used in all targets.
1476
+ */
1477
+ datasource?: DataSourceRef
1478
+ /**
1479
+ * Panel description.
1480
+ */
1481
+ description?: string
1482
+ /**
1483
+ * Field options allow you to change how the data is displayed in your visualizations.
1484
+ */
1485
+ fieldConfig?: FieldConfigSource$1
1486
+ /**
1487
+ * Grid position.
1488
+ */
1489
+ gridPos?: GridPos
1490
+ /**
1491
+ * Controls if the timeFrom or timeShift overrides are shown in the panel header
1492
+ */
1493
+ hideTimeOverride?: boolean
1494
+ /**
1495
+ * Unique identifier of the panel. Generated by Grafana when creating a new panel. It must be unique within a dashboard, but not globally.
1496
+ */
1497
+ id?: number
1498
+ /**
1499
+ * The min time interval setting defines a lower limit for the $__interval and $__interval_ms variables.
1500
+ * This value must be formatted as a number followed by a valid time
1501
+ * identifier like: "40s", "3d", etc.
1502
+ * See: https://grafana.com/docs/grafana/latest/panels-visualizations/query-transform-data/#query-options
1503
+ */
1504
+ interval?: string
1505
+ /**
1506
+ * Dynamically load the panel
1507
+ */
1508
+ libraryPanel?: LibraryPanelRef
1509
+ /**
1510
+ * Panel links.
1511
+ */
1512
+ links?: Array<DashboardLink>
1513
+ /**
1514
+ * The maximum number of data points that the panel queries are retrieving.
1515
+ */
1516
+ maxDataPoints?: number
1517
+ /**
1518
+ * Option for repeated panels that controls max items per row
1519
+ * Only relevant for horizontally repeated panels
1520
+ */
1521
+ maxPerRow?: number
1522
+ /**
1523
+ * It depends on the panel plugin. They are specified by the Options field in panel plugin schemas.
1524
+ */
1525
+ options?: Record<string, unknown>
1526
+ /**
1527
+ * The version of the plugin that is used for this panel. This is used to find the plugin to display the panel and to migrate old panel configs.
1528
+ */
1529
+ pluginVersion?: string
1530
+ /**
1531
+ * Overrides the data source configured time-to-live for a query cache item in milliseconds
1532
+ */
1533
+ queryCachingTTL?: number
1534
+ /**
1535
+ * Name of template variable to repeat for.
1536
+ */
1537
+ repeat?: string
1538
+ /**
1539
+ * Direction to repeat in if 'repeat' is set.
1540
+ * `h` for horizontal, `v` for vertical.
1541
+ */
1542
+ repeatDirection?: 'h' | 'v'
1543
+ /**
1544
+ * Depends on the panel plugin. See the plugin documentation for details.
1545
+ */
1546
+ targets?: Array<Record<string, unknown>>
1547
+ /**
1548
+ * Overrides the relative time range for individual panels,
1549
+ * which causes them to be different than what is selected in
1550
+ * the dashboard time picker in the top-right corner of the dashboard. You can use this to show metrics from different
1551
+ * time periods or days on the same dashboard.
1552
+ * The value is formatted as time operation like: `now-5m` (Last 5 minutes), `now/d` (the day so far),
1553
+ * `now-5d/d`(Last 5 days), `now/w` (This week so far), `now-2y/y` (Last 2 years).
1554
+ * Note: Panel time overrides have no effect when the dashboard’s time range is absolute.
1555
+ * See: https://grafana.com/docs/grafana/latest/panels-visualizations/query-transform-data/#query-options
1556
+ */
1557
+ timeFrom?: string
1558
+ /**
1559
+ * Overrides the time range for individual panels by shifting its start and end relative to the time picker.
1560
+ * For example, you can shift the time range for the panel to be two hours earlier than the dashboard time picker setting `2h`.
1561
+ * Note: Panel time overrides have no effect when the dashboard’s time range is absolute.
1562
+ * See: https://grafana.com/docs/grafana/latest/panels-visualizations/query-transform-data/#query-options
1563
+ */
1564
+ timeShift?: string
1565
+ /**
1566
+ * Panel title.
1567
+ */
1568
+ title?: string
1569
+ /**
1570
+ * List of transformations that are applied to the panel data before rendering.
1571
+ * When there are multiple transformations, Grafana applies them in the order they are listed.
1572
+ * Each transformation creates a result set that then passes on to the next transformation in the processing pipeline.
1573
+ */
1574
+ transformations?: Array<DataTransformerConfig$1>
1575
+ /**
1576
+ * Whether to display the panel without a background.
1577
+ */
1578
+ transparent?: boolean
1579
+ /**
1580
+ * The panel plugin type id. This is used to find the plugin to display the panel.
1581
+ */
1582
+ type: string
1583
+ }
1584
+ /**
1585
+ * The data model used in Grafana, namely the data frame, is a columnar-oriented table structure that unifies both time series and table query results.
1586
+ * Each column within this structure is called a field. A field can represent a single time series or table column.
1587
+ * Field options allow you to change how the data is displayed in your visualizations.
1588
+ */
1589
+ interface FieldConfigSource$1 {
1590
+ /**
1591
+ * Defaults are the options applied to all fields.
1592
+ */
1593
+ defaults: FieldConfig$1
1594
+ /**
1595
+ * Overrides are the options applied to specific fields overriding the defaults.
1596
+ */
1597
+ overrides: Array<{
1598
+ matcher: MatcherConfig$1
1599
+ properties: Array<{
1600
+ id: string
1601
+ value?: unknown
1602
+ }>
1603
+ }>
1604
+ }
1605
+ /**
1606
+ * A library panel is a reusable panel that you can use in any dashboard.
1607
+ * When you make a change to a library panel, that change propagates to all instances of where the panel is used.
1608
+ * Library panels streamline reuse of panels across multiple dashboards.
1609
+ */
1610
+ interface LibraryPanelRef {
1611
+ /**
1612
+ * Library panel name
1613
+ */
1614
+ name: string
1615
+ /**
1616
+ * Library panel uid
1617
+ */
1618
+ uid: string
1619
+ }
1620
+ /**
1621
+ * Matcher is a predicate configuration. Based on the config a set of field(s) or values is filtered in order to apply override / transformation.
1622
+ * It comes with in id ( to resolve implementation from registry) and a configuration that’s specific to a particular matcher type.
1623
+ */
1624
+ interface MatcherConfig$1 {
1625
+ /**
1626
+ * The matcher id. This is used to find the matcher implementation from registry.
1627
+ */
1628
+ id: string
1629
+ /**
1630
+ * The matcher options. This is specific to the matcher implementation.
1631
+ */
1632
+ options?: unknown
1633
+ }
1634
+ /**
1635
+ * The data model used in Grafana, namely the data frame, is a columnar-oriented table structure that unifies both time series and table query results.
1636
+ * Each column within this structure is called a field. A field can represent a single time series or table column.
1637
+ * Field options allow you to change how the data is displayed in your visualizations.
1638
+ */
1639
+ interface FieldConfig$1 {
1640
+ /**
1641
+ * Panel color configuration
1642
+ */
1643
+ color?: FieldColor
1644
+ /**
1645
+ * custom is specified by the FieldConfig field
1646
+ * in panel plugin schemas.
1647
+ */
1648
+ custom?: Record<string, unknown>
1649
+ /**
1650
+ * Specify the number of decimals Grafana includes in the rendered value.
1651
+ * If you leave this field blank, Grafana automatically truncates the number of decimals based on the value.
1652
+ * For example 1.1234 will display as 1.12 and 100.456 will display as 100.
1653
+ * To display all decimals, set the unit to `String`.
1654
+ */
1655
+ decimals?: number
1656
+ /**
1657
+ * Human readable field metadata
1658
+ */
1659
+ description?: string
1660
+ /**
1661
+ * The display value for this field. This supports template variables blank is auto
1662
+ */
1663
+ displayName?: string
1664
+ /**
1665
+ * This can be used by data sources that return and explicit naming structure for values and labels
1666
+ * When this property is configured, this value is used rather than the default naming strategy.
1667
+ */
1668
+ displayNameFromDS?: string
1669
+ /**
1670
+ * True if data source field supports ad-hoc filters
1671
+ */
1672
+ filterable?: boolean
1673
+ /**
1674
+ * The behavior when clicking on a result
1675
+ */
1676
+ links?: Array<unknown>
1677
+ /**
1678
+ * Convert input values into a display string
1679
+ */
1680
+ mappings?: Array<ValueMapping>
1681
+ /**
1682
+ * The maximum value used in percentage threshold calculations. Leave blank for auto calculation based on all series and fields.
1683
+ */
1684
+ max?: number
1685
+ /**
1686
+ * The minimum value used in percentage threshold calculations. Leave blank for auto calculation based on all series and fields.
1687
+ */
1688
+ min?: number
1689
+ /**
1690
+ * Alternative to empty string
1691
+ */
1692
+ noValue?: string
1693
+ /**
1694
+ * An explicit path to the field in the datasource. When the frame meta includes a path,
1695
+ * This will default to `${frame.meta.path}/${field.name}
1696
+ *
1697
+ * When defined, this value can be used as an identifier within the datasource scope, and
1698
+ * may be used to update the results
1699
+ */
1700
+ path?: string
1701
+ /**
1702
+ * Map numeric values to states
1703
+ */
1704
+ thresholds?: ThresholdsConfig
1705
+ /**
1706
+ * Unit a field should use. The unit you select is applied to all fields except time.
1707
+ * You can use the units ID availables in Grafana or a custom unit.
1708
+ * Available units in Grafana: https://github.com/grafana/grafana/blob/main/packages/grafana-data/src/valueFormats/categories.ts
1709
+ * As custom unit, you can use the following formats:
1710
+ * `suffix:<suffix>` for custom unit that should go after value.
1711
+ * `prefix:<prefix>` for custom unit that should go before value.
1712
+ * `time:<format>` For custom date time formats type for example `time:YYYY-MM-DD`.
1713
+ * `si:<base scale><unit characters>` for custom SI units. For example: `si: mF`. This one is a bit more advanced as you can specify both a unit and the source data scale. So if your source data is represented as milli (thousands of) something prefix the unit with that SI scale character.
1714
+ * `count:<unit>` for a custom count unit.
1715
+ * `currency:<unit>` for custom a currency unit.
1716
+ */
1717
+ unit?: string
1718
+ /**
1719
+ * True if data source can write a value to the path. Auth/authz are supported separately
1720
+ */
1721
+ writeable?: boolean
1722
+ }
1723
+ /**
1724
+ * Row panel
1725
+ */
1726
+ interface RowPanel$1 {
1727
+ /**
1728
+ * Whether this row should be collapsed or not.
1729
+ */
1730
+ collapsed: boolean
1731
+ /**
1732
+ * Name of default datasource for the row
1733
+ */
1734
+ datasource?: DataSourceRef
1735
+ /**
1736
+ * Row grid position
1737
+ */
1738
+ gridPos?: GridPos
1739
+ /**
1740
+ * Unique identifier of the panel. Generated by Grafana when creating a new panel. It must be unique within a dashboard, but not globally.
1741
+ */
1742
+ id: number
1743
+ /**
1744
+ * List of panels in the row
1745
+ */
1746
+ panels: Array<Panel$1>
1747
+ /**
1748
+ * Name of template variable to repeat for.
1749
+ */
1750
+ repeat?: string
1751
+ /**
1752
+ * Row title
1753
+ */
1754
+ title?: string
1755
+ /**
1756
+ * The panel type
1757
+ */
1758
+ type: 'row'
1759
+ }
1760
+ interface Dashboard$1 {
1761
+ /**
1762
+ * Contains the list of annotations that are associated with the dashboard.
1763
+ * Annotations are used to overlay event markers and overlay event tags on graphs.
1764
+ * Grafana comes with a native annotation store and the ability to add annotation events directly from the graph panel or via the HTTP API.
1765
+ * See https://grafana.com/docs/grafana/latest/dashboards/build-dashboards/annotate-visualizations/
1766
+ */
1767
+ annotations?: AnnotationContainer$1
1768
+ /**
1769
+ * Description of dashboard.
1770
+ */
1771
+ description?: string
1772
+ /**
1773
+ * Whether a dashboard is editable or not.
1774
+ */
1775
+ editable?: boolean
1776
+ /**
1777
+ * The month that the fiscal year starts on. 0 = January, 11 = December
1778
+ */
1779
+ fiscalYearStartMonth?: number
1780
+ /**
1781
+ * ID of a dashboard imported from the https://grafana.com/grafana/dashboards/ portal
1782
+ */
1783
+ gnetId?: string
1784
+ /**
1785
+ * Configuration of dashboard cursor sync behavior.
1786
+ * Accepted values are 0 (sync turned off), 1 (shared crosshair), 2 (shared crosshair and tooltip).
1787
+ */
1788
+ graphTooltip?: DashboardCursorSync
1789
+ /**
1790
+ * Unique numeric identifier for the dashboard.
1791
+ * `id` is internal to a specific Grafana instance. `uid` should be used to identify a dashboard across Grafana instances.
1792
+ */
1793
+ id?: number | null
1794
+ /**
1795
+ * Links with references to other dashboards or external websites.
1796
+ */
1797
+ links?: Array<DashboardLink>
1798
+ /**
1799
+ * When set to true, the dashboard will redraw panels at an interval matching the pixel width.
1800
+ * This will keep data "moving left" regardless of the query refresh rate. This setting helps
1801
+ * avoid dashboards presenting stale live data
1802
+ */
1803
+ liveNow?: boolean
1804
+ /**
1805
+ * List of dashboard panels
1806
+ */
1807
+ panels?: Array<Panel$1 | RowPanel$1>
1808
+ /**
1809
+ * When set to true, the dashboard will load all panels in the dashboard when it's loaded.
1810
+ */
1811
+ preload?: boolean
1812
+ /**
1813
+ * Refresh rate of dashboard. Represented via interval string, e.g. "5s", "1m", "1h", "1d".
1814
+ */
1815
+ refresh?: string
1816
+ /**
1817
+ * This property should only be used in dashboards defined by plugins. It is a quick check
1818
+ * to see if the version has changed since the last time.
1819
+ */
1820
+ revision?: number
1821
+ /**
1822
+ * Version of the JSON schema, incremented each time a Grafana update brings
1823
+ * changes to said schema.
1824
+ */
1825
+ schemaVersion: number
1826
+ /**
1827
+ * Snapshot options. They are present only if the dashboard is a snapshot.
1828
+ */
1829
+ snapshot?: {
1830
+ /**
1831
+ * Time when the snapshot was created
1832
+ */
1833
+ created: string
1834
+ /**
1835
+ * Time when the snapshot expires, default is never to expire
1836
+ */
1837
+ expires: string
1838
+ /**
1839
+ * Is the snapshot saved in an external grafana instance
1840
+ */
1841
+ external: boolean
1842
+ /**
1843
+ * external url, if snapshot was shared in external grafana instance
1844
+ */
1845
+ externalUrl: string
1846
+ /**
1847
+ * original url, url of the dashboard that was snapshotted
1848
+ */
1849
+ originalUrl: string
1850
+ /**
1851
+ * Unique identifier of the snapshot
1852
+ */
1853
+ id: number
1854
+ /**
1855
+ * Optional, defined the unique key of the snapshot, required if external is true
1856
+ */
1857
+ key: string
1858
+ /**
1859
+ * Optional, name of the snapshot
1860
+ */
1861
+ name: string
1862
+ /**
1863
+ * org id of the snapshot
1864
+ */
1865
+ orgId: number
1866
+ /**
1867
+ * last time when the snapshot was updated
1868
+ */
1869
+ updated: string
1870
+ /**
1871
+ * url of the snapshot, if snapshot was shared internally
1872
+ */
1873
+ url?: string
1874
+ /**
1875
+ * user id of the snapshot creator
1876
+ */
1877
+ userId: number
1878
+ }
1879
+ /**
1880
+ * Tags associated with dashboard.
1881
+ */
1882
+ tags?: Array<string>
1883
+ /**
1884
+ * Configured template variables
1885
+ */
1886
+ templating?: {
1887
+ /**
1888
+ * List of configured template variables with their saved values along with some other metadata
1889
+ */
1890
+ list?: Array<VariableModel$1>
1891
+ }
1892
+ /**
1893
+ * Time range for dashboard.
1894
+ * Accepted values are relative time strings like {from: 'now-6h', to: 'now'} or absolute time strings like {from: '2020-07-10T08:00:00.000Z', to: '2020-07-10T14:00:00.000Z'}.
1895
+ */
1896
+ time?: {
1897
+ from: string
1898
+ to: string
1899
+ }
1900
+ /**
1901
+ * Configuration of the time picker shown at the top of a dashboard.
1902
+ */
1903
+ timepicker?: TimePickerConfig$1
1904
+ /**
1905
+ * Timezone of dashboard. Accepted values are IANA TZDB zone ID or "browser" or "utc".
1906
+ */
1907
+ timezone?: string
1908
+ /**
1909
+ * Title of dashboard.
1910
+ */
1911
+ title?: string
1912
+ /**
1913
+ * Unique dashboard identifier that can be generated by anyone. string (8-40)
1914
+ */
1915
+ uid?: string
1916
+ /**
1917
+ * Version of the dashboard, incremented each time the dashboard is updated.
1918
+ */
1919
+ version?: number
1920
+ /**
1921
+ * Day when the week starts. Expressed by the name of the day in lowercase, e.g. "monday".
1922
+ */
1923
+ weekStart?: string
1924
+ }
1925
+
1926
+ interface Panel<TOptions = Record<string, unknown>, TCustomFieldConfig = Record<string, unknown>>
1927
+ extends Omit<Panel$1, 'fieldConfig'> {
1928
+ fieldConfig?: FieldConfigSource<TCustomFieldConfig>
1929
+ }
1930
+ interface RowPanel extends Omit<RowPanel$1, 'panels'> {
1931
+ panels: Panel[]
1932
+ }
1933
+ declare enum VariableHide {
1934
+ dontHide = 0,
1935
+ hideLabel = 1,
1936
+ hideVariable = 2,
1937
+ }
1938
+ interface VariableModel extends Omit<VariableModel$1, 'datasource'> {
1939
+ datasource?: DataSourceRef$1 | null
1940
+ }
1941
+ interface Dashboard extends Omit<Dashboard$1, 'templating' | 'annotations' | 'panels'> {
1942
+ panels?: Array<Panel | RowPanel>
1943
+ annotations?: AnnotationContainer
1944
+ templating?: {
1945
+ list?: VariableModel[]
1946
+ }
1947
+ }
1948
+ interface AnnotationQuery<TQuery extends DataQuery = DataQuery>
1949
+ extends Omit<AnnotationQuery$1, 'target' | 'datasource'> {
1950
+ datasource?: DataSourceRef$1 | null
1951
+ target?: TQuery
1952
+ snapshotData?: unknown
1953
+ }
1954
+ interface AnnotationContainer extends Omit<AnnotationContainer$1, 'list'> {
1955
+ list?: AnnotationQuery[]
1956
+ }
1957
+ interface FieldConfig<TOptions = Record<string, unknown>> extends FieldConfig$1 {
1958
+ custom?: TOptions & Record<string, unknown>
1959
+ }
1960
+ interface FieldConfigSource<TOptions = Record<string, unknown>> extends Omit<FieldConfigSource$1, 'defaults'> {
1961
+ defaults: FieldConfig<TOptions>
1962
+ }
1963
+ interface MatcherConfig<TConfig = any> extends MatcherConfig$1 {
1964
+ options?: TConfig
1965
+ }
1966
+ interface DataTransformerConfig<TOptions = any> extends DataTransformerConfig$1 {
1967
+ options: TOptions
1968
+ topic?: DataTopic
1969
+ }
1970
+ interface TimePickerConfig extends TimePickerConfig$1 {}
1971
+ declare const defaultDashboard: Dashboard
1972
+ declare const defaultVariableModel: VariableModel
1973
+ declare const defaultTimePickerConfig: TimePickerConfig
1974
+ declare const defaultPanel: Partial<Panel>
1975
+ declare const defaultRowPanel: Partial<Panel>
1976
+ declare const defaultFieldConfig: Partial<FieldConfig>
1977
+ declare const defaultFieldConfigSource: Partial<FieldConfigSource>
1978
+ declare const defaultMatcherConfig: Partial<MatcherConfig>
1979
+ declare const defaultAnnotationQuery: Partial<AnnotationQuery>
1980
+ declare const defaultAnnotationContainer: Partial<AnnotationContainer>
1981
+
1982
+ interface MapLayerOptions<TConfig = any> extends MapLayerOptions$1 {
1983
+ config?: TConfig
1984
+ filterData?: MatcherConfig
1985
+ }
1986
+ interface DataQuery extends DataQuery$1 {
1987
+ /**
1988
+ * Unique, guid like, string (used only in explore mode)
1989
+ */
1990
+ key?: string
1991
+ datasource?: DataSourceRef$1 | null
1992
+ }
1993
+ interface BaseDimensionConfig<T = string | number> extends Omit<BaseDimensionConfig$1, 'fixed'> {
1994
+ fixed: T
1995
+ }
1996
+ interface ScaleDimensionConfig extends BaseDimensionConfig<number>, Omit<ScaleDimensionConfig$1, 'fixed'> {}
1997
+ interface ScalarDimensionConfig extends BaseDimensionConfig<number>, Omit<ScalarDimensionConfig$1, 'fixed'> {}
1998
+ interface TextDimensionConfig extends BaseDimensionConfig<string>, Omit<TextDimensionConfig$1, 'fixed'> {}
1999
+ interface ColorDimensionConfig extends BaseDimensionConfig<string>, Omit<ColorDimensionConfig$1, 'fixed'> {}
2000
+ interface ColorDimensionConfig extends BaseDimensionConfig<string>, Omit<ColorDimensionConfig$1, 'fixed'> {}
2001
+ interface ResourceDimensionConfig extends BaseDimensionConfig<string>, Omit<ResourceDimensionConfig$1, 'fixed'> {}
2002
+
2003
+ declare const defaultTableFieldOptions: TableFieldOptions
2004
+ /**
2005
+ * Represent panel data loading state.
2006
+ * @deprecated Please use LoadingState from @grafana/data
2007
+ */
2008
+ declare enum LoadingState {
2009
+ NotStarted = 'NotStarted',
2010
+ Loading = 'Loading',
2011
+ Streaming = 'Streaming',
2012
+ Done = 'Done',
2013
+ Error = 'Error',
2014
+ }
2015
+
2016
+ interface RoleRef {
2017
+ /**
2018
+ * Policies can apply to roles, teams, or users
2019
+ * Applying policies to individual users is supported, but discouraged
2020
+ */
2021
+ kind: 'Role' | 'BuiltinRole' | 'Team' | 'User'
2022
+ name: string
2023
+ xname: string
2024
+ }
2025
+ interface ResourceRef {
2026
+ kind: string
2027
+ name: string
2028
+ }
2029
+ interface AccessRule {
2030
+ /**
2031
+ * The kind this rule applies to (dashboards, alert, etc)
2032
+ */
2033
+ kind: '*' | string
2034
+ /**
2035
+ * Specific sub-elements like "alert.rules" or "dashboard.permissions"????
2036
+ */
2037
+ target?: string
2038
+ /**
2039
+ * READ, WRITE, CREATE, DELETE, ...
2040
+ * should move to k8s style verbs like: "get", "list", "watch", "create", "update", "patch", "delete"
2041
+ */
2042
+ verb: '*' | 'none' | string
2043
+ }
2044
+ interface AccessPolicy {
2045
+ /**
2046
+ * The role that must apply this policy
2047
+ */
2048
+ role: RoleRef
2049
+ /**
2050
+ * The set of rules to apply. Note that * is required to modify
2051
+ * access policy rules, and that "none" will reject all actions
2052
+ */
2053
+ rules: Array<AccessRule>
2054
+ /**
2055
+ * The scope where these policies should apply
2056
+ */
2057
+ scope: ResourceRef
2058
+ }
2059
+ declare const defaultAccessPolicy: Partial<AccessPolicy>
2060
+
2061
+ interface LibraryElementDTOMetaUser {
2062
+ avatarUrl: string
2063
+ id: number
2064
+ name: string
2065
+ }
2066
+ interface LibraryElementDTOMeta {
2067
+ connectedDashboards: number
2068
+ created: string
2069
+ createdBy: LibraryElementDTOMetaUser
2070
+ folderName: string
2071
+ folderUid: string
2072
+ updated: string
2073
+ updatedBy: LibraryElementDTOMetaUser
2074
+ }
2075
+ interface LibraryPanel$1 {
2076
+ /**
2077
+ * Panel description
2078
+ */
2079
+ description?: string
2080
+ /**
2081
+ * Folder UID
2082
+ */
2083
+ folderUid?: string
2084
+ /**
2085
+ * Object storage metadata
2086
+ */
2087
+ meta?: LibraryElementDTOMeta
2088
+ /**
2089
+ * TODO: should be the same panel schema defined in dashboard
2090
+ * Typescript: Omit<Panel, 'gridPos' | 'id' | 'libraryPanel'>;
2091
+ */
2092
+ model: Record<string, unknown>
2093
+ /**
2094
+ * Panel name (also saved in the model)
2095
+ */
2096
+ name: string
2097
+ /**
2098
+ * Dashboard version when this was saved (zero if unknown)
2099
+ */
2100
+ schemaVersion?: number
2101
+ /**
2102
+ * The panel type (from inside the model)
2103
+ */
2104
+ type: string
2105
+ /**
2106
+ * Library element UID
2107
+ */
2108
+ uid: string
2109
+ /**
2110
+ * panel version, incremented each time the dashboard is updated.
2111
+ */
2112
+ version: number
2113
+ }
2114
+
2115
+ interface LibraryPanel extends LibraryPanel$1 {
2116
+ model: Omit<Panel, 'gridPos' | 'id' | 'libraryPanel'>
2117
+ }
2118
+
2119
+ interface QueryHistoryPreference {
2120
+ /**
2121
+ * one of: '' | 'query' | 'starred';
2122
+ */
2123
+ homeTab?: string
2124
+ }
2125
+ interface CookiePreferences {
2126
+ analytics?: Record<string, unknown>
2127
+ functional?: Record<string, unknown>
2128
+ performance?: Record<string, unknown>
2129
+ }
2130
+ interface NavbarPreference {
2131
+ bookmarkUrls: Array<string>
2132
+ }
2133
+ declare const defaultNavbarPreference: Partial<NavbarPreference>
2134
+ /**
2135
+ * Spec defines user, team or org Grafana preferences
2136
+ * swagger:model Preferences
2137
+ */
2138
+ interface Preferences {
2139
+ /**
2140
+ * Cookie preferences
2141
+ */
2142
+ cookiePreferences?: CookiePreferences
2143
+ /**
2144
+ * UID for the home dashboard
2145
+ */
2146
+ homeDashboardUID?: string
2147
+ /**
2148
+ * Selected language (beta)
2149
+ */
2150
+ language?: string
2151
+ /**
2152
+ * Navigation preferences
2153
+ */
2154
+ navbar?: NavbarPreference
2155
+ /**
2156
+ * Explore query history preferences
2157
+ */
2158
+ queryHistory?: QueryHistoryPreference
2159
+ /**
2160
+ * light, dark, empty is default
2161
+ */
2162
+ theme?: string
2163
+ /**
2164
+ * The timezone selection
2165
+ * TODO: this should use the timezone defined in common
2166
+ */
2167
+ timezone?: string
2168
+ /**
2169
+ * day of the week (sunday, monday, etc)
2170
+ */
2171
+ weekStart?: string
2172
+ }
2173
+
2174
+ interface PublicDashboard {
2175
+ /**
2176
+ * Unique public access token
2177
+ */
2178
+ accessToken?: string
2179
+ /**
2180
+ * Flag that indicates if annotations are enabled
2181
+ */
2182
+ annotationsEnabled: boolean
2183
+ /**
2184
+ * Dashboard unique identifier referenced by this public dashboard
2185
+ */
2186
+ dashboardUid: string
2187
+ /**
2188
+ * Flag that indicates if the public dashboard is enabled
2189
+ */
2190
+ isEnabled: boolean
2191
+ /**
2192
+ * Flag that indicates if the time range picker is enabled
2193
+ */
2194
+ timeSelectionEnabled: boolean
2195
+ /**
2196
+ * Unique public dashboard identifier
2197
+ */
2198
+ uid: string
2199
+ }
2200
+
2201
+ interface Role {
2202
+ /**
2203
+ * Role description
2204
+ */
2205
+ description?: string
2206
+ /**
2207
+ * Optional display
2208
+ */
2209
+ displayName?: string
2210
+ /**
2211
+ * Name of the team.
2212
+ */
2213
+ groupName?: string
2214
+ /**
2215
+ * Do not show this role
2216
+ */
2217
+ hidden: boolean | false
2218
+ /**
2219
+ * The role identifier `managed:builtins:editor:permissions`
2220
+ */
2221
+ name: string
2222
+ }
2223
+
2224
+ interface CustomRoleRef {
2225
+ kind: 'Role'
2226
+ name: string
2227
+ }
2228
+ interface BuiltinRoleRef {
2229
+ kind: 'BuiltinRole'
2230
+ name: 'viewer' | 'editor' | 'admin'
2231
+ }
2232
+ interface RoleBindingSubject {
2233
+ kind: 'Team' | 'User'
2234
+ /**
2235
+ * The team/user identifier name
2236
+ */
2237
+ name: string
2238
+ }
2239
+ interface RoleBinding {
2240
+ /**
2241
+ * The role we are discussing
2242
+ */
2243
+ role: BuiltinRoleRef | CustomRoleRef
2244
+ /**
2245
+ * The team or user that has the specified role
2246
+ */
2247
+ subject: RoleBindingSubject
2248
+ }
2249
+
2250
+ export {
2251
+ AccessPolicy,
2252
+ AccessRule,
2253
+ AnnotationContainer,
2254
+ AnnotationPanelFilter,
2255
+ AnnotationQuery,
2256
+ AnnotationTarget,
2257
+ AxisColorMode,
2258
+ AxisConfig,
2259
+ AxisPlacement,
2260
+ BarAlignment,
2261
+ BarConfig,
2262
+ BarGaugeDisplayMode,
2263
+ BarGaugeNamePlacement,
2264
+ BarGaugeSizing,
2265
+ BarGaugeValueMode,
2266
+ BaseDimensionConfig,
2267
+ BigValueColorMode,
2268
+ BigValueGraphMode,
2269
+ BigValueJustifyMode,
2270
+ BigValueTextMode,
2271
+ BuiltinRoleRef,
2272
+ ColorDimensionConfig,
2273
+ ComparisonOperation,
2274
+ CookiePreferences,
2275
+ CustomRoleRef,
2276
+ Dashboard,
2277
+ Dashboard$1 as DashboardData,
2278
+ DashboardCursorSync,
2279
+ DashboardLink,
2280
+ DashboardLinkType,
2281
+ DataQuery,
2282
+ DataSourceJsonData,
2283
+ DataSourceRef$1 as DataSourceRef,
2284
+ DataTopic,
2285
+ DataTransformerConfig,
2286
+ FieldColor,
2287
+ FieldColorModeId,
2288
+ FieldColorSeriesByMode,
2289
+ FieldConfig,
2290
+ FieldConfigSource,
2291
+ FieldTextAlignment,
2292
+ FillConfig,
2293
+ FrameGeometrySource,
2294
+ FrameGeometrySourceMode,
2295
+ GraphDrawStyle,
2296
+ GraphFieldConfig,
2297
+ GraphGradientMode,
2298
+ GraphThresholdsStyleConfig,
2299
+ GraphThresholdsStyleMode,
2300
+ GraphTransform,
2301
+ GridPos,
2302
+ HeatmapCalculationBucketConfig,
2303
+ HeatmapCalculationMode,
2304
+ HeatmapCalculationOptions,
2305
+ HeatmapCellLayout,
2306
+ HideSeriesConfig,
2307
+ HideableFieldConfig,
2308
+ Labels,
2309
+ LegendDisplayMode,
2310
+ LegendPlacement,
2311
+ LibraryElementDTOMeta,
2312
+ LibraryElementDTOMetaUser,
2313
+ LibraryPanel,
2314
+ LibraryPanelRef,
2315
+ LineConfig,
2316
+ LineInterpolation,
2317
+ LineStyle,
2318
+ LoadingState,
2319
+ LogsDedupStrategy,
2320
+ LogsSortOrder,
2321
+ MapLayerOptions,
2322
+ MappingType,
2323
+ MatcherConfig,
2324
+ NavbarPreference,
2325
+ OptionsWithLegend,
2326
+ OptionsWithTextFormatting,
2327
+ OptionsWithTimezones,
2328
+ OptionsWithTooltip,
2329
+ Panel,
2330
+ PercentChangeColorMode,
2331
+ PointsConfig,
2332
+ Preferences,
2333
+ PublicDashboard,
2334
+ QueryHistoryPreference,
2335
+ RangeMap,
2336
+ ReduceDataOptions,
2337
+ RegexMap,
2338
+ ResourceDimensionConfig,
2339
+ ResourceDimensionMode,
2340
+ ResourceRef,
2341
+ Role,
2342
+ RoleBinding,
2343
+ RoleBindingSubject,
2344
+ RoleRef,
2345
+ RowPanel,
2346
+ ScalarDimensionConfig,
2347
+ ScalarDimensionMode,
2348
+ ScaleDimensionConfig,
2349
+ ScaleDimensionMode,
2350
+ ScaleDirection,
2351
+ ScaleDistribution,
2352
+ ScaleDistributionConfig,
2353
+ ScaleOrientation,
2354
+ SingleStatBaseOptions,
2355
+ SortOrder,
2356
+ SpecialValueMap,
2357
+ SpecialValueMatch,
2358
+ StackableFieldConfig,
2359
+ StackingConfig,
2360
+ StackingMode,
2361
+ TableAutoCellOptions,
2362
+ TableBarGaugeCellOptions,
2363
+ TableCellBackgroundDisplayMode,
2364
+ TableCellDisplayMode,
2365
+ TableCellHeight,
2366
+ TableCellOptions,
2367
+ TableColorTextCellOptions,
2368
+ TableColoredBackgroundCellOptions,
2369
+ TableDataLinksCellOptions,
2370
+ TableFieldOptions,
2371
+ TableFooterOptions,
2372
+ TableImageCellOptions,
2373
+ TableJsonViewCellOptions,
2374
+ TableSortByFieldState,
2375
+ TableSparklineCellOptions,
2376
+ TextDimensionConfig,
2377
+ TextDimensionMode,
2378
+ Threshold,
2379
+ ThresholdsConfig,
2380
+ ThresholdsMode,
2381
+ TimePickerConfig,
2382
+ TimeZone,
2383
+ TimeZoneBrowser,
2384
+ TimeZoneUtc,
2385
+ TimelineValueAlignment,
2386
+ TooltipDisplayMode,
2387
+ ValueMap,
2388
+ ValueMapping,
2389
+ ValueMappingResult,
2390
+ VariableFormatID,
2391
+ VariableHide,
2392
+ VariableModel,
2393
+ VariableOption,
2394
+ VariableRefresh,
2395
+ VariableSort,
2396
+ VariableType,
2397
+ VisibilityMode,
2398
+ VizLegendOptions,
2399
+ VizOrientation,
2400
+ VizTextDisplayOptions,
2401
+ VizTooltipOptions,
2402
+ defaultAccessPolicy,
2403
+ defaultAnnotationContainer,
2404
+ defaultAnnotationPanelFilter,
2405
+ defaultAnnotationQuery,
2406
+ defaultAnnotationTarget,
2407
+ defaultDashboard,
2408
+ defaultDashboardCursorSync,
2409
+ defaultDashboardLink,
2410
+ defaultFieldConfig,
2411
+ defaultFieldConfigSource,
2412
+ defaultGridPos,
2413
+ defaultLineStyle,
2414
+ defaultMatcherConfig,
2415
+ defaultNavbarPreference,
2416
+ defaultOptionsWithTimezones,
2417
+ defaultPanel,
2418
+ defaultReduceDataOptions,
2419
+ defaultRowPanel,
2420
+ defaultTableFieldOptions,
2421
+ defaultTableFooterOptions,
2422
+ defaultThresholdsConfig,
2423
+ defaultTimePickerConfig,
2424
+ defaultTimeZone,
2425
+ defaultVariableModel,
2426
+ defaultVizLegendOptions,
2427
+ }