简体   繁体   中英

How can I fetch a datapoint at certain time every day in Graphite?

I have a series of data that increases by time and resets to zero at 18:00 every day. How can I make a Graphite plot that only contains datapoints at 17:59 in the last 30 days?

I have tried summarize(1d, max, false) , but it by default bins data into buckets that are calculated by rounding to the nearest interval to current time. So I cannot specify the beginning time of each bucket to be 18:00.

I couldn't find anything that exactly matches what you want. There are functions like timeSlice and timeStack but they do not really fit.

An alternative is to use the graphite function nonNegativeDerivative . It ignores when counters are reset to zero and only shows counter increments.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM