Error executing query: invalid parameter 'query': parse error at char 14: 
unknown function with name "count_by_time"

   - 


throw error, am I misunderstanding?


在 2020年3月3日星期二 UTC+8下午4:51:49,Brian Candler写道:
>
> It is controlled by the prometheus server: it's whatever scrape_interval 
> you set on the job which scrapes node_exporter.
>
> You can do a query to find out: e.g.
>
> count_by_time(up[5m])
>
> will show the number of scrapes or scrape attempts in the last 5 minutes.
>

-- 
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/63ea487b-d7e8-40e7-9f16-874d777e9c3d%40googlegroups.com.

Reply via email to