MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / isLowerSamplingRate

Method isLowerSamplingRate

src/rollup/RollupQuery.java:186–188  ·  view source on GitHub ↗

Tells whether the current rollup query sampling rate is lower than the initial request @return true if it is of lower sampling rate else false

()

Source from the content-addressed store, hash-verified

184 * @return true if it is of lower sampling rate else false
185 */
186 public boolean isLowerSamplingRate() {
187 return this.rollup_interval.getIntervalSeconds() * 1000 < sample_interval_ms;
188 }
189
190 /**
191 * Looks at the SLA configured for the table to be queried and determines the

Callers 1

callMethod · 0.80

Calls 1

getIntervalSecondsMethod · 0.80

Tested by

no test coverage detected