← Back to team overview

graphite-dev team mailing list archive

Re: [Question #130353]: Count occurrences in specified time range

 

Question #130353 on Graphite changed:
https://answers.launchpad.net/graphite/+question/130353

    Status: Open => Answered

chrismd proposed the following answer:
Usually when I send data to Graphite it is not for raw events (ie. a
server handled a single request) but is instead for measurements of
those events over some interval (ie. number of requests a server handled
in a minute). If you want to see the measurements over different time
intervals (requests per hour, per day, etc...) then Graphite does not
currently have a way to do this automatically for you, but it has been
requested a few times lately so hopefully will be implemented soon. In
the mean time you can take measurements at the various time intervals on
the client side and use different metric names for them
(servers.www01.requestsPerMinute, servers.www01.requestsPerHour,
etc...). The only caveat is that you will have to configure storage
schemas in the storage-schemas.conf file so that the *PerHour metrics
get stored with hourly precision instead of the default 1-minute
precision.

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