Skip to main content

parse_grok_usage

Function parse_grok_usage 

Source
pub fn parse_grok_usage(screen: &str, now_ms: u64) -> Option<ProviderLimits>
Expand description

Parse a grok /usage panel (“Usage limit” tab): Weekly limit (<plan>), a bar line with the share of the window spent (74%; grok shows usage, so a bare percent there is used), and Resets: <date>. The plan in parentheses is the tier. None without a limit line.