mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-03 09:39:38 +00:00
Raise telemetry metric_frequency to 30s to fix broken CPU/memory charts
The workflow-telemetry action renders CPU/memory charts as mermaid
xychart blocks with every sample inlined as text (see src/graphing.ts);
there is no downsampling. GitHub renders mermaid with a fixed
maxTextSize of 50000 chars that the diagram author cannot raise, so on
our ~3h+ builds the default 5s sampling (~2300+ samples) blew past the
limit and the charts failed to render ("Maximum text size in diagram
exceeded").
Sampling every 30s yields ~390 points over a 3h15m run (~10k chars of
mermaid source), well under the limit with headroom for longer runs,
while keeping enough resolution to read CPU/memory trends.
Assisted-By: Claude (claude-4.8-opus)
This commit is contained in:
1 parent
53df2ecc1f
commit
a42c6c1587
1 file changed
+1
-1
@@ -158,7 +158,7 @@ jobs:
|
||||
comment_on_pr: false
|
||||
proc_trace_min_duration: 5000 # only chart processes running >= 5s
|
||||
proc_trace_chart_max_count: 40 # cap Gantt bars to keep mermaid source under 50k
|
||||
metric_frequency: 15 # coarser sampling so CPU/memory xychart source stays under mermaid's 50k maxTextSize
|
||||
metric_frequency: 30 # ~3h+ builds: coarser sampling so the per-sample CPU/memory xychart source stays well under mermaid's 50k maxTextSize (~390 points/3h15m)
|
||||
- name: Setup firefox
|
||||
id: setup-firefox
|
||||
uses: browser-actions/setup-firefox@0bc507ddf224827e3b1af68e014d5e42ab93e795 # v1.7.2
|
||||
|
||||
Reference in new issue
Block a user