Commit ff2837c6 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'fix-prometheus-docs-typo' into 'master'

Update weight/priority definitions in prometheus dashboard docs

See merge request gitlab-org/gitlab-ce!30793
parents b9ec2970 f5dd3561
...@@ -145,7 +145,6 @@ To configure a custom dashboard: ...@@ -145,7 +145,6 @@ To configure a custom dashboard:
```yaml ```yaml
dashboard: 'Dashboard Title' dashboard: 'Dashboard Title'
priority: 2
panel_groups: panel_groups:
- group: 'Group Title' - group: 'Group Title'
panels: panels:
...@@ -178,7 +177,6 @@ The following tables outline the details of expected properties. ...@@ -178,7 +177,6 @@ The following tables outline the details of expected properties.
| Property | Type | Required | Description | | Property | Type | Required | Description |
| ------ | ------ | ------ | ------ | | ------ | ------ | ------ | ------ |
| `dashboard` | string | yes | Heading for the dashboard. Only one dashboard should be defined per file. | | `dashboard` | string | yes | Heading for the dashboard. Only one dashboard should be defined per file. |
| `priority` | number | no, default to definition order | Order to appear in dashboard dropdown. Lower number means higher priority, which will be higher in the dropdown. Numbers do not need to be consecutive. |
| `panel_groups` | array | yes | The panel groups which should be on the dashboard. | | `panel_groups` | array | yes | The panel groups which should be on the dashboard. |
**Panel group (`panel_groups`) properties:** **Panel group (`panel_groups`) properties:**
...@@ -186,7 +184,7 @@ The following tables outline the details of expected properties. ...@@ -186,7 +184,7 @@ The following tables outline the details of expected properties.
| Property | Type | Required | Description | | Property | Type | Required | Description |
| ------ | ------ | ------ | ------ | | ------ | ------ | ------ | ------ |
| `group` | string | required | Heading for the panel group. | | `group` | string | required | Heading for the panel group. |
| `priority` | number | optional, defaults to order in file | Order to appear on the dashboard. Lower number means higher priority, which will be higher on the page. Numbers do not need to be consecutive. | | `priority` | number | optional, defaults to order in file | Order to appear on the dashboard. Higher number means higher priority, which will be higher on the page. Numbers do not need to be consecutive. |
| `panels` | array | required | The panels which should be in the panel group. | | `panels` | array | required | The panels which should be in the panel group. |
**Panel (`panels`) properties:** **Panel (`panels`) properties:**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment