Skip to content

Commit

Permalink
run make generate again
Browse files Browse the repository at this point in the history
  • Loading branch information
Duologic committed Dec 10, 2024
1 parent e1cdad8 commit 5971b3a
Show file tree
Hide file tree
Showing 75 changed files with 3,646 additions and 458 deletions.
23 changes: 9 additions & 14 deletions docs/API/alerting/contactPoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ PARAMETERS:
* **value** (`boolean`)
- default value: `true`

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

### fn withName

```jsonnet
Expand All @@ -40,8 +39,8 @@ PARAMETERS:

* **value** (`string`)

EmbeddedContactPoint is the contact point type that is used
by grafanas embedded alertmanager implementation.
Name is used as grouping key in the UI. Contact points with the
same name will be grouped in the UI.
### fn withProvenance

```jsonnet
Expand All @@ -52,8 +51,7 @@ PARAMETERS:

* **value** (`string`)

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

### fn withSettings

```jsonnet
Expand All @@ -64,8 +62,7 @@ PARAMETERS:

* **value** (`object`)

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

### fn withSettingsMixin

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

* **value** (`object`)

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

### fn withType

```jsonnet
Expand All @@ -89,8 +85,7 @@ PARAMETERS:
* **value** (`string`)
- valid values: `"alertmanager"`, `" dingding"`, `" discord"`, `" email"`, `" googlechat"`, `" kafka"`, `" line"`, `" opsgenie"`, `" pagerduty"`, `" pushover"`, `" sensugo"`, `" slack"`, `" teams"`, `" telegram"`, `" threema"`, `" victorops"`, `" webhook"`, `" wecom"`

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

### fn withUid

```jsonnet
Expand All @@ -101,5 +96,5 @@ PARAMETERS:

* **value** (`string`)

EmbeddedContactPoint is the contact point type that is used
by grafanas embedded alertmanager implementation.
UID is the unique identifier of the contact point. The UID can be
set by the user.
32 changes: 10 additions & 22 deletions docs/API/alerting/notificationPolicy/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ PARAMETERS:

* **value** (`string`)

A Route is a node that contains definitions of how to handle alerts. This is modified
from the upstream alertmanager in that it adds the ObjectMatchers property.

### fn withContinue

```jsonnet
Expand All @@ -47,8 +46,7 @@ PARAMETERS:
* **value** (`boolean`)
- default value: `true`

A Route is a node that contains definitions of how to handle alerts. This is modified
from the upstream alertmanager in that it adds the ObjectMatchers property.

### fn withGroupBy

```jsonnet
Expand All @@ -59,8 +57,7 @@ PARAMETERS:

* **value** (`array`)

A Route is a node that contains definitions of how to handle alerts. This is modified
from the upstream alertmanager in that it adds the ObjectMatchers property.

### fn withGroupByMixin

```jsonnet
Expand All @@ -71,8 +68,7 @@ PARAMETERS:

* **value** (`array`)

A Route is a node that contains definitions of how to handle alerts. This is modified
from the upstream alertmanager in that it adds the ObjectMatchers property.

### fn withGroupInterval

```jsonnet
Expand All @@ -83,8 +79,7 @@ PARAMETERS:

* **value** (`string`)

A Route is a node that contains definitions of how to handle alerts. This is modified
from the upstream alertmanager in that it adds the ObjectMatchers property.

### fn withGroupWait

```jsonnet
Expand All @@ -95,8 +90,7 @@ PARAMETERS:

* **value** (`string`)

A Route is a node that contains definitions of how to handle alerts. This is modified
from the upstream alertmanager in that it adds the ObjectMatchers property.

### fn withMatchers

```jsonnet
Expand Down Expand Up @@ -133,8 +127,7 @@ PARAMETERS:

* **value** (`array`)

A Route is a node that contains definitions of how to handle alerts. This is modified
from the upstream alertmanager in that it adds the ObjectMatchers property.

### fn withMuteTimeIntervalsMixin

```jsonnet
Expand All @@ -145,8 +138,7 @@ PARAMETERS:

* **value** (`array`)

A Route is a node that contains definitions of how to handle alerts. This is modified
from the upstream alertmanager in that it adds the ObjectMatchers property.

### fn withPolicy

```jsonnet
Expand All @@ -157,8 +149,7 @@ PARAMETERS:

* **value** (`array`)

A Route is a node that contains definitions of how to handle alerts. This is modified
from the upstream alertmanager in that it adds the ObjectMatchers property.

### fn withPolicyMixin

```jsonnet
Expand All @@ -169,8 +160,7 @@ PARAMETERS:

* **value** (`array`)

A Route is a node that contains definitions of how to handle alerts. This is modified
from the upstream alertmanager in that it adds the ObjectMatchers property.

### fn withRepeatInterval

```jsonnet
Expand All @@ -181,5 +171,3 @@ PARAMETERS:

* **value** (`string`)

A Route is a node that contains definitions of how to handle alerts. This is modified
from the upstream alertmanager in that it adds the ObjectMatchers property.
11 changes: 6 additions & 5 deletions docs/API/alerting/ruleGroup/rule/data.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ PARAMETERS:

* **value** (`string`)


Grafana data source unique identifier; it should be '__expr__' for a Server Side Expression operation.
### fn withModel

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

* **value** (`object`)


JSON is the raw JSON query and includes the above properties as well as custom properties.
### fn withModelMixin

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

* **value** (`object`)


JSON is the raw JSON query and includes the above properties as well as custom properties.
### fn withQueryType

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

* **value** (`string`)


QueryType is an optional identifier for the type of query.
It can be used to distinguish different types of queries.
### fn withRefId

```jsonnet
Expand All @@ -71,7 +72,7 @@ PARAMETERS:

* **value** (`string`)


RefID is the unique identifier of the query, set by the frontend call.
### fn withRelativeTimeRange

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

## Subpackages

* [model.fieldConfig.defaults.links](model/fieldConfig/defaults/links.md)
* [model.fieldConfig.defaults.thresholds.steps](model/fieldConfig/defaults/thresholds/steps.md)
* [model.fieldConfig.overrides](model/fieldConfig/overrides/index.md)
* [model.links](model/links.md)
Expand Down Expand Up @@ -208,8 +209,7 @@ PARAMETERS:

* **value** (`object`)

TODO: should be the same panel schema defined in dashboard
Typescript: Omit<Panel, 'gridPos' | 'id' | 'libraryPanel'>;
Dashboard panels are the basic visualization building blocks.
### fn withModelMixin

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

* **value** (`object`)

TODO: should be the same panel schema defined in dashboard
Typescript: Omit<Panel, 'gridPos' | 'id' | 'libraryPanel'>;
Dashboard panels are the basic visualization building blocks.
### fn withName

```jsonnet
Expand Down
146 changes: 146 additions & 0 deletions docs/API/librarypanel/model/fieldConfig/defaults/links.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
# links



## Index

* [`fn withAsDropdown(value=true)`](#fn-withasdropdown)
* [`fn withIcon(value)`](#fn-withicon)
* [`fn withIncludeVars(value=true)`](#fn-withincludevars)
* [`fn withKeepTime(value=true)`](#fn-withkeeptime)
* [`fn withTags(value)`](#fn-withtags)
* [`fn withTagsMixin(value)`](#fn-withtagsmixin)
* [`fn withTargetBlank(value=true)`](#fn-withtargetblank)
* [`fn withTitle(value)`](#fn-withtitle)
* [`fn withTooltip(value)`](#fn-withtooltip)
* [`fn withType(value)`](#fn-withtype)
* [`fn withUrl(value)`](#fn-withurl)

## Fields

### fn withAsDropdown

```jsonnet
withAsDropdown(value=true)
```

PARAMETERS:

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

If true, all dashboards links will be displayed in a dropdown. If false, all dashboards links will be displayed side by side. Only valid if the type is dashboards
### fn withIcon

```jsonnet
withIcon(value)
```

PARAMETERS:

* **value** (`string`)

Icon name to be displayed with the link
### fn withIncludeVars

```jsonnet
withIncludeVars(value=true)
```

PARAMETERS:

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

If true, includes current template variables values in the link as query params
### fn withKeepTime

```jsonnet
withKeepTime(value=true)
```

PARAMETERS:

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

If true, includes current time range in the link as query params
### fn withTags

```jsonnet
withTags(value)
```

PARAMETERS:

* **value** (`array`)

List of tags to limit the linked dashboards. If empty, all dashboards will be displayed. Only valid if the type is dashboards
### fn withTagsMixin

```jsonnet
withTagsMixin(value)
```

PARAMETERS:

* **value** (`array`)

List of tags to limit the linked dashboards. If empty, all dashboards will be displayed. Only valid if the type is dashboards
### fn withTargetBlank

```jsonnet
withTargetBlank(value=true)
```

PARAMETERS:

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

If true, the link will be opened in a new tab
### fn withTitle

```jsonnet
withTitle(value)
```

PARAMETERS:

* **value** (`string`)

Title to display with the link
### fn withTooltip

```jsonnet
withTooltip(value)
```

PARAMETERS:

* **value** (`string`)

Tooltip to display when the user hovers their mouse over it
### fn withType

```jsonnet
withType(value)
```

PARAMETERS:

* **value** (`string`)
- valid values: `"link"`, `"dashboards"`

Dashboard Link type. Accepted values are dashboards (to refer to another dashboard) and link (to refer to an external resource)
### fn withUrl

```jsonnet
withUrl(value)
```

PARAMETERS:

* **value** (`string`)

Link URL. Only required/valid if the type is link
Loading

0 comments on commit 5971b3a

Please sign in to comment.