← Back to team overview

graphite-dev team mailing list archive

[Question #210521]: Aggregation Rules for finding per-day metrics using per-hour metrics

 

New question #210521 on Graphite:
https://answers.launchpad.net/graphite/+question/210521

Hello

I am facing problem regarding writing aggregation rules for plotting per-day metrics. I have two servers which are sending metric name  as 

> production.email.server_1.total_emails_sent.1h.sum 
> production.email.server_2.total_emails_sent.1h.sum 

They are sending this metric once per hour. I am able to find the sum of these two metrics by adding an aggregation rule as follows: 

production.email.all.1h.sum (3600) = sum production.email.*.1h.sum

Now I have to find the sum on per-day basis. I want a metrics named

> production.email.server_1.total_emails_sent.1d.sum 

which I can find by summing the metric ( production.email.server_1.total_emails_sent.1h.sum for the past 24 hours. Can you please help me in finding out this metric.

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.