avg_over_time(max(http_requests_total)[5m]) max(http_requests_total)[5m] produced following error messages: Error executing query: invalid parameter 'query': parse error at char 42: range specification must be preceded by a metric selector, but follows a *promql.AggregateExpr instead
- Then I tried the following promql, still failed! vector(scalar(max(http_requests_total)))[5m] Error executing query: invalid parameter 'query': parse error at char 44: range specification must be preceded by a metric selector, but follows a *promql.Call instead - Any solutions? Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/5a316bc9-0290-4b6a-a3bb-ef7dad45a282%40googlegroups.com.