Skip to content

Commit 095db6f

Browse files
committed
fix: update dashboard-live.md to use common bits from dashboard.md
This hopefully will alleviate some of the skew between the live and offline dashboards.
1 parent 4fab598 commit 095db6f

File tree

4 files changed

+56
-61
lines changed

4 files changed

+56
-61
lines changed
+13-20
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
11
---
22
layout:
33
1:
4-
position: left
4+
position: default
55
maximized: true
66
2:
77
position: default
88
maximized: true
9+
inverseColors: true
910
---
1011

11-
=== "Summary"
12-
13-
```json
14-
--8<-- "$LOGDIR/job.json"
15-
```
16-
12+
--8<-- "./dashboard-summary.md"
1713
---
1814

1915
=== "Application Logs"
@@ -38,18 +34,15 @@ layout:
3834
tail -f $LOGDIR/resources/gpu.txt
3935
```
4036

37+
=== "Kubernetes Events"
4138

42-
<!--
43-
---
44-
45-
# Kubernetes Events
39+
```shell
40+
---
41+
execute: now
42+
maximize: true
43+
outputOnly: true
44+
---
45+
tail -f $LOGDIR/events/kubernetes.txt
46+
```
4647

47-
```shell
48-
---
49-
execute: now
50-
maximize: true
51-
outputOnly: true
52-
---
53-
$TAIL $LOGDIR/events/kubernetes.txt
54-
```
55-
-->
48+
--8<-- "./dashboard-source.md"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
=== "Application Source"
2+
3+
```json
4+
---
5+
include: .source
6+
languageFrom: .language
7+
---
8+
--8<-- "$LOGDIR/job.json"
9+
```
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
=== "Summary"
2+
3+
```json
4+
---
5+
language: yaml
6+
exclude:
7+
- .source
8+
- .language
9+
- .runtimeEnv
10+
---
11+
--8<-- "$LOGDIR/job.json"
12+
```
13+
14+
=== "Environment"
15+
16+
```json
17+
---
18+
language: yaml
19+
include: .runtimeEnv.env_vars
20+
---
21+
--8<-- "$LOGDIR/job.json"
22+
```
23+
24+
=== "Pip Dependencies"
25+
26+
```json
27+
---
28+
language: yaml
29+
include: .runtimeEnv.pip
30+
---
31+
--8<-- "$LOGDIR/job.json"
32+
```

Diff for: plugins/plugin-client-default/notebooks/dashboard.md

+2-41
Original file line numberDiff line numberDiff line change
@@ -9,38 +9,7 @@ layout:
99
inverseColors: true
1010
---
1111

12-
=== "Summary"
13-
14-
```json
15-
---
16-
language: yaml
17-
exclude:
18-
- .source
19-
- .language
20-
- .runtimeEnv
21-
---
22-
--8<-- "$LOGDIR/job.json"
23-
```
24-
25-
=== "Environment"
26-
27-
```json
28-
---
29-
language: yaml
30-
include: .runtimeEnv.env_vars
31-
---
32-
--8<-- "$LOGDIR/job.json"
33-
```
34-
35-
=== "Pip Dependencies"
36-
37-
```json
38-
---
39-
language: yaml
40-
include: .runtimeEnv.pip
41-
---
42-
--8<-- "$LOGDIR/job.json"
43-
```
12+
--8<-- "./dashboard-summary.md"
4413

4514
---
4615

@@ -66,12 +35,4 @@ layout:
6635
--8<-- "$LOGDIR/events/kubernetes.txt"
6736
```
6837

69-
=== "Application Source"
70-
71-
```json
72-
---
73-
include: .source
74-
languageFrom: .language
75-
---
76-
--8<-- "$LOGDIR/job.json"
77-
```
38+
--8<-- "./dashboard-source.md"

0 commit comments

Comments
 (0)