sorry, the increase function was lost, the whole query should be
*count(sum(increase(metric_name{xxx}[1m])) by (instance) )*
在 2020年7月31日星期五 UTC+8下午3:10:47,Brian Candler写道:
>
> That query cannot even be run - metrics_name{xxx}[1m] is a range vector,
> but sum() only works over an instant vector.
>
> What's the real query you're doing?
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/ac70fd18-4317-44fc-a371-c73d1dcc1663o%40googlegroups.com.