blob: 84d8bad975e48cdde9535b974cd0ca422787eb5a [file] [log] [blame]
// This file was auto-generated by the veyron vdl tool.
// Source: types.vdl
// Packages stats defines the non-native types exported by the stats service.
package stats
import (
// The non-user imports are prefixed with "__" to prevent collisions.
__vdl "v.io/core/veyron2/vdl"
)
// HistogramValue is the value of Histogram objects.
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
}
func (HistogramValue) __VDLReflect(struct {
Name string "v.io/core/veyron/services/mgmt/stats.HistogramValue"
}) {
}
// HistogramBucket is one histogram bucket.
type HistogramBucket struct {
// LowBound is the lower bound of the bucket.
LowBound int64
// Count is the number of values in the bucket.
Count int64
}
func (HistogramBucket) __VDLReflect(struct {
Name string "v.io/core/veyron/services/mgmt/stats.HistogramBucket"
}) {
}
func init() {
__vdl.Register(HistogramValue{})
__vdl.Register(HistogramBucket{})
}