July 27, 2022 release notes

UI

Usage dashboard

For admin users, the Usage Worksheet link in Workspace settings now links to the Usage Dashboard.

Workspace setting menu, showing link to Usage Dashboard

The Usage dashboard displays detail of your Observe usage, such as credit usage, bytes ingested, and storage.

Usage dashboard, with cards for credit usage by kind, active users, compressed storage usage, and more.

OPAL

Auto resolution for align and timechart

You may omit a resolution argument (of type duration) and Observe will determine a suitable value based on the current query time window or chart resolution. If the auto value does not meet your needs, you may specify one, period for align or bin_duration for timechart:

// Use automatic duration
align frame(back: 5m), requests: rate(m("requests_total"))
timechart Count:count(1), group_by(server_name)

// Use explicit duration
align 1m, frame(back: 5m), requests: rate(m("requests_total"))
timechart 1h, Count:count(1), group_by(server_name)

Create a regex from a string literal

The [regex()](../../../../query-language-reference/function/regex.md) function coerces a string into a value of type regex. This is useful to programmatically create a regular expression from a string literal. The string may not contain computed values, such as a field name.

filter match_regex(log, regex($errorExpr))