Skip to content

Commit

Permalink
Chore/kentik default dashboard (#294)
Browse files Browse the repository at this point in the history
* chore: fixinfg width on dashboard widgets

* chore: updating readme with notes on dashboard layout
  • Loading branch information
thezackm committed Aug 25, 2021
1 parent 7c8451c commit b0726a3
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,38 @@ dashboardTemplates:
template: other_source_dashboard.json
```

**NOTE:** The entity overview naturally accepts an aggregate width of `12` for all widgets and an aggregate height of `8`. You can see this in your dashboard's JSON in each widget's `layout` section. For example, if you have 4 widgets total you would want them each to look like this to create a 4x4 grid:

```json
"layout": {
"column": 1,
"row": 1,
"height": 4,
"width": 6
}
...
"layout": {
"column": 7,
"row": 1,
"height": 4,
"width": 6
}
...
"layout": {
"column": 1,
"row": 5,
"height": 4,
"width": 6
}
...
"layout": {
"column": 7,
"row": 5,
"height": 4,
"width": 6
}
```

#### Configurations

In the `configuration` section of the `definition.yml` file you can tweak the entity's behavior. At the moment we accept two optional configuration parameters: `entityExpirationTime` and `alertable`.
Expand Down
4 changes: 2 additions & 2 deletions definitions/ext-kentik_default/dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"column": 1,
"row": 1,
"height": 4,
"width": 10
"width": 12
},
"title": "",
"rawConfiguration": {
Expand All @@ -29,7 +29,7 @@
"column": 1,
"row": 5,
"height": 2,
"width": 10
"width": 12
},
"title": "Device Summary",
"rawConfiguration": {
Expand Down

0 comments on commit b0726a3

Please sign in to comment.