Skip to content

Commit

Permalink
Merge pull request #154 from cohalz/fix/dashboard-doc
Browse files Browse the repository at this point in the history
chore(doc): Require widget title input.
  • Loading branch information
inommm committed May 18, 2023
2 parents 3d38da1 + 4078d9d commit e629be3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/resources/dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ resource "mackerel_dashboard" "alert_status" {

### graph

* `title` - The title of graph widget.
* `title` - (Required) The title of graph widget.
* `host` - The host graph.
* `host_id` - (Required) The ID of host.
* `name` - (Required) The name of graph (e.g., "loadavg")
Expand Down Expand Up @@ -170,7 +170,7 @@ resource "mackerel_dashboard" "alert_status" {

### value

* `title` - The title of value widget.
* `title` - (Required) The title of value widget.
* `metric` - The metric of value widget.
* `host` - The host metric.
* `host_id` - (Required) The ID of host.
Expand All @@ -190,7 +190,7 @@ resource "mackerel_dashboard" "alert_status" {

### markdown

* `title` - The title of markdown widget.
* `title` - (Required) The title of markdown widget.
* `markdown` - (Required) String in Markdown format.
* `layout` - (Required) The coordinates are specified with the upper left corner of the widget display area as the origin (x = 0, y = 0), with the x axis in the right direction and they axis in the down direction as the positive direction.
* `x` - (Required) The x coordinate of widget.
Expand All @@ -200,7 +200,7 @@ resource "mackerel_dashboard" "alert_status" {

### alert_status

* `title` - The title of alertStatus widget.
* `title` - (Required) The title of alertStatus widget.
* `role_fullname` - (Required) The service name and role name concatenated by `:`.
* `layout` - (Required) The coordinates are specified with the upper left corner of the widget display area as the origin (x = 0, y = 0), with the x axis in the right direction and they axis in the down direction as the positive direction.
* `x` - (Required) The x coordinate of widget.
Expand Down

0 comments on commit e629be3

Please sign in to comment.