You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
prober: aether_probe_request_duration_seconds records SECONDS into the OTel default (millisecond-oriented) bucket boundaries — every ~2 s timeout lands in le=5, latency panels are flat #732
prober/internal/prober records time.Since(start).Seconds() into aether_probe_request_duration_seconds using the OTel SDK's default explicit boundaries (0, 5, 10, 25, 50, 75, 100, 250, 500, 750, 1000, 2500, 5000, 7500, 10000), which are designed for milliseconds. With values in seconds the first bucket is "≤5 s", so a 2 ms probe and a 2 s timeout are indistinguishable. Control-tested during the #728 validation: all 18,394 pre-fix ~2 s timeout observations on one prober sit in le=5, identical to +Inf.
Consequences
The prober latency panels and any p50/p99 derived from this histogram are flat/meaningless.
Set explicit seconds-oriented boundaries via the instrument's metric.WithExplicitBucketBoundaries(...) — e.g. 0.001, 0.0025, 0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 0.75, 1, 1.5, 2, 2.5, 5 — so the 1 s resolver retransmit, the 2 s probe budget and sub-10 ms healthy probes each land in their own buckets. Check the same mistake in every other *_seconds histogram in the repo (agent, mesh-dns aether_mesh_dns_query_duration_seconds — that one was read successfully at p99 87.5 ms on 09-05, so it may already carry explicit buckets; verify). Update the Grafana prober panels in k8s-talos-main if they hard-code bucket labels.
Found during the #728 validation (10 mesh-dns rolls, 2026-09-06). Refs #726, #729, #728.
Pre-fix both read 0/5 (everything in le=5). aether_agent_snapshot_duration_seconds now carries the 0.0001…5 le set (p99 436 ms). The rev206 roll itself was hitless (0 non-success on every tier). Old-pod series linger in a 10 m lookback and still read "2500 ms" (their le=5 bucket) — restrict to the new pods or wait for staleness when comparing.
The histogram immediately surfaced something the flat buckets hid for months: the mesh_dns tier's median is 20× the liveness tier's while the resolver's server-side p50 is 1 ms — filed separately.
Activity
fix(prober): give the seconds-valued duration histograms explicit sec…
feat(mesh-dns): keep answering after SIGTERM until the successor is p…
bpalermo commentedon Sep 6, 2026
Validated on talos-main (rev206 = chart 0.92.7-6b1d5a3, prober chart 0.2.0-6b1d5a3, 2026-09-06 14:47–15:01Z)
Prober pods recreated 14:52–14:54Z with the new image; reads on the new pods only,
[5m]at 15:01Z:Pre-fix both read 0/5 (everything in
le=5).aether_agent_snapshot_duration_secondsnow carries the 0.0001…5leset (p99 436 ms). The rev206 roll itself was hitless (0 non-success on every tier). Old-pod series linger in a 10 m lookback and still read "2500 ms" (their le=5 bucket) — restrict to the new pods or wait for staleness when comparing.The histogram immediately surfaced something the flat buckets hid for months: the mesh_dns tier's median is 20× the liveness tier's while the resolver's server-side p50 is 1 ms — filed separately.
fix(agent): wait for the SPIRE Workload API instead of dying on it (#740