Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: release v11.2.0 #223

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
.PHONY: generate regenerate localmkdocs test

LATEST := v11.0.0
LATEST := v11.2.0

generate: gen/grafonnet-latest

gen/grafonnet-latest:
./scripts/generate.sh ${LATEST} && \
./scripts/generate_latest.sh ${LATEST}
./scripts/generate_latest.sh ${LATEST} && \
sed -i 's/v11\..\.0/$(LATEST)/' examples/*/output.json

localmkdocs:
python -m venv .mkdocs/.venv; \
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
12 changes: 12 additions & 0 deletions docs/API/alerting/notificationTemplate.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ grafonnet.alerting.notificationTemplate
* [`fn withName(value)`](#fn-withname)
* [`fn withProvenance(value)`](#fn-withprovenance)
* [`fn withTemplate(value)`](#fn-withtemplate)
* [`fn withVersion(value)`](#fn-withversion)

## Fields

Expand Down Expand Up @@ -42,3 +43,14 @@ PARAMETERS:

* **value** (`string`)


### fn withVersion

```jsonnet
withVersion(value)
```

PARAMETERS:

* **value** (`string`)

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
1 change: 0 additions & 1 deletion docs/API/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@
* [query](query/index.md)
* [role](role.md)
* [rolebinding](rolebinding.md)
* [team](team.md)
* [util](util.md)
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
Loading