Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Histogram ¶
type Histogram struct { BinCount int `json:"binCount"` BinsFrequency map[string]int `json:"binsFrequency"` }
func NewHistogram ¶
func NewHistogram() Histogram
type HistogramSet ¶
type HistogramSet struct { Meta HistogramSetMetadata `json:"meta,omitempty"` HistogramMap map[string]Histogram `json:"histograms"` }
func NewHistogramSet ¶
func NewHistogramSet() HistogramSet
func (*HistogramSet) Add ¶
func (hs *HistogramSet) Add(name, bin string, count int)
func (*HistogramSet) Inflate ¶
func (hs *HistogramSet) Inflate()
type HistogramSetMetadata ¶
type HistogramSetMetadata struct { Names []string `json:"names,omitempty"` NameCount int `json:"nameCount,omitempty"` UniqueBinCount int `json:"uniqueBinCount,omitempty"` }
func NewHistogramSetMetadata ¶
func NewHistogramSetMetadata() HistogramSetMetadata
Click to show internal directories.
Click to hide internal directories.