github.com/go-graphite/carbonapi@v0.17.0/expr/types/config/config.go (about) 1 package config 2 3 type ConfigType = struct { 4 // NudgeStartTimeOnAggregation enables nudging the start time of metrics 5 // when aggregated. The start time is nudged in such way that timestamps 6 // always fall in the same bucket. This is done by GraphiteWeb, and is 7 // useful to avoid jitter in graphs when refreshing the page. 8 NudgeStartTimeOnAggregation bool 9 10 // UseBucketsHighestTimestampOnAggregation enables using the highest timestamp of the 11 // buckets when aggregating to honor MaxDataPoints, instead of the lowest timestamp. 12 // This prevents results to appear to predict the future. 13 UseBucketsHighestTimestampOnAggregation bool 14 } 15 16 var Config = ConfigType{}