You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-11Lines changed: 18 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,17 +128,24 @@ The default dashboards are located in the `dashboards` directory of the referenc
128
128
129
129
Dashboards are provisioned directly from CRDs, which means any manual edits will be lost upon a refresh. As such, the workflow outlined below is recommended for making changes:
130
130
131
-
1. Create a copy of the dashboard by selecting **Edit** in the upper right corner, then **Save dashboard** -> **Save as copy**. After saving, navigate to the copy.
132
-
2. Make your edits to the copy and exit edit mode.
133
-
3. Select **Export** in the upper right corner and then **Export as JSON**. **Ensure that `Export the dashboard to use in another instance` is toggled on.**
134
-
4. Download the file and replace the `./dashboards/server-slis.json` file with the updated copy. Ensure to update the title and UID of the updated dashboard to match the original:
135
-
```json
136
-
{
137
-
"title": "Server SLIs",
138
-
"uid": "beg3u6ond4ydcb"
139
-
}
140
-
```
141
-
5. Commit the result and open a PR for the On-Prem team to review.
131
+
1. **Create a Copy**:
132
+
- Select **Edit** in the upper right corner.
133
+
- Choose **Save dashboard** -> **Save as copy**.
134
+
- After saving, navigate to the copy.
135
+
2. **Make Edits**:
136
+
- Modify the copy as needed and exit edit mode.
137
+
3. **Export as JSON**:
138
+
- Select **Export** in the upper right corner and then **Export as JSON**.
139
+
- **Ensure that `Export the dashboard to use in another instance` is toggled on.**
140
+
4. **Run Validation Command**:
141
+
- Download the file and replace the `./dashboards/server-slis.json` file with the updated copy.
142
+
- Run the following command to automatically validate the JSON and apply necessary updates:
143
+
```bash
144
+
./do validate-dashboards
145
+
```
146
+
5. **Commit and Open a PR**:
147
+
- Review and commit the changes.
148
+
- Open a pull request for the On-Prem team to review.
Copy file name to clipboardExpand all lines: README.md.gotmpl
+18-11Lines changed: 18 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -122,17 +122,24 @@ The default dashboards are located in the `dashboards` directory of the referenc
122
122
123
123
Dashboards are provisioned directly from CRDs, which means any manual edits will be lost upon a refresh. As such, the workflow outlined below is recommended for making changes:
124
124
125
-
1. Create a copy of the dashboard by selecting **Edit** in the upper right corner, then **Save dashboard** -> **Save as copy**. After saving, navigate to the copy.
126
-
2. Make your edits to the copy and exit edit mode.
127
-
3. Select **Export** in the upper right corner and then **Export as JSON**. **Ensure that `Export the dashboard to use in another instance` is toggled on.**
128
-
4. Download the file and replace the `./dashboards/server-slis.json` file with the updated copy. Ensure to update the title and UID of the updated dashboard to match the original:
129
-
```json
130
-
{
131
-
"title": "Server SLIs",
132
-
"uid": "beg3u6ond4ydcb"
133
-
}
134
-
```
135
-
5. Commit the result and open a PR for the On-Prem team to review.
125
+
1. **Create a Copy**:
126
+
- Select **Edit** in the upper right corner.
127
+
- Choose **Save dashboard** -> **Save as copy**.
128
+
- After saving, navigate to the copy.
129
+
2. **Make Edits**:
130
+
- Modify the copy as needed and exit edit mode.
131
+
3. **Export as JSON**:
132
+
- Select **Export** in the upper right corner and then **Export as JSON**.
133
+
- **Ensure that `Export the dashboard to use in another instance` is toggled on.**
134
+
4. **Run Validation Command**:
135
+
- Download the file and replace the `./dashboards/server-slis.json` file with the updated copy.
136
+
- Run the following command to automatically validate the JSON and apply necessary updates:
137
+
```bash
138
+
./do validate-dashboards
139
+
```
140
+
5. **Commit and Open a PR**:
141
+
- Review and commit the changes.
142
+
- Open a pull request for the On-Prem team to review.
0 commit comments