Skip to content

Commit 1683f63

Browse files
authored
feat: add v10.3.0 (grafana#175)
* feat: add v10.3.0 * fix: don't overwrite schema if exists * chore: don't treat generator/ as generated files I hope this will prevent GitHub from suppressing the diff in those files. * fix: update pluginVersion
1 parent fe65a22 commit 1683f63

File tree

373 files changed

+82307
-65
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

373 files changed

+82307
-65
lines changed

.gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
gen/** linguist-generated=true
2+
generator/** linguist-generated=false

Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.PHONY: generate regenerate localmkdocs test
22

3-
LATEST := v10.2.0
3+
LATEST := v10.3.0
44

55
generate: gen/grafonnet-latest
66

@@ -10,6 +10,9 @@ gen/grafonnet-latest:
1010

1111
regenerate: gen/grafonnet-v*
1212

13+
gen/grafonnet-v10.2.0:
14+
./scripts/generate.sh v10.2.0
15+
1316
gen/grafonnet-v10.1.0:
1417
./scripts/generate.sh v10.1.0
1518

docs/API/dashboard/index.md

-13
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ grafonnet.dashboard
4141
* [`fn withFrom(value="now-6h")`](#fn-timewithfrom)
4242
* [`fn withTo(value="now")`](#fn-timewithto)
4343
* [`obj timepicker`](#obj-timepicker)
44-
* [`fn withCollapse(value=true)`](#fn-timepickerwithcollapse)
4544
* [`fn withHidden(value=true)`](#fn-timepickerwithhidden)
4645
* [`fn withRefreshIntervals(value=["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"])`](#fn-timepickerwithrefreshintervals)
4746
* [`fn withRefreshIntervalsMixin(value=["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"])`](#fn-timepickerwithrefreshintervalsmixin)
@@ -415,18 +414,6 @@ PARAMETERS:
415414
### obj timepicker
416415

417416

418-
#### fn timepicker.withCollapse
419-
420-
```jsonnet
421-
timepicker.withCollapse(value=true)
422-
```
423-
424-
PARAMETERS:
425-
426-
* **value** (`boolean`)
427-
- default value: `true`
428-
429-
Whether timepicker is collapsed or not. Has no effect on provisioned dashboard.
430417
#### fn timepicker.withHidden
431418

432419
```jsonnet

docs/API/folder.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@ grafonnet.folder
44

55
## Index
66

7-
* [`fn withDescription(value)`](#fn-withdescription)
7+
* [`fn withParentUid(value)`](#fn-withparentuid)
88
* [`fn withTitle(value)`](#fn-withtitle)
99
* [`fn withUid(value)`](#fn-withuid)
1010

1111
## Fields
1212

13-
### fn withDescription
13+
### fn withParentUid
1414

1515
```jsonnet
16-
withDescription(value)
16+
withParentUid(value)
1717
```
1818

1919
PARAMETERS:
2020

2121
* **value** (`string`)
2222

23-
Description of the folder.
23+
only used if nested folders are enabled
2424
### fn withTitle
2525

2626
```jsonnet
@@ -42,4 +42,4 @@ PARAMETERS:
4242

4343
* **value** (`string`)
4444

45-
Unique folder id. (will be k8s name)
45+
Unique folder id

docs/API/panel/alertGroups/queryOptions/transformation.md

+13
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* [`fn withFilterMixin(value)`](#fn-withfiltermixin)
1010
* [`fn withId(value)`](#fn-withid)
1111
* [`fn withOptions(value)`](#fn-withoptions)
12+
* [`fn withTopic(value)`](#fn-withtopic)
1213
* [`obj filter`](#obj-filter)
1314
* [`fn withId(value="")`](#fn-filterwithid)
1415
* [`fn withOptions(value)`](#fn-filterwithoptions)
@@ -74,6 +75,18 @@ PARAMETERS:
7475

7576
Options to be passed to the transformer
7677
Valid options depend on the transformer id
78+
### fn withTopic
79+
80+
```jsonnet
81+
withTopic(value)
82+
```
83+
84+
PARAMETERS:
85+
86+
* **value** (`string`)
87+
- valid values: `"series"`, `"annotations"`, `"alertStates"`
88+
89+
Where to pull DataFrames from as input to transformation
7790
### obj filter
7891

7992

docs/API/panel/alertList/queryOptions/transformation.md

+13
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* [`fn withFilterMixin(value)`](#fn-withfiltermixin)
1010
* [`fn withId(value)`](#fn-withid)
1111
* [`fn withOptions(value)`](#fn-withoptions)
12+
* [`fn withTopic(value)`](#fn-withtopic)
1213
* [`obj filter`](#obj-filter)
1314
* [`fn withId(value="")`](#fn-filterwithid)
1415
* [`fn withOptions(value)`](#fn-filterwithoptions)
@@ -74,6 +75,18 @@ PARAMETERS:
7475

7576
Options to be passed to the transformer
7677
Valid options depend on the transformer id
78+
### fn withTopic
79+
80+
```jsonnet
81+
withTopic(value)
82+
```
83+
84+
PARAMETERS:
85+
86+
* **value** (`string`)
87+
- valid values: `"series"`, `"annotations"`, `"alertStates"`
88+
89+
Where to pull DataFrames from as input to transformation
7790
### obj filter
7891

7992

docs/API/panel/annotationsList/queryOptions/transformation.md

+13
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* [`fn withFilterMixin(value)`](#fn-withfiltermixin)
1010
* [`fn withId(value)`](#fn-withid)
1111
* [`fn withOptions(value)`](#fn-withoptions)
12+
* [`fn withTopic(value)`](#fn-withtopic)
1213
* [`obj filter`](#obj-filter)
1314
* [`fn withId(value="")`](#fn-filterwithid)
1415
* [`fn withOptions(value)`](#fn-filterwithoptions)
@@ -74,6 +75,18 @@ PARAMETERS:
7475

7576
Options to be passed to the transformer
7677
Valid options depend on the transformer id
78+
### fn withTopic
79+
80+
```jsonnet
81+
withTopic(value)
82+
```
83+
84+
PARAMETERS:
85+
86+
* **value** (`string`)
87+
- valid values: `"series"`, `"annotations"`, `"alertStates"`
88+
89+
Where to pull DataFrames from as input to transformation
7790
### obj filter
7891

7992

docs/API/panel/barChart/queryOptions/transformation.md

+13
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* [`fn withFilterMixin(value)`](#fn-withfiltermixin)
1010
* [`fn withId(value)`](#fn-withid)
1111
* [`fn withOptions(value)`](#fn-withoptions)
12+
* [`fn withTopic(value)`](#fn-withtopic)
1213
* [`obj filter`](#obj-filter)
1314
* [`fn withId(value="")`](#fn-filterwithid)
1415
* [`fn withOptions(value)`](#fn-filterwithoptions)
@@ -74,6 +75,18 @@ PARAMETERS:
7475

7576
Options to be passed to the transformer
7677
Valid options depend on the transformer id
78+
### fn withTopic
79+
80+
```jsonnet
81+
withTopic(value)
82+
```
83+
84+
PARAMETERS:
85+
86+
* **value** (`string`)
87+
- valid values: `"series"`, `"annotations"`, `"alertStates"`
88+
89+
Where to pull DataFrames from as input to transformation
7790
### obj filter
7891

7992

docs/API/panel/barGauge/index.md

+32-6
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,15 @@ grafonnet.panel.barGauge
1818
* [`fn withUid(value)`](#fn-librarypanelwithuid)
1919
* [`obj options`](#obj-options)
2020
* [`fn withDisplayMode(value)`](#fn-optionswithdisplaymode)
21-
* [`fn withMinVizHeight(value=10)`](#fn-optionswithminvizheight)
22-
* [`fn withMinVizWidth(value=0)`](#fn-optionswithminvizwidth)
21+
* [`fn withMaxVizHeight(value=300)`](#fn-optionswithmaxvizheight)
22+
* [`fn withMinVizHeight(value=16)`](#fn-optionswithminvizheight)
23+
* [`fn withMinVizWidth(value=8)`](#fn-optionswithminvizwidth)
2324
* [`fn withNamePlacement(value)`](#fn-optionswithnameplacement)
2425
* [`fn withOrientation(value)`](#fn-optionswithorientation)
2526
* [`fn withReduceOptions(value)`](#fn-optionswithreduceoptions)
2627
* [`fn withReduceOptionsMixin(value)`](#fn-optionswithreduceoptionsmixin)
2728
* [`fn withShowUnfilled(value=true)`](#fn-optionswithshowunfilled)
29+
* [`fn withSizing(value)`](#fn-optionswithsizing)
2830
* [`fn withText(value)`](#fn-optionswithtext)
2931
* [`fn withTextMixin(value)`](#fn-optionswithtextmixin)
3032
* [`fn withValueMode(value)`](#fn-optionswithvaluemode)
@@ -135,28 +137,40 @@ PARAMETERS:
135137

136138
Enum expressing the possible display modes
137139
for the bar gauge component of Grafana UI
140+
#### fn options.withMaxVizHeight
141+
142+
```jsonnet
143+
options.withMaxVizHeight(value=300)
144+
```
145+
146+
PARAMETERS:
147+
148+
* **value** (`integer`)
149+
- default value: `300`
150+
151+
138152
#### fn options.withMinVizHeight
139153

140154
```jsonnet
141-
options.withMinVizHeight(value=10)
155+
options.withMinVizHeight(value=16)
142156
```
143157

144158
PARAMETERS:
145159

146160
* **value** (`integer`)
147-
- default value: `10`
161+
- default value: `16`
148162

149163

150164
#### fn options.withMinVizWidth
151165

152166
```jsonnet
153-
options.withMinVizWidth(value=0)
167+
options.withMinVizWidth(value=8)
154168
```
155169

156170
PARAMETERS:
157171

158172
* **value** (`integer`)
159-
- default value: `0`
173+
- default value: `8`
160174

161175

162176
#### fn options.withNamePlacement
@@ -217,6 +231,18 @@ PARAMETERS:
217231
- default value: `true`
218232

219233

234+
#### fn options.withSizing
235+
236+
```jsonnet
237+
options.withSizing(value)
238+
```
239+
240+
PARAMETERS:
241+
242+
* **value** (`string`)
243+
- valid values: `"auto"`, `"manual"`
244+
245+
Allows for the bar gauge size to be set explicitly
220246
#### fn options.withText
221247

222248
```jsonnet

docs/API/panel/barGauge/queryOptions/transformation.md

+13
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* [`fn withFilterMixin(value)`](#fn-withfiltermixin)
1010
* [`fn withId(value)`](#fn-withid)
1111
* [`fn withOptions(value)`](#fn-withoptions)
12+
* [`fn withTopic(value)`](#fn-withtopic)
1213
* [`obj filter`](#obj-filter)
1314
* [`fn withId(value="")`](#fn-filterwithid)
1415
* [`fn withOptions(value)`](#fn-filterwithoptions)
@@ -74,6 +75,18 @@ PARAMETERS:
7475

7576
Options to be passed to the transformer
7677
Valid options depend on the transformer id
78+
### fn withTopic
79+
80+
```jsonnet
81+
withTopic(value)
82+
```
83+
84+
PARAMETERS:
85+
86+
* **value** (`string`)
87+
- valid values: `"series"`, `"annotations"`, `"alertStates"`
88+
89+
Where to pull DataFrames from as input to transformation
7790
### obj filter
7891

7992

docs/API/panel/candlestick/queryOptions/transformation.md

+13
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* [`fn withFilterMixin(value)`](#fn-withfiltermixin)
1010
* [`fn withId(value)`](#fn-withid)
1111
* [`fn withOptions(value)`](#fn-withoptions)
12+
* [`fn withTopic(value)`](#fn-withtopic)
1213
* [`obj filter`](#obj-filter)
1314
* [`fn withId(value="")`](#fn-filterwithid)
1415
* [`fn withOptions(value)`](#fn-filterwithoptions)
@@ -74,6 +75,18 @@ PARAMETERS:
7475

7576
Options to be passed to the transformer
7677
Valid options depend on the transformer id
78+
### fn withTopic
79+
80+
```jsonnet
81+
withTopic(value)
82+
```
83+
84+
PARAMETERS:
85+
86+
* **value** (`string`)
87+
- valid values: `"series"`, `"annotations"`, `"alertStates"`
88+
89+
Where to pull DataFrames from as input to transformation
7790
### obj filter
7891

7992

docs/API/panel/canvas/index.md

+13
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ grafonnet.panel.canvas
1919
* [`fn withUid(value)`](#fn-librarypanelwithuid)
2020
* [`obj options`](#obj-options)
2121
* [`fn withInlineEditing(value=true)`](#fn-optionswithinlineediting)
22+
* [`fn withPanZoom(value=true)`](#fn-optionswithpanzoom)
2223
* [`fn withRoot(value)`](#fn-optionswithroot)
2324
* [`fn withRootMixin(value)`](#fn-optionswithrootmixin)
2425
* [`fn withShowAdvancedTypes(value=true)`](#fn-optionswithshowadvancedtypes)
@@ -124,6 +125,18 @@ PARAMETERS:
124125
- default value: `true`
125126

126127
Enable inline editing
128+
#### fn options.withPanZoom
129+
130+
```jsonnet
131+
options.withPanZoom(value=true)
132+
```
133+
134+
PARAMETERS:
135+
136+
* **value** (`boolean`)
137+
- default value: `true`
138+
139+
Enable pan and zoom
127140
#### fn options.withRoot
128141

129142
```jsonnet

docs/API/panel/canvas/queryOptions/transformation.md

+13
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* [`fn withFilterMixin(value)`](#fn-withfiltermixin)
1010
* [`fn withId(value)`](#fn-withid)
1111
* [`fn withOptions(value)`](#fn-withoptions)
12+
* [`fn withTopic(value)`](#fn-withtopic)
1213
* [`obj filter`](#obj-filter)
1314
* [`fn withId(value="")`](#fn-filterwithid)
1415
* [`fn withOptions(value)`](#fn-filterwithoptions)
@@ -74,6 +75,18 @@ PARAMETERS:
7475

7576
Options to be passed to the transformer
7677
Valid options depend on the transformer id
78+
### fn withTopic
79+
80+
```jsonnet
81+
withTopic(value)
82+
```
83+
84+
PARAMETERS:
85+
86+
* **value** (`string`)
87+
- valid values: `"series"`, `"annotations"`, `"alertStates"`
88+
89+
Where to pull DataFrames from as input to transformation
7790
### obj filter
7891

7992

0 commit comments

Comments
 (0)