Skip to content

Commit

Permalink
feat: add v10.4.0 (#177)
Browse files Browse the repository at this point in the history
* feat: add v10.4.0

* fix: ensure older versions are properly generated

* fix: update pluginVersion
  • Loading branch information
Duologic authored Mar 19, 2024
1 parent 1683f63 commit b64295d
Show file tree
Hide file tree
Showing 364 changed files with 82,804 additions and 123 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.PHONY: generate regenerate localmkdocs test

LATEST := v10.3.0
LATEST := v10.4.0

generate: gen/grafonnet-latest

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

regenerate: gen/grafonnet-v*

gen/grafonnet-v10.3.0:
./scripts/generate.sh v10.3.0

gen/grafonnet-v10.2.0:
./scripts/generate.sh v10.2.0

Expand Down
24 changes: 12 additions & 12 deletions docs/API/dashboard/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ grafonnet.dashboard
* [`fn withPanels(value)`](#fn-withpanels)
* [`fn withPanelsMixin(value)`](#fn-withpanelsmixin)
* [`fn withRefresh(value)`](#fn-withrefresh)
* [`fn withRefreshMixin(value)`](#fn-withrefreshmixin)
* [`fn withSchemaVersion(value=36)`](#fn-withschemaversion)
* [`fn withTags(value)`](#fn-withtags)
* [`fn withTagsMixin(value)`](#fn-withtagsmixin)
Expand All @@ -42,6 +41,7 @@ grafonnet.dashboard
* [`fn withTo(value="now")`](#fn-timewithto)
* [`obj timepicker`](#obj-timepicker)
* [`fn withHidden(value=true)`](#fn-timepickerwithhidden)
* [`fn withNowDelay(value)`](#fn-timepickerwithnowdelay)
* [`fn withRefreshIntervals(value=["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"])`](#fn-timepickerwithrefreshintervals)
* [`fn withRefreshIntervalsMixin(value=["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"])`](#fn-timepickerwithrefreshintervalsmixin)
* [`fn withTimeOptions(value=["5m","15m","1h","6h","12h","24h","2d","7d","30d"])`](#fn-timepickerwithtimeoptions)
Expand Down Expand Up @@ -225,17 +225,6 @@ PARAMETERS:

* **value** (`string`)

Refresh rate of dashboard. Represented via interval string, e.g. "5s", "1m", "1h", "1d".
### fn withRefreshMixin

```jsonnet
withRefreshMixin(value)
```

PARAMETERS:

* **value** (`string`)

Refresh rate of dashboard. Represented via interval string, e.g. "5s", "1m", "1h", "1d".
### fn withSchemaVersion

Expand Down Expand Up @@ -426,6 +415,17 @@ PARAMETERS:
- default value: `true`

Whether timepicker is visible or not.
#### fn timepicker.withNowDelay

```jsonnet
timepicker.withNowDelay(value)
```

PARAMETERS:

* **value** (`string`)

Override the now time by entering a time delay. Use this option to accommodate known delays in data aggregation to avoid null values.
#### fn timepicker.withRefreshIntervals

```jsonnet
Expand Down
24 changes: 24 additions & 0 deletions docs/API/panel/barChart/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ grafonnet.panel.barChart
* [`fn withTitleSize(value)`](#fn-optionstextwithtitlesize)
* [`fn withValueSize(value)`](#fn-optionstextwithvaluesize)
* [`obj tooltip`](#obj-optionstooltip)
* [`fn withMaxHeight(value)`](#fn-optionstooltipwithmaxheight)
* [`fn withMaxWidth(value)`](#fn-optionstooltipwithmaxwidth)
* [`fn withMode(value)`](#fn-optionstooltipwithmode)
* [`fn withSort(value)`](#fn-optionstooltipwithsort)
* [`obj panelOptions`](#obj-paneloptions)
Expand Down Expand Up @@ -828,6 +830,28 @@ Explicit value text size
#### obj options.tooltip


##### fn options.tooltip.withMaxHeight

```jsonnet
options.tooltip.withMaxHeight(value)
```

PARAMETERS:

* **value** (`number`)


##### fn options.tooltip.withMaxWidth

```jsonnet
options.tooltip.withMaxWidth(value)
```

PARAMETERS:

* **value** (`number`)


##### fn options.tooltip.withMode

```jsonnet
Expand Down
78 changes: 78 additions & 0 deletions docs/API/panel/candlestick/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ grafonnet.panel.candlestick
* [`fn withLegend(value)`](#fn-optionswithlegend)
* [`fn withLegendMixin(value)`](#fn-optionswithlegendmixin)
* [`fn withMode(value)`](#fn-optionswithmode)
* [`fn withTooltip(value)`](#fn-optionswithtooltip)
* [`fn withTooltipMixin(value)`](#fn-optionswithtooltipmixin)
* [`obj colors`](#obj-optionscolors)
* [`fn withDown(value="red")`](#fn-optionscolorswithdown)
* [`fn withFlat(value="gray")`](#fn-optionscolorswithflat)
Expand All @@ -108,6 +110,11 @@ grafonnet.panel.candlestick
* [`fn withSortBy(value)`](#fn-optionslegendwithsortby)
* [`fn withSortDesc(value=true)`](#fn-optionslegendwithsortdesc)
* [`fn withWidth(value)`](#fn-optionslegendwithwidth)
* [`obj tooltip`](#obj-optionstooltip)
* [`fn withMaxHeight(value)`](#fn-optionstooltipwithmaxheight)
* [`fn withMaxWidth(value)`](#fn-optionstooltipwithmaxwidth)
* [`fn withMode(value)`](#fn-optionstooltipwithmode)
* [`fn withSort(value)`](#fn-optionstooltipwithsort)
* [`obj panelOptions`](#obj-paneloptions)
* [`fn withDescription(value)`](#fn-paneloptionswithdescription)
* [`fn withGridPos(h="null", w="null", x="null", y="null")`](#fn-paneloptionswithgridpos)
Expand Down Expand Up @@ -891,6 +898,28 @@ PARAMETERS:
* **value** (`string`)

Sets which dimensions are used for the visualization
#### fn options.withTooltip

```jsonnet
options.withTooltip(value)
```

PARAMETERS:

* **value** (`object`)

TODO docs
#### fn options.withTooltipMixin

```jsonnet
options.withTooltipMixin(value)
```

PARAMETERS:

* **value** (`object`)

TODO docs
#### obj options.colors


Expand Down Expand Up @@ -1133,6 +1162,55 @@ PARAMETERS:
* **value** (`number`)


#### obj options.tooltip


##### fn options.tooltip.withMaxHeight

```jsonnet
options.tooltip.withMaxHeight(value)
```

PARAMETERS:

* **value** (`number`)


##### fn options.tooltip.withMaxWidth

```jsonnet
options.tooltip.withMaxWidth(value)
```

PARAMETERS:

* **value** (`number`)


##### fn options.tooltip.withMode

```jsonnet
options.tooltip.withMode(value)
```

PARAMETERS:

* **value** (`string`)
- valid values: `"single"`, `"multi"`, `"none"`

TODO docs
##### fn options.tooltip.withSort

```jsonnet
options.tooltip.withSort(value)
```

PARAMETERS:

* **value** (`string`)
- valid values: `"asc"`, `"desc"`, `"none"`

TODO docs
### obj panelOptions


Expand Down
24 changes: 24 additions & 0 deletions docs/API/panel/heatmap/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ grafonnet.panel.heatmap
* [`fn withHeatmapTooltip(value)`](#fn-optionstooltipwithheatmaptooltip)
* [`fn withHeatmapTooltipMixin(value)`](#fn-optionstooltipwithheatmaptooltipmixin)
* [`obj HeatmapTooltip`](#obj-optionstooltipheatmaptooltip)
* [`fn withMaxHeight(value)`](#fn-optionstooltipheatmaptooltipwithmaxheight)
* [`fn withMaxWidth(value)`](#fn-optionstooltipheatmaptooltipwithmaxwidth)
* [`fn withMode(value)`](#fn-optionstooltipheatmaptooltipwithmode)
* [`fn withShowColorScale(value=true)`](#fn-optionstooltipheatmaptooltipwithshowcolorscale)
* [`fn withYHistogram(value=true)`](#fn-optionstooltipheatmaptooltipwithyhistogram)
Expand Down Expand Up @@ -1136,6 +1138,28 @@ Controls tooltip options
##### obj options.tooltip.HeatmapTooltip


###### fn options.tooltip.HeatmapTooltip.withMaxHeight

```jsonnet
options.tooltip.HeatmapTooltip.withMaxHeight(value)
```

PARAMETERS:

* **value** (`number`)


###### fn options.tooltip.HeatmapTooltip.withMaxWidth

```jsonnet
options.tooltip.HeatmapTooltip.withMaxWidth(value)
```

PARAMETERS:

* **value** (`number`)


###### fn options.tooltip.HeatmapTooltip.withMode

```jsonnet
Expand Down
39 changes: 38 additions & 1 deletion docs/API/panel/histogram/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ grafonnet.panel.histogram
* [`fn withName(value)`](#fn-librarypanelwithname)
* [`fn withUid(value)`](#fn-librarypanelwithuid)
* [`obj options`](#obj-options)
* [`fn withBucketCount(value=30)`](#fn-optionswithbucketcount)
* [`fn withBucketOffset(value=0)`](#fn-optionswithbucketoffset)
* [`fn withBucketSize(value)`](#fn-optionswithbucketsize)
* [`fn withCombine(value=true)`](#fn-optionswithcombine)
Expand All @@ -63,6 +64,8 @@ grafonnet.panel.histogram
* [`fn withSortDesc(value=true)`](#fn-optionslegendwithsortdesc)
* [`fn withWidth(value)`](#fn-optionslegendwithwidth)
* [`obj tooltip`](#obj-optionstooltip)
* [`fn withMaxHeight(value)`](#fn-optionstooltipwithmaxheight)
* [`fn withMaxWidth(value)`](#fn-optionstooltipwithmaxwidth)
* [`fn withMode(value)`](#fn-optionstooltipwithmode)
* [`fn withSort(value)`](#fn-optionstooltipwithsort)
* [`obj panelOptions`](#obj-paneloptions)
Expand Down Expand Up @@ -419,6 +422,18 @@ Library panel uid
### obj options


#### fn options.withBucketCount

```jsonnet
options.withBucketCount(value=30)
```

PARAMETERS:

* **value** (`integer`)
- default value: `30`

Bucket count (approx)
#### fn options.withBucketOffset

```jsonnet
Expand All @@ -427,7 +442,7 @@ options.withBucketOffset(value=0)

PARAMETERS:

* **value** (`integer`)
* **value** (`number`)
- default value: `0`

Offset buckets by this amount
Expand Down Expand Up @@ -621,6 +636,28 @@ PARAMETERS:
#### obj options.tooltip


##### fn options.tooltip.withMaxHeight

```jsonnet
options.tooltip.withMaxHeight(value)
```

PARAMETERS:

* **value** (`number`)


##### fn options.tooltip.withMaxWidth

```jsonnet
options.tooltip.withMaxWidth(value)
```

PARAMETERS:

* **value** (`number`)


##### fn options.tooltip.withMode

```jsonnet
Expand Down
13 changes: 13 additions & 0 deletions docs/API/panel/logs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ grafonnet.panel.logs
* [`fn withPrettifyLogMessage(value=true)`](#fn-optionswithprettifylogmessage)
* [`fn withShowCommonLabels(value=true)`](#fn-optionswithshowcommonlabels)
* [`fn withShowLabels(value=true)`](#fn-optionswithshowlabels)
* [`fn withShowLogContextToggle(value=true)`](#fn-optionswithshowlogcontexttoggle)
* [`fn withShowTime(value=true)`](#fn-optionswithshowtime)
* [`fn withSortOrder(value)`](#fn-optionswithsortorder)
* [`fn withWrapLogMessage(value=true)`](#fn-optionswithwraplogmessage)
Expand Down Expand Up @@ -170,6 +171,18 @@ PARAMETERS:
- default value: `true`


#### fn options.withShowLogContextToggle

```jsonnet
options.withShowLogContextToggle(value=true)
```

PARAMETERS:

* **value** (`boolean`)
- default value: `true`


#### fn options.withShowTime

```jsonnet
Expand Down
24 changes: 24 additions & 0 deletions docs/API/panel/pieChart/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ grafonnet.panel.pieChart
* [`fn withTitleSize(value)`](#fn-optionstextwithtitlesize)
* [`fn withValueSize(value)`](#fn-optionstextwithvaluesize)
* [`obj tooltip`](#obj-optionstooltip)
* [`fn withMaxHeight(value)`](#fn-optionstooltipwithmaxheight)
* [`fn withMaxWidth(value)`](#fn-optionstooltipwithmaxwidth)
* [`fn withMode(value)`](#fn-optionstooltipwithmode)
* [`fn withSort(value)`](#fn-optionstooltipwithsort)
* [`obj panelOptions`](#obj-paneloptions)
Expand Down Expand Up @@ -581,6 +583,28 @@ Explicit value text size
#### obj options.tooltip


##### fn options.tooltip.withMaxHeight

```jsonnet
options.tooltip.withMaxHeight(value)
```

PARAMETERS:

* **value** (`number`)


##### fn options.tooltip.withMaxWidth

```jsonnet
options.tooltip.withMaxWidth(value)
```

PARAMETERS:

* **value** (`number`)


##### fn options.tooltip.withMode

```jsonnet
Expand Down
Loading

0 comments on commit b64295d

Please sign in to comment.