Hi,

On 3/5/20 7:07 PM, Vishnu B wrote:
> i am using subqueries to get the 95th percentile data for the network
> traffic. But it is slower to excute with 30days of interval.
> is it a best idea to use recording rules for this, so that it will be
> faster?

Recording rules are probably not faster per-se, but they do help in
pre-calculating values which you will need later, i.e. they shift some
of the work to the rule evaluation interval instead of the ad-hoc query
(from Grafana or something).

So yes, if you have a query which calculates something, it can help to
set up a recording rule in order to get snappier dashboards, which can
be simplified to the query of a single metric.

Kind regards,
Christian

-- 
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/8d31f0e7-c8c0-b480-7fa4-f86ae3328a47%40hoffmann-christian.info.

Reply via email to