Skip to content

Commit 5abe203

Browse files
committed
feat: release v11.3.0
1 parent 537e6d6 commit 5abe203

File tree

326 files changed

+97173
-25
lines changed

Some content is hidden

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

326 files changed

+97173
-25
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.PHONY: generate regenerate localmkdocs test
22

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

55
generate: gen/grafonnet-latest
66

docs/API/panel/barGauge/index.md

Lines changed: 160 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ grafonnet.panel.barGauge
1818
* [`fn withUid(value)`](#fn-librarypanelwithuid)
1919
* [`obj options`](#obj-options)
2020
* [`fn withDisplayMode(value="gradient")`](#fn-optionswithdisplaymode)
21+
* [`fn withLegend(value)`](#fn-optionswithlegend)
22+
* [`fn withLegendMixin(value)`](#fn-optionswithlegendmixin)
2123
* [`fn withMaxVizHeight(value=300)`](#fn-optionswithmaxvizheight)
2224
* [`fn withMinVizHeight(value=16)`](#fn-optionswithminvizheight)
2325
* [`fn withMinVizWidth(value=8)`](#fn-optionswithminvizwidth)
@@ -30,6 +32,17 @@ grafonnet.panel.barGauge
3032
* [`fn withText(value)`](#fn-optionswithtext)
3133
* [`fn withTextMixin(value)`](#fn-optionswithtextmixin)
3234
* [`fn withValueMode(value="color")`](#fn-optionswithvaluemode)
35+
* [`obj legend`](#obj-optionslegend)
36+
* [`fn withAsTable(value=true)`](#fn-optionslegendwithastable)
37+
* [`fn withCalcs(value=[])`](#fn-optionslegendwithcalcs)
38+
* [`fn withCalcsMixin(value=[])`](#fn-optionslegendwithcalcsmixin)
39+
* [`fn withDisplayMode(value="list")`](#fn-optionslegendwithdisplaymode)
40+
* [`fn withIsVisible(value=true)`](#fn-optionslegendwithisvisible)
41+
* [`fn withPlacement(value="bottom")`](#fn-optionslegendwithplacement)
42+
* [`fn withShowLegend(value=true)`](#fn-optionslegendwithshowlegend)
43+
* [`fn withSortBy(value)`](#fn-optionslegendwithsortby)
44+
* [`fn withSortDesc(value=true)`](#fn-optionslegendwithsortdesc)
45+
* [`fn withWidth(value)`](#fn-optionslegendwithwidth)
3346
* [`obj reduceOptions`](#obj-optionsreduceoptions)
3447
* [`fn withCalcs(value)`](#fn-optionsreduceoptionswithcalcs)
3548
* [`fn withCalcsMixin(value)`](#fn-optionsreduceoptionswithcalcsmixin)
@@ -141,6 +154,28 @@ PARAMETERS:
141154

142155
Enum expressing the possible display modes
143156
for the bar gauge component of Grafana UI
157+
#### fn options.withLegend
158+
159+
```jsonnet
160+
options.withLegend(value)
161+
```
162+
163+
PARAMETERS:
164+
165+
* **value** (`object`)
166+
167+
TODO docs
168+
#### fn options.withLegendMixin
169+
170+
```jsonnet
171+
options.withLegendMixin(value)
172+
```
173+
174+
PARAMETERS:
175+
176+
* **value** (`object`)
177+
178+
TODO docs
144179
#### fn options.withMaxVizHeight
145180

146181
```jsonnet
@@ -187,7 +222,7 @@ PARAMETERS:
187222

188223
* **value** (`string`)
189224
- default value: `"auto"`
190-
- valid values: `"auto"`, `"top"`, `"left"`
225+
- valid values: `"auto"`, `"top"`, `"left"`, `"hidden"`
191226

192227
Allows for the bar gauge name to be placed explicitly
193228
#### fn options.withOrientation
@@ -284,6 +319,130 @@ PARAMETERS:
284319
- valid values: `"color"`, `"text"`, `"hidden"`
285320

286321
Allows for the table cell gauge display type to set the gauge mode.
322+
#### obj options.legend
323+
324+
325+
##### fn options.legend.withAsTable
326+
327+
```jsonnet
328+
options.legend.withAsTable(value=true)
329+
```
330+
331+
PARAMETERS:
332+
333+
* **value** (`boolean`)
334+
- default value: `true`
335+
336+
337+
##### fn options.legend.withCalcs
338+
339+
```jsonnet
340+
options.legend.withCalcs(value=[])
341+
```
342+
343+
PARAMETERS:
344+
345+
* **value** (`array`)
346+
- default value: `[]`
347+
348+
349+
##### fn options.legend.withCalcsMixin
350+
351+
```jsonnet
352+
options.legend.withCalcsMixin(value=[])
353+
```
354+
355+
PARAMETERS:
356+
357+
* **value** (`array`)
358+
- default value: `[]`
359+
360+
361+
##### fn options.legend.withDisplayMode
362+
363+
```jsonnet
364+
options.legend.withDisplayMode(value="list")
365+
```
366+
367+
PARAMETERS:
368+
369+
* **value** (`string`)
370+
- default value: `"list"`
371+
- valid values: `"list"`, `"table"`, `"hidden"`
372+
373+
TODO docs
374+
Note: "hidden" needs to remain as an option for plugins compatibility
375+
##### fn options.legend.withIsVisible
376+
377+
```jsonnet
378+
options.legend.withIsVisible(value=true)
379+
```
380+
381+
PARAMETERS:
382+
383+
* **value** (`boolean`)
384+
- default value: `true`
385+
386+
387+
##### fn options.legend.withPlacement
388+
389+
```jsonnet
390+
options.legend.withPlacement(value="bottom")
391+
```
392+
393+
PARAMETERS:
394+
395+
* **value** (`string`)
396+
- default value: `"bottom"`
397+
- valid values: `"bottom"`, `"right"`
398+
399+
TODO docs
400+
##### fn options.legend.withShowLegend
401+
402+
```jsonnet
403+
options.legend.withShowLegend(value=true)
404+
```
405+
406+
PARAMETERS:
407+
408+
* **value** (`boolean`)
409+
- default value: `true`
410+
411+
412+
##### fn options.legend.withSortBy
413+
414+
```jsonnet
415+
options.legend.withSortBy(value)
416+
```
417+
418+
PARAMETERS:
419+
420+
* **value** (`string`)
421+
422+
423+
##### fn options.legend.withSortDesc
424+
425+
```jsonnet
426+
options.legend.withSortDesc(value=true)
427+
```
428+
429+
PARAMETERS:
430+
431+
* **value** (`boolean`)
432+
- default value: `true`
433+
434+
435+
##### fn options.legend.withWidth
436+
437+
```jsonnet
438+
options.legend.withWidth(value)
439+
```
440+
441+
PARAMETERS:
442+
443+
* **value** (`number`)
444+
445+
287446
#### obj options.reduceOptions
288447

289448

examples/redMethod/output.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"y": 1
4242
},
4343
"id": 2,
44-
"pluginVersion": "v11.2.0",
44+
"pluginVersion": "v11.3.0",
4545
"targets": [
4646
{
4747
"datasource": {
@@ -77,7 +77,7 @@
7777
"y": 1
7878
},
7979
"id": 3,
80-
"pluginVersion": "v11.2.0",
80+
"pluginVersion": "v11.3.0",
8181
"targets": [
8282
{
8383
"datasource": {
@@ -138,7 +138,7 @@
138138
"y": 10
139139
},
140140
"id": 5,
141-
"pluginVersion": "v11.2.0",
141+
"pluginVersion": "v11.3.0",
142142
"targets": [
143143
{
144144
"datasource": {
@@ -174,7 +174,7 @@
174174
"y": 10
175175
},
176176
"id": 6,
177-
"pluginVersion": "v11.2.0",
177+
"pluginVersion": "v11.3.0",
178178
"targets": [
179179
{
180180
"datasource": {

examples/runtimeDashboard/output.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"displayMode": "table"
5151
}
5252
},
53-
"pluginVersion": "v11.2.0",
53+
"pluginVersion": "v11.3.0",
5454
"targets": [
5555
{
5656
"datasource": {
@@ -128,7 +128,7 @@
128128
"displayMode": "table"
129129
}
130130
},
131-
"pluginVersion": "v11.2.0",
131+
"pluginVersion": "v11.3.0",
132132
"targets": [
133133
{
134134
"datasource": {
@@ -200,7 +200,7 @@
200200
"displayMode": "table"
201201
}
202202
},
203-
"pluginVersion": "v11.2.0",
203+
"pluginVersion": "v11.3.0",
204204
"targets": [
205205
{
206206
"datasource": {
@@ -245,7 +245,7 @@
245245
"displayMode": "table"
246246
}
247247
},
248-
"pluginVersion": "v11.2.0",
248+
"pluginVersion": "v11.3.0",
249249
"targets": [
250250
{
251251
"datasource": {
@@ -295,7 +295,7 @@
295295
"displayMode": "table"
296296
}
297297
},
298-
"pluginVersion": "v11.2.0",
298+
"pluginVersion": "v11.3.0",
299299
"targets": [
300300
{
301301
"datasource": {
@@ -352,7 +352,7 @@
352352
"unit": "s"
353353
}
354354
},
355-
"pluginVersion": "v11.2.0",
355+
"pluginVersion": "v11.3.0",
356356
"targets": [
357357
{
358358
"datasource": {
@@ -422,7 +422,7 @@
422422
"displayMode": "table"
423423
}
424424
},
425-
"pluginVersion": "v11.2.0",
425+
"pluginVersion": "v11.3.0",
426426
"targets": [
427427
{
428428
"datasource": {
@@ -487,7 +487,7 @@
487487
"displayMode": "table"
488488
}
489489
},
490-
"pluginVersion": "v11.2.0",
490+
"pluginVersion": "v11.3.0",
491491
"targets": [
492492
{
493493
"datasource": {
@@ -534,7 +534,7 @@
534534
"displayMode": "table"
535535
}
536536
},
537-
"pluginVersion": "v11.2.0",
537+
"pluginVersion": "v11.3.0",
538538
"targets": [
539539
{
540540
"datasource": {
@@ -595,7 +595,7 @@
595595
"unit": "s"
596596
}
597597
},
598-
"pluginVersion": "v11.2.0",
598+
"pluginVersion": "v11.3.0",
599599
"targets": [
600600
{
601601
"datasource": {
@@ -665,7 +665,7 @@
665665
"displayMode": "table"
666666
}
667667
},
668-
"pluginVersion": "v11.2.0",
668+
"pluginVersion": "v11.3.0",
669669
"targets": [
670670
{
671671
"datasource": {

examples/simple/output.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
w: 24,
1818
},
1919
id: 1,
20-
pluginVersion: 'v11.2.0',
20+
pluginVersion: 'v11.3.0',
2121
targets: [
2222
{
2323
datasource: {

gen/grafonnet-latest/jsonnetfile.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/grafonnet-latest/main.libsonnet

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)