Commit 9f224f7
feat: surface #7762 metrics in CSV + enable in dive workflow (#100)
Three follow-ups to make the next dive run informative:
1. Workflow now patches settings.json to set
scalingDiveMetrics=true (added to core in #7762 but defaulting
off there per project rule). Without this the three new metric
rows the harness wants would never appear on /stats/prometheus.
2. CSV column rename: evloop_p95_ms -> evloop_p99_ms. prom-client's
collectDefaultMetrics emits nodejs_eventloop_lag_p99_seconds
(p50/p90/p99 — no p95), so the previous lookup was always empty.
MD table header updated to match.
3. Two new curated CSV columns:
- apply_mean_ms: from etherpad_changeset_apply_duration_seconds_sum
and _count (histogram mean), converted to ms. Lets the dive
attribute server-side latency to the apply path vs fan-out.
- emits_new_changes: from etherpad_socket_emits_total{type=NEW_CHANGES}.
Dominant fan-out cost; the column makes the batching lever's
payoff visible.
Both new columns are populated only when the underlying metrics
exist on the SUT; older builds get empty cells (existing pattern).
48 tests green.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 542fbd9 commit 9f224f7
3 files changed
Lines changed: 40 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
102 | 109 | | |
103 | 110 | | |
104 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
64 | 71 | | |
65 | 72 | | |
66 | 73 | | |
| |||
70 | 77 | | |
71 | 78 | | |
72 | 79 | | |
73 | | - | |
| 80 | + | |
| 81 | + | |
74 | 82 | | |
75 | 83 | | |
76 | | - | |
77 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
78 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
79 | 95 | | |
80 | 96 | | |
81 | 97 | | |
| |||
84 | 100 | | |
85 | 101 | | |
86 | 102 | | |
87 | | - | |
| 103 | + | |
88 | 104 | | |
89 | 105 | | |
| 106 | + | |
| 107 | + | |
90 | 108 | | |
91 | 109 | | |
92 | 110 | | |
| |||
101 | 119 | | |
102 | 120 | | |
103 | 121 | | |
104 | | - | |
| 122 | + | |
105 | 123 | | |
106 | 124 | | |
107 | 125 | | |
108 | 126 | | |
109 | | - | |
| 127 | + | |
110 | 128 | | |
111 | 129 | | |
112 | 130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
| |||
0 commit comments