Skip to content

Commit 1ce5aec

Browse files
authored
feat: release v11.1.0 (grafana#222)
* feat: release v11.1.0 * style: run make fmt and revert docs change
1 parent 733bead commit 1ce5aec

File tree

350 files changed

+94826
-300
lines changed

Some content is hidden

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

350 files changed

+94826
-300
lines changed

Makefile

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

3-
LATEST := v11.0.0
3+
LATEST := v11.1.0
44

55
generate: gen/grafonnet-latest
66

custom/util/grid.libsonnet

+6-6
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ local panelUtil = import './panel.libsonnet';
100100
// start new row as width exceeds gridWidth
101101
{
102102
panels+: [
103-
panel {
103+
panel + {
104104
gridPos+:
105105
{
106106
x: 0,
@@ -120,7 +120,7 @@ local panelUtil = import './panel.libsonnet';
120120
// enough width, place panel on current row
121121
{
122122
panels+: [
123-
panel {
123+
panel + {
124124
gridPos+:
125125
{
126126
x: acc.cursor.x,
@@ -159,9 +159,9 @@ local panelUtil = import './panel.libsonnet';
159159
},
160160
},
161161
);
162-
acc {
162+
acc + {
163163
panels+: [
164-
panel {
164+
panel + {
165165
//rows panels
166166
panels: rowPanels.panels,
167167
gridPos+: {
@@ -175,9 +175,9 @@ local panelUtil = import './panel.libsonnet';
175175
cursor:: rowPanels.cursor,
176176
}
177177
else
178-
acc {
178+
acc + {
179179
panels+: [
180-
panel {
180+
panel + {
181181
panels: [],
182182
gridPos+:
183183
{

docs/API/accesspolicy/index.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ PARAMETERS:
3434

3535
* **value** (`object`)
3636

37-
37+
The role that must apply this policy
3838
### fn withRoleMixin
3939

4040
```jsonnet
@@ -45,7 +45,7 @@ PARAMETERS:
4545

4646
* **value** (`object`)
4747

48-
48+
The role that must apply this policy
4949
### fn withRules
5050

5151
```jsonnet
@@ -80,7 +80,7 @@ PARAMETERS:
8080

8181
* **value** (`object`)
8282

83-
83+
The scope where these policies should apply
8484
### fn withScopeMixin
8585

8686
```jsonnet
@@ -91,7 +91,7 @@ PARAMETERS:
9191

9292
* **value** (`object`)
9393

94-
94+
The scope where these policies should apply
9595
### obj role
9696

9797

docs/API/alerting/contactPoint.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ PARAMETERS:
6464

6565
* **value** (`object`)
6666

67-
67+
EmbeddedContactPoint is the contact point type that is used
68+
by grafanas embedded alertmanager implementation.
6869
### fn withSettingsMixin
6970

7071
```jsonnet
@@ -75,7 +76,8 @@ PARAMETERS:
7576

7677
* **value** (`object`)
7778

78-
79+
EmbeddedContactPoint is the contact point type that is used
80+
by grafanas embedded alertmanager implementation.
7981
### fn withType
8082

8183
```jsonnet

docs/API/dashboard/annotation.md

+14-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* [`fn withDatasource(value)`](#fn-withdatasource)
99
* [`fn withDatasourceMixin(value)`](#fn-withdatasourcemixin)
1010
* [`fn withEnable(value=true)`](#fn-withenable)
11+
* [`fn withExpr(value)`](#fn-withexpr)
1112
* [`fn withFilter(value)`](#fn-withfilter)
1213
* [`fn withFilterMixin(value)`](#fn-withfiltermixin)
1314
* [`fn withHide(value=true)`](#fn-withhide)
@@ -78,6 +79,17 @@ PARAMETERS:
7879
- default value: `true`
7980

8081
When enabled the annotation query is issued with every dashboard refresh
82+
### fn withExpr
83+
84+
```jsonnet
85+
withExpr(value)
86+
```
87+
88+
PARAMETERS:
89+
90+
* **value** (`string`)
91+
92+
8193
### fn withFilter
8294

8395
```jsonnet
@@ -88,7 +100,7 @@ PARAMETERS:
88100

89101
* **value** (`object`)
90102

91-
103+
Filters to apply when fetching annotations
92104
### fn withFilterMixin
93105

94106
```jsonnet
@@ -99,7 +111,7 @@ PARAMETERS:
99111

100112
* **value** (`object`)
101113

102-
114+
Filters to apply when fetching annotations
103115
### fn withHide
104116

105117
```jsonnet

docs/API/librarypanel/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ PARAMETERS:
186186

187187
* **value** (`object`)
188188

189-
189+
Object storage metadata
190190
### fn withMetaMixin
191191

192192
```jsonnet
@@ -197,7 +197,7 @@ PARAMETERS:
197197

198198
* **value** (`object`)
199199

200-
200+
Object storage metadata
201201
### fn withModel
202202

203203
```jsonnet

docs/API/panel/barChart/index.md

+18-12
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ grafonnet.panel.barChart
2626
* [`fn withAxisSoftMin(value)`](#fn-fieldconfigdefaultscustomwithaxissoftmin)
2727
* [`fn withAxisWidth(value)`](#fn-fieldconfigdefaultscustomwithaxiswidth)
2828
* [`fn withFillOpacity(value=80)`](#fn-fieldconfigdefaultscustomwithfillopacity)
29-
* [`fn withGradientMode(value)`](#fn-fieldconfigdefaultscustomwithgradientmode)
29+
* [`fn withGradientMode(value="none")`](#fn-fieldconfigdefaultscustomwithgradientmode)
3030
* [`fn withHideFrom(value)`](#fn-fieldconfigdefaultscustomwithhidefrom)
3131
* [`fn withHideFromMixin(value)`](#fn-fieldconfigdefaultscustomwithhidefrommixin)
3232
* [`fn withLineWidth(value=1)`](#fn-fieldconfigdefaultscustomwithlinewidth)
@@ -55,9 +55,9 @@ grafonnet.panel.barChart
5555
* [`fn withGroupWidth(value=0.7)`](#fn-optionswithgroupwidth)
5656
* [`fn withLegend(value)`](#fn-optionswithlegend)
5757
* [`fn withLegendMixin(value)`](#fn-optionswithlegendmixin)
58-
* [`fn withOrientation(value)`](#fn-optionswithorientation)
59-
* [`fn withShowValue(value)`](#fn-optionswithshowvalue)
60-
* [`fn withStacking(value)`](#fn-optionswithstacking)
58+
* [`fn withOrientation(value="auto")`](#fn-optionswithorientation)
59+
* [`fn withShowValue(value="auto")`](#fn-optionswithshowvalue)
60+
* [`fn withStacking(value="none")`](#fn-optionswithstacking)
6161
* [`fn withText(value)`](#fn-optionswithtext)
6262
* [`fn withTextMixin(value)`](#fn-optionswithtextmixin)
6363
* [`fn withTooltip(value)`](#fn-optionswithtooltip)
@@ -70,9 +70,9 @@ grafonnet.panel.barChart
7070
* [`fn withAsTable(value=true)`](#fn-optionslegendwithastable)
7171
* [`fn withCalcs(value=[])`](#fn-optionslegendwithcalcs)
7272
* [`fn withCalcsMixin(value=[])`](#fn-optionslegendwithcalcsmixin)
73-
* [`fn withDisplayMode(value)`](#fn-optionslegendwithdisplaymode)
73+
* [`fn withDisplayMode(value="list")`](#fn-optionslegendwithdisplaymode)
7474
* [`fn withIsVisible(value=true)`](#fn-optionslegendwithisvisible)
75-
* [`fn withPlacement(value)`](#fn-optionslegendwithplacement)
75+
* [`fn withPlacement(value="bottom")`](#fn-optionslegendwithplacement)
7676
* [`fn withShowLegend(value=true)`](#fn-optionslegendwithshowlegend)
7777
* [`fn withSortBy(value)`](#fn-optionslegendwithsortby)
7878
* [`fn withSortDesc(value=true)`](#fn-optionslegendwithsortdesc)
@@ -273,12 +273,13 @@ Controls the fill opacity of the bars.
273273
###### fn fieldConfig.defaults.custom.withGradientMode
274274

275275
```jsonnet
276-
fieldConfig.defaults.custom.withGradientMode(value)
276+
fieldConfig.defaults.custom.withGradientMode(value="none")
277277
```
278278

279279
PARAMETERS:
280280

281281
* **value** (`string`)
282+
- default value: `"none"`
282283
- valid values: `"none"`, `"opacity"`, `"hue"`, `"scheme"`
283284

284285
TODO docs
@@ -564,36 +565,39 @@ TODO docs
564565
#### fn options.withOrientation
565566

566567
```jsonnet
567-
options.withOrientation(value)
568+
options.withOrientation(value="auto")
568569
```
569570

570571
PARAMETERS:
571572

572573
* **value** (`string`)
574+
- default value: `"auto"`
573575
- valid values: `"auto"`, `"vertical"`, `"horizontal"`
574576

575577
TODO docs
576578
#### fn options.withShowValue
577579

578580
```jsonnet
579-
options.withShowValue(value)
581+
options.withShowValue(value="auto")
580582
```
581583

582584
PARAMETERS:
583585

584586
* **value** (`string`)
587+
- default value: `"auto"`
585588
- valid values: `"auto"`, `"never"`, `"always"`
586589

587590
TODO docs
588591
#### fn options.withStacking
589592

590593
```jsonnet
591-
options.withStacking(value)
594+
options.withStacking(value="none")
592595
```
593596

594597
PARAMETERS:
595598

596599
* **value** (`string`)
600+
- default value: `"none"`
597601
- valid values: `"none"`, `"normal"`, `"percent"`
598602

599603
TODO docs
@@ -730,12 +734,13 @@ PARAMETERS:
730734
##### fn options.legend.withDisplayMode
731735

732736
```jsonnet
733-
options.legend.withDisplayMode(value)
737+
options.legend.withDisplayMode(value="list")
734738
```
735739

736740
PARAMETERS:
737741

738742
* **value** (`string`)
743+
- default value: `"list"`
739744
- valid values: `"list"`, `"table"`, `"hidden"`
740745

741746
TODO docs
@@ -755,12 +760,13 @@ PARAMETERS:
755760
##### fn options.legend.withPlacement
756761

757762
```jsonnet
758-
options.legend.withPlacement(value)
763+
options.legend.withPlacement(value="bottom")
759764
```
760765

761766
PARAMETERS:
762767

763768
* **value** (`string`)
769+
- default value: `"bottom"`
764770
- valid values: `"bottom"`, `"right"`
765771

766772
TODO docs

docs/API/panel/barGauge/index.md

+12-8
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@ grafonnet.panel.barGauge
1717
* [`fn withName(value)`](#fn-librarypanelwithname)
1818
* [`fn withUid(value)`](#fn-librarypanelwithuid)
1919
* [`obj options`](#obj-options)
20-
* [`fn withDisplayMode(value)`](#fn-optionswithdisplaymode)
20+
* [`fn withDisplayMode(value="gradient")`](#fn-optionswithdisplaymode)
2121
* [`fn withMaxVizHeight(value=300)`](#fn-optionswithmaxvizheight)
2222
* [`fn withMinVizHeight(value=16)`](#fn-optionswithminvizheight)
2323
* [`fn withMinVizWidth(value=8)`](#fn-optionswithminvizwidth)
24-
* [`fn withNamePlacement(value)`](#fn-optionswithnameplacement)
24+
* [`fn withNamePlacement(value="auto")`](#fn-optionswithnameplacement)
2525
* [`fn withOrientation(value)`](#fn-optionswithorientation)
2626
* [`fn withReduceOptions(value)`](#fn-optionswithreduceoptions)
2727
* [`fn withReduceOptionsMixin(value)`](#fn-optionswithreduceoptionsmixin)
2828
* [`fn withShowUnfilled(value=true)`](#fn-optionswithshowunfilled)
29-
* [`fn withSizing(value)`](#fn-optionswithsizing)
29+
* [`fn withSizing(value="auto")`](#fn-optionswithsizing)
3030
* [`fn withText(value)`](#fn-optionswithtext)
3131
* [`fn withTextMixin(value)`](#fn-optionswithtextmixin)
32-
* [`fn withValueMode(value)`](#fn-optionswithvaluemode)
32+
* [`fn withValueMode(value="color")`](#fn-optionswithvaluemode)
3333
* [`obj reduceOptions`](#obj-optionsreduceoptions)
3434
* [`fn withCalcs(value)`](#fn-optionsreduceoptionswithcalcs)
3535
* [`fn withCalcsMixin(value)`](#fn-optionsreduceoptionswithcalcsmixin)
@@ -130,12 +130,13 @@ Library panel uid
130130
#### fn options.withDisplayMode
131131

132132
```jsonnet
133-
options.withDisplayMode(value)
133+
options.withDisplayMode(value="gradient")
134134
```
135135

136136
PARAMETERS:
137137

138138
* **value** (`string`)
139+
- default value: `"gradient"`
139140
- valid values: `"basic"`, `"lcd"`, `"gradient"`
140141

141142
Enum expressing the possible display modes
@@ -179,12 +180,13 @@ PARAMETERS:
179180
#### fn options.withNamePlacement
180181

181182
```jsonnet
182-
options.withNamePlacement(value)
183+
options.withNamePlacement(value="auto")
183184
```
184185

185186
PARAMETERS:
186187

187188
* **value** (`string`)
189+
- default value: `"auto"`
188190
- valid values: `"auto"`, `"top"`, `"left"`
189191

190192
Allows for the bar gauge name to be placed explicitly
@@ -237,12 +239,13 @@ PARAMETERS:
237239
#### fn options.withSizing
238240

239241
```jsonnet
240-
options.withSizing(value)
242+
options.withSizing(value="auto")
241243
```
242244

243245
PARAMETERS:
244246

245247
* **value** (`string`)
248+
- default value: `"auto"`
246249
- valid values: `"auto"`, `"manual"`
247250

248251
Allows for the bar gauge size to be set explicitly
@@ -271,12 +274,13 @@ TODO docs
271274
#### fn options.withValueMode
272275

273276
```jsonnet
274-
options.withValueMode(value)
277+
options.withValueMode(value="color")
275278
```
276279

277280
PARAMETERS:
278281

279282
* **value** (`string`)
283+
- default value: `"color"`
280284
- valid values: `"color"`, `"text"`, `"hidden"`
281285

282286
Allows for the table cell gauge display type to set the gauge mode.

0 commit comments

Comments
 (0)