import "v.io/x/ref/services/stats"
Packages stats defines the non-native types exported by the stats service. nolint:golint
type HistogramBucket struct { // LowBound is the lower bound of the bucket. LowBound int64 // Count is the number of values in the bucket. Count int64 }
HistogramBucket is one histogram bucket.
func (x HistogramBucket) VDLIsZero() bool
func (x *HistogramBucket) VDLRead(dec vdl.Decoder) error
func (HistogramBucket) VDLReflect(struct { Name string `vdl:"v.io/x/ref/services/stats.HistogramBucket"` })
func (x HistogramBucket) VDLWrite(enc vdl.Encoder) error
type HistogramValue struct { // Count is the total number of values added to the histogram. Count int64 // Sum is the sum of all the values added to the histogram. Sum int64 // Min is the minimum of all the values added to the histogram. Min int64 // Max is the maximum of all the values added to the histogram. Max int64 // Buckets contains all the buckets of the histogram. Buckets []HistogramBucket }
HistogramValue is the value of Histogram objects.
func (v HistogramValue) Print(w io.Writer)
Print writes textual output of the histogram values.
func (v HistogramValue) String() string
String returns the textual output of the histogram values as string.
func (x HistogramValue) VDLIsZero() bool
func (x *HistogramValue) VDLRead(dec vdl.Decoder) error
func (HistogramValue) VDLReflect(struct { Name string `vdl:"v.io/x/ref/services/stats.HistogramValue"` })
func (x HistogramValue) VDLWrite(enc vdl.Encoder) error
type TimeSeries struct { // Values holds the time series values (from oldest to newest). Values []int64 // Resolution is the time resolution of the time series. Resolution time.Duration // StartTime is the time of the first value of the time series. StartTime time.Time }
TimeSeries records data of a single time series.
func (ts TimeSeries) Print(w io.Writer)
Print writes textual output of the TimeSeries values.
func (ts TimeSeries) String() string
String returns the textual output of the TimeSeries values as string.
func (x TimeSeries) VDLIsZero() bool
func (x *TimeSeries) VDLRead(dec vdl.Decoder) error
func (TimeSeries) VDLReflect(struct { Name string `vdl:"v.io/x/ref/services/stats.TimeSeries"` })
func (x TimeSeries) VDLWrite(enc vdl.Encoder) error
Package stats imports 8 packages (graph) and is imported by 8 packages. Updated 2020-10-23. Refresh now. Tools for package owners.