Skip to content

Commit

Permalink
feat: release v11.1.0 (#222)
Browse files Browse the repository at this point in the history
* feat: release v11.1.0

* style: run make fmt and revert docs change
  • Loading branch information
Duologic authored Oct 1, 2024
1 parent 733bead commit 1ce5aec
Show file tree
Hide file tree
Showing 350 changed files with 94,826 additions and 300 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.PHONY: generate regenerate localmkdocs test

LATEST := v11.0.0
LATEST := v11.1.0

generate: gen/grafonnet-latest

Expand Down
12 changes: 6 additions & 6 deletions custom/util/grid.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ local panelUtil = import './panel.libsonnet';
// start new row as width exceeds gridWidth
{
panels+: [
panel {
panel + {
gridPos+:
{
x: 0,
Expand All @@ -120,7 +120,7 @@ local panelUtil = import './panel.libsonnet';
// enough width, place panel on current row
{
panels+: [
panel {
panel + {
gridPos+:
{
x: acc.cursor.x,
Expand Down Expand Up @@ -159,9 +159,9 @@ local panelUtil = import './panel.libsonnet';
},
},
);
acc {
acc + {
panels+: [
panel {
panel + {
//rows panels
panels: rowPanels.panels,
gridPos+: {
Expand All @@ -175,9 +175,9 @@ local panelUtil = import './panel.libsonnet';
cursor:: rowPanels.cursor,
}
else
acc {
acc + {
panels+: [
panel {
panel + {
panels: [],
gridPos+:
{
Expand Down
8 changes: 4 additions & 4 deletions docs/API/accesspolicy/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ PARAMETERS:

* **value** (`object`)


The role that must apply this policy
### fn withRoleMixin

```jsonnet
Expand All @@ -45,7 +45,7 @@ PARAMETERS:

* **value** (`object`)


The role that must apply this policy
### fn withRules

```jsonnet
Expand Down Expand Up @@ -80,7 +80,7 @@ PARAMETERS:

* **value** (`object`)


The scope where these policies should apply
### fn withScopeMixin

```jsonnet
Expand All @@ -91,7 +91,7 @@ PARAMETERS:

* **value** (`object`)


The scope where these policies should apply
### obj role


Expand Down
6 changes: 4 additions & 2 deletions docs/API/alerting/contactPoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ PARAMETERS:

* **value** (`object`)


EmbeddedContactPoint is the contact point type that is used
by grafanas embedded alertmanager implementation.
### fn withSettingsMixin

```jsonnet
Expand All @@ -75,7 +76,8 @@ PARAMETERS:

* **value** (`object`)


EmbeddedContactPoint is the contact point type that is used
by grafanas embedded alertmanager implementation.
### fn withType

```jsonnet
Expand Down
16 changes: 14 additions & 2 deletions docs/API/dashboard/annotation.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* [`fn withDatasource(value)`](#fn-withdatasource)
* [`fn withDatasourceMixin(value)`](#fn-withdatasourcemixin)
* [`fn withEnable(value=true)`](#fn-withenable)
* [`fn withExpr(value)`](#fn-withexpr)
* [`fn withFilter(value)`](#fn-withfilter)
* [`fn withFilterMixin(value)`](#fn-withfiltermixin)
* [`fn withHide(value=true)`](#fn-withhide)
Expand Down Expand Up @@ -78,6 +79,17 @@ PARAMETERS:
- default value: `true`

When enabled the annotation query is issued with every dashboard refresh
### fn withExpr

```jsonnet
withExpr(value)
```

PARAMETERS:

* **value** (`string`)


### fn withFilter

```jsonnet
Expand All @@ -88,7 +100,7 @@ PARAMETERS:

* **value** (`object`)


Filters to apply when fetching annotations
### fn withFilterMixin

```jsonnet
Expand All @@ -99,7 +111,7 @@ PARAMETERS:

* **value** (`object`)


Filters to apply when fetching annotations
### fn withHide

```jsonnet
Expand Down
4 changes: 2 additions & 2 deletions docs/API/librarypanel/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ PARAMETERS:

* **value** (`object`)


Object storage metadata
### fn withMetaMixin

```jsonnet
Expand All @@ -197,7 +197,7 @@ PARAMETERS:

* **value** (`object`)


Object storage metadata
### fn withModel

```jsonnet
Expand Down
30 changes: 18 additions & 12 deletions docs/API/panel/barChart/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ grafonnet.panel.barChart
* [`fn withAxisSoftMin(value)`](#fn-fieldconfigdefaultscustomwithaxissoftmin)
* [`fn withAxisWidth(value)`](#fn-fieldconfigdefaultscustomwithaxiswidth)
* [`fn withFillOpacity(value=80)`](#fn-fieldconfigdefaultscustomwithfillopacity)
* [`fn withGradientMode(value)`](#fn-fieldconfigdefaultscustomwithgradientmode)
* [`fn withGradientMode(value="none")`](#fn-fieldconfigdefaultscustomwithgradientmode)
* [`fn withHideFrom(value)`](#fn-fieldconfigdefaultscustomwithhidefrom)
* [`fn withHideFromMixin(value)`](#fn-fieldconfigdefaultscustomwithhidefrommixin)
* [`fn withLineWidth(value=1)`](#fn-fieldconfigdefaultscustomwithlinewidth)
Expand Down Expand Up @@ -55,9 +55,9 @@ grafonnet.panel.barChart
* [`fn withGroupWidth(value=0.7)`](#fn-optionswithgroupwidth)
* [`fn withLegend(value)`](#fn-optionswithlegend)
* [`fn withLegendMixin(value)`](#fn-optionswithlegendmixin)
* [`fn withOrientation(value)`](#fn-optionswithorientation)
* [`fn withShowValue(value)`](#fn-optionswithshowvalue)
* [`fn withStacking(value)`](#fn-optionswithstacking)
* [`fn withOrientation(value="auto")`](#fn-optionswithorientation)
* [`fn withShowValue(value="auto")`](#fn-optionswithshowvalue)
* [`fn withStacking(value="none")`](#fn-optionswithstacking)
* [`fn withText(value)`](#fn-optionswithtext)
* [`fn withTextMixin(value)`](#fn-optionswithtextmixin)
* [`fn withTooltip(value)`](#fn-optionswithtooltip)
Expand All @@ -70,9 +70,9 @@ grafonnet.panel.barChart
* [`fn withAsTable(value=true)`](#fn-optionslegendwithastable)
* [`fn withCalcs(value=[])`](#fn-optionslegendwithcalcs)
* [`fn withCalcsMixin(value=[])`](#fn-optionslegendwithcalcsmixin)
* [`fn withDisplayMode(value)`](#fn-optionslegendwithdisplaymode)
* [`fn withDisplayMode(value="list")`](#fn-optionslegendwithdisplaymode)
* [`fn withIsVisible(value=true)`](#fn-optionslegendwithisvisible)
* [`fn withPlacement(value)`](#fn-optionslegendwithplacement)
* [`fn withPlacement(value="bottom")`](#fn-optionslegendwithplacement)
* [`fn withShowLegend(value=true)`](#fn-optionslegendwithshowlegend)
* [`fn withSortBy(value)`](#fn-optionslegendwithsortby)
* [`fn withSortDesc(value=true)`](#fn-optionslegendwithsortdesc)
Expand Down Expand Up @@ -273,12 +273,13 @@ Controls the fill opacity of the bars.
###### fn fieldConfig.defaults.custom.withGradientMode

```jsonnet
fieldConfig.defaults.custom.withGradientMode(value)
fieldConfig.defaults.custom.withGradientMode(value="none")
```

PARAMETERS:

* **value** (`string`)
- default value: `"none"`
- valid values: `"none"`, `"opacity"`, `"hue"`, `"scheme"`

TODO docs
Expand Down Expand Up @@ -564,36 +565,39 @@ TODO docs
#### fn options.withOrientation

```jsonnet
options.withOrientation(value)
options.withOrientation(value="auto")
```

PARAMETERS:

* **value** (`string`)
- default value: `"auto"`
- valid values: `"auto"`, `"vertical"`, `"horizontal"`

TODO docs
#### fn options.withShowValue

```jsonnet
options.withShowValue(value)
options.withShowValue(value="auto")
```

PARAMETERS:

* **value** (`string`)
- default value: `"auto"`
- valid values: `"auto"`, `"never"`, `"always"`

TODO docs
#### fn options.withStacking

```jsonnet
options.withStacking(value)
options.withStacking(value="none")
```

PARAMETERS:

* **value** (`string`)
- default value: `"none"`
- valid values: `"none"`, `"normal"`, `"percent"`

TODO docs
Expand Down Expand Up @@ -730,12 +734,13 @@ PARAMETERS:
##### fn options.legend.withDisplayMode

```jsonnet
options.legend.withDisplayMode(value)
options.legend.withDisplayMode(value="list")
```

PARAMETERS:

* **value** (`string`)
- default value: `"list"`
- valid values: `"list"`, `"table"`, `"hidden"`

TODO docs
Expand All @@ -755,12 +760,13 @@ PARAMETERS:
##### fn options.legend.withPlacement

```jsonnet
options.legend.withPlacement(value)
options.legend.withPlacement(value="bottom")
```

PARAMETERS:

* **value** (`string`)
- default value: `"bottom"`
- valid values: `"bottom"`, `"right"`

TODO docs
Expand Down
20 changes: 12 additions & 8 deletions docs/API/panel/barGauge/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ grafonnet.panel.barGauge
* [`fn withName(value)`](#fn-librarypanelwithname)
* [`fn withUid(value)`](#fn-librarypanelwithuid)
* [`obj options`](#obj-options)
* [`fn withDisplayMode(value)`](#fn-optionswithdisplaymode)
* [`fn withDisplayMode(value="gradient")`](#fn-optionswithdisplaymode)
* [`fn withMaxVizHeight(value=300)`](#fn-optionswithmaxvizheight)
* [`fn withMinVizHeight(value=16)`](#fn-optionswithminvizheight)
* [`fn withMinVizWidth(value=8)`](#fn-optionswithminvizwidth)
* [`fn withNamePlacement(value)`](#fn-optionswithnameplacement)
* [`fn withNamePlacement(value="auto")`](#fn-optionswithnameplacement)
* [`fn withOrientation(value)`](#fn-optionswithorientation)
* [`fn withReduceOptions(value)`](#fn-optionswithreduceoptions)
* [`fn withReduceOptionsMixin(value)`](#fn-optionswithreduceoptionsmixin)
* [`fn withShowUnfilled(value=true)`](#fn-optionswithshowunfilled)
* [`fn withSizing(value)`](#fn-optionswithsizing)
* [`fn withSizing(value="auto")`](#fn-optionswithsizing)
* [`fn withText(value)`](#fn-optionswithtext)
* [`fn withTextMixin(value)`](#fn-optionswithtextmixin)
* [`fn withValueMode(value)`](#fn-optionswithvaluemode)
* [`fn withValueMode(value="color")`](#fn-optionswithvaluemode)
* [`obj reduceOptions`](#obj-optionsreduceoptions)
* [`fn withCalcs(value)`](#fn-optionsreduceoptionswithcalcs)
* [`fn withCalcsMixin(value)`](#fn-optionsreduceoptionswithcalcsmixin)
Expand Down Expand Up @@ -130,12 +130,13 @@ Library panel uid
#### fn options.withDisplayMode

```jsonnet
options.withDisplayMode(value)
options.withDisplayMode(value="gradient")
```

PARAMETERS:

* **value** (`string`)
- default value: `"gradient"`
- valid values: `"basic"`, `"lcd"`, `"gradient"`

Enum expressing the possible display modes
Expand Down Expand Up @@ -179,12 +180,13 @@ PARAMETERS:
#### fn options.withNamePlacement

```jsonnet
options.withNamePlacement(value)
options.withNamePlacement(value="auto")
```

PARAMETERS:

* **value** (`string`)
- default value: `"auto"`
- valid values: `"auto"`, `"top"`, `"left"`

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

```jsonnet
options.withSizing(value)
options.withSizing(value="auto")
```

PARAMETERS:

* **value** (`string`)
- default value: `"auto"`
- valid values: `"auto"`, `"manual"`

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

```jsonnet
options.withValueMode(value)
options.withValueMode(value="color")
```

PARAMETERS:

* **value** (`string`)
- default value: `"color"`
- valid values: `"color"`, `"text"`, `"hidden"`

Allows for the table cell gauge display type to set the gauge mode.
Expand Down
Loading

0 comments on commit 1ce5aec

Please sign in to comment.