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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
A query that reads a counter without rate() or irate() says so. rezolus mcp query run.rez cpu_usage and the same bare selector in the
viewer's query explorer failed with "Metric not found" for a metric the
recording holds; the error now names the metric as a counter to read
through rate() or irate(). A bare selector still reads gauges.
(metriken-query 0.33.3, #1785)
A chart tooltip lists its rows by value, largest first. Pinned rows
still come first, and the order applies within the pinned and unpinned
groups. A row clamped to the chart's range sorts by its raw value, rows with
no value (null, NaN) go last, and rows with equal values keep the
earlier name order. Per-CPU (id=) rows were listed in id order and now
sort by value like the rest, and compare-mode rows (baseline, experiment)
change places where their values cross. Backported from 6.0 (#1783) in #1788.
Fixed
PromQL =~ and !~ match a regular expression anchored at both ends.
The query engine (metriken-query 0.33.6 and earlier) split the pattern on | and compared each part with the label value literally, so in rezolus mcp query and the viewer's query explorer cgroup_cpu_usage{name=~".*ssh.service"} answered "Metric not found" and name!~"/system\\.slice/.*" excluded nothing. Releases through 5.33.1 have
this. metriken-query is now 0.33.7. A query that relied on the old
comparison changes meaning: a = or != value is compared whole, so {name="a|b"}, which matched a or b, now matches only the value a|b
(use name=~"a|b"), {name="a\\.b"} (and !=), which matched a.b,
now matches only a\.b, and a =~ or !~ pattern of names containing . or + is now read as a regex. In histogram_percentiles, histogram_quantiles, histogram_heatmap, histogram_mean, histogram_count, histogram_sum and histogram_irate (not histogram_quantile), a selector's quoted value is taken without
unescaping (write \., not \\.), and a , inside a pattern splits
it. The Cgroups section escapes each selected cgroup name as a regex, so
names containing . or a systemd \x2d still select exactly that
cgroup. (#1745, #1785)
A query range's last point is no longer dropped. The end of a range,
converted from seconds, could fall a few hundred nanoseconds before the
sample at that time, so a rate() or irate() chart or rezolus mcp query result lost its last point. Releases through 5.33.1
have this. (metriken-query 0.33.5, #1785)
A percentile chart on a log y-axis draws a value of 0 at the bottom of
the axis. A 0 has no position on a log axis, so releases 5.30.0 through
5.33.1 left such a point out, and a chart whose values were all 0 drew an
empty axis from 1 to 10. The axis now starts at the power of ten at or below
the smallest positive value, a value of 0 or less is drawn there as a red
out-of-range point whose tooltip gives the true value, and a chart with no
positive value shows a notice in place of the axis. null and NaN are
still not drawn. When a log-axis chart is zoomed, a value of 0 or less no
longer sets the axis minimum. Linear-axis charts are unchanged. In compare
mode each percentile is drawn as its own line chart, which still leaves a 0
out. Backported from 6.0 (#1783) in #1788.