type ValueKind … const KindBad … const KindUint64 … const KindFloat64 … const KindFloat64Histogram … type Value … // Kind returns the tag representing the kind of value this is. func (v Value) Kind() ValueKind { … } // Uint64 returns the internal uint64 value for the metric. // // If v.Kind() != KindUint64, this method panics. func (v Value) Uint64() uint64 { … } // Float64 returns the internal float64 value for the metric. // // If v.Kind() != KindFloat64, this method panics. func (v Value) Float64() float64 { … } // Float64Histogram returns the internal *Float64Histogram value for the metric. // // If v.Kind() != KindFloat64Histogram, this method panics. func (v Value) Float64Histogram() *Float64Histogram { … }