Skip to content

Commit 4513ee3

Browse files
chernistrygithub-actions[bot]
authored andcommitted
chore(observability): daily snapshot + trends refresh
1 parent d1afe00 commit 4513ee3

2 files changed

Lines changed: 129 additions & 8 deletions

File tree

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
{
2+
"summary": {
3+
"ok": 1,
4+
"warn": 1,
5+
"fail": 0,
6+
"skipped": 2,
7+
"error": 0
8+
},
9+
"backends": [
10+
{
11+
"backend": "sonar",
12+
"status": "ok",
13+
"detail": "project bernstein",
14+
"error": null,
15+
"metrics": [
16+
{
17+
"name": "coverage_pct",
18+
"value": "80.1%",
19+
"numeric": 80.1,
20+
"threshold": "80.0%",
21+
"threshold_status": "ok",
22+
"delta": "new"
23+
},
24+
{
25+
"name": "code_smells",
26+
"value": "0",
27+
"numeric": 0.0,
28+
"threshold": "50",
29+
"threshold_status": "ok",
30+
"delta": "new"
31+
},
32+
{
33+
"name": "bugs",
34+
"value": "0",
35+
"numeric": 0.0,
36+
"threshold": "0",
37+
"threshold_status": "ok",
38+
"delta": "new"
39+
},
40+
{
41+
"name": "vulnerabilities",
42+
"value": "0",
43+
"numeric": 0.0,
44+
"threshold": "0",
45+
"threshold_status": "ok",
46+
"delta": "new"
47+
},
48+
{
49+
"name": "security_hotspots",
50+
"value": "0",
51+
"numeric": 0.0,
52+
"threshold": "0",
53+
"threshold_status": "ok",
54+
"delta": "new"
55+
}
56+
]
57+
},
58+
{
59+
"backend": "glitchtip",
60+
"status": "skipped",
61+
"detail": "BERNSTEIN_GLITCHTIP_TOKEN not set",
62+
"error": null,
63+
"metrics": []
64+
},
65+
{
66+
"backend": "dt",
67+
"status": "skipped",
68+
"detail": "DTRACK_URL/TOKEN/PROJECT not set",
69+
"error": null,
70+
"metrics": []
71+
},
72+
{
73+
"backend": "code-scanning",
74+
"status": "warn",
75+
"detail": "2 open alert(s)",
76+
"error": null,
77+
"metrics": [
78+
{
79+
"name": "open_alerts",
80+
"value": "2",
81+
"numeric": 2.0,
82+
"threshold": "0",
83+
"threshold_status": "warn",
84+
"delta": "new"
85+
},
86+
{
87+
"name": "critical_alerts",
88+
"value": "0",
89+
"numeric": 0.0,
90+
"threshold": "0",
91+
"threshold_status": "ok",
92+
"delta": "new"
93+
},
94+
{
95+
"name": "high_alerts",
96+
"value": "1",
97+
"numeric": 1.0,
98+
"threshold": "0",
99+
"threshold_status": "warn",
100+
"delta": "new"
101+
},
102+
{
103+
"name": "medium_alerts",
104+
"value": "0",
105+
"numeric": 0.0,
106+
"threshold": "",
107+
"threshold_status": "ok",
108+
"delta": "new"
109+
},
110+
{
111+
"name": "low_alerts",
112+
"value": "0",
113+
"numeric": 0.0,
114+
"threshold": "",
115+
"threshold_status": "ok",
116+
"delta": "new"
117+
}
118+
]
119+
}
120+
]
121+
}

docs/observability/trends.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# Observability trends
22

3-
_Window: 2026-05-22 -> 2026-05-24 (2 day(s); target 30)_
3+
_Window: 2026-05-22 -> 2026-06-26 (3 day(s); target 30)_
44

55
Sparklines are rendered with unicode block characters. Each tick is one daily snapshot from `bernstein doctor observe --json`. Missing days appear as blank ticks.
66

77
## sonar
88

99
| metric | sparkline | first | latest | min | max |
1010
| --- | --- | ---: | ---: | ---: | ---: |
11-
| coverage_pct | `▁█` | 13.50 | 80.10 | 13.50 | 80.10 |
12-
| code_smells | `` | 153.00 | 0.00 | 0.00 | 153.00 |
13-
| bugs | `` | 11.00 | 0.00 | 0.00 | 11.00 |
14-
| vulnerabilities | `` | 2.00 | 0.00 | 0.00 | 2.00 |
11+
| coverage_pct | `▁█` | 13.50 | 80.10 | 13.50 | 80.10 |
12+
| code_smells | ` ` | 153.00 | 0.00 | 0.00 | 153.00 |
13+
| bugs | ` ` | 11.00 | 0.00 | 0.00 | 11.00 |
14+
| vulnerabilities | ` ` | 2.00 | 0.00 | 0.00 | 2.00 |
1515

1616
## glitchtip
1717

@@ -37,7 +37,7 @@ _(no numeric data for this backend in the current window)_
3737

3838
| metric | sparkline | first | latest | min | max |
3939
| --- | --- | ---: | ---: | ---: | ---: |
40-
| open_alerts | `▂█` | 6.00 | 17.00 | 6.00 | 17.00 |
41-
| critical_alerts | ` ` | 0.00 | 0.00 | 0.00 | 0.00 |
42-
| high_alerts | ` ` | 0.00 | 0.00 | 0.00 | 0.00 |
40+
| open_alerts | `▂█ ` | 6.00 | 2.00 | 2.00 | 17.00 |
41+
| critical_alerts | ` ` | 0.00 | 0.00 | 0.00 | 0.00 |
42+
| high_alerts | ` ` | 0.00 | 1.00 | 0.00 | 1.00 |
4343

0 commit comments

Comments
 (0)