Commit f75bb0d
authored
**Impact:** HUD `/metrics` "Percentage of jobs rolled over to Linux
Foundation" panel only
**Risk:** low
## What
Updates the `lf_rollover_percentage` ClickHouse query to classify Linux
Foundation jobs by both the `lf.` (dot) and `lf-` (dash) label prefixes,
excludes the new `c-` dash canary form, and fixes the `Linux Fundation`
→ `Linux Foundation` typo on the series label.
## Why
LF runners started migrating from `lf.` to `lf-` labels around June 7,
2026. The classifier only matched the dot prefix, so roughly 79% of LF
jobs (the `lf-…` ones) were silently counted as Meta. From mid-June the
panel showed LF rollout collapsing to ~1–2% when it had actually grown —
it was just renamed. With the fix the metric reads ~18–29% in the dash
era.
# Notes
- The output contract (`bucket`, `fleet`, `percentage` + the three
params) is unchanged, so the panel, query loader, and CI are unaffected.
- The LF-vs-Meta `FULL OUTER JOIN` was removed and replaced with a
direct per-bucket conditional ratio. Verified to produce numerically
identical output (diff = 0 across every bucket) while dropping a silent
dependency on the server's `join_use_nulls` setting; the LF-prefix rule
is now consolidated into a single `is_lf` column.
- Kept single-series (LF% only) intentionally — Meta% = 100 − LF%, so
one line encodes both. This matches the earlier deliberate removal of
the two-series variant in commit e2efc38.
- Known limitation (not changed here): the "Meta" side of the
denominator is mostly un-prefixed EC2, not strictly `mt-`, so the metric
is "LF share of all comparable runs" rather than a strict `lf-` vs `mt-`
head-to-head. A true fleet-vs-fleet comparison would be a separate
product change.
Signed-off-by: Jean Schmidt <contato@jschmidt.me>
1 parent 8062973 commit f75bb0d
1 file changed
Lines changed: 9 additions & 45 deletions
Lines changed: 9 additions & 45 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | | - | |
| 5 | + | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
| 41 | + | |
44 | 42 | | |
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
48 | 46 | | |
49 | | - | |
| 47 | + | |
50 | 48 | | |
51 | | - | |
52 | 49 | | |
53 | | - | |
54 | | - | |
| 50 | + | |
| 51 | + | |
55 | 52 | | |
56 | 53 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | 54 | | |
91 | 55 | | |
92 | 56 | | |
| |||
0 commit comments