Skip to content

Commit

Permalink
scalastyle
Browse files Browse the repository at this point in the history
  • Loading branch information
vishramachandran committed Nov 13, 2024
1 parent 528ee55 commit 246e381
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ import spire.syntax.cfor._

import filodb.memory.format._


/**
* A trait to represent bucket-based histograms as well as derived statistics such as sums or rates of
* increasing histograms.
* The schema is based on Prometheus histograms. Each bucket is designed to contain all observations less than
* or equal to the bucketTop ("upper bound"), thus it is cumulative with increasing bucket number.
* Furthermore the LAST bucket should contain the total number of observations overall.
*/
//scalastyle:off file.size.limit
trait Histogram extends Ordered[Histogram] {
def numBuckets: Int

Expand Down

0 comments on commit 246e381

Please sign in to comment.