type TimingRatioHistogram …
type TimingRatioHistogramOpts …
type timingRatioHistogramInner …
var _ …
var _ …
var _ …
func NewTimingRatioHistogram(opts *TimingRatioHistogramOpts) *TimingRatioHistogram { … }
func NewTestableTimingRatioHistogram(nowFunc func() time.Time, opts *TimingRatioHistogramOpts) *TimingRatioHistogram { … }
func (trh *timingRatioHistogramInner) Set(numerator float64) { … }
func (trh *timingRatioHistogramInner) Add(deltaNumerator float64) { … }
func (trh *timingRatioHistogramInner) Sub(deltaNumerator float64) { … }
func (trh *timingRatioHistogramInner) Inc() { … }
func (trh *timingRatioHistogramInner) Dec() { … }
func (trh *timingRatioHistogramInner) SetToCurrentTime() { … }
func (trh *timingRatioHistogramInner) SetDenominator(denominator float64) { … }
func (trh *timingRatioHistogramInner) WithContext(ctx context.Context) RatioedGauge { … }
type TimingRatioHistogramVec …
var _ …
var _ …
func NewTimingRatioHistogramVec(opts *compbasemetrics.TimingHistogramOpts, labelNames ...string) *TimingRatioHistogramVec { … }
func NewTestableTimingRatioHistogramVec(nowFunc func() time.Time, opts *compbasemetrics.TimingHistogramOpts, labelNames ...string) *TimingRatioHistogramVec { … }
func (v *TimingRatioHistogramVec) metrics() Registerables { … }
func (v *TimingRatioHistogramVec) NewForLabelValuesChecked(initialNumerator, initialDenominator float64, labelValues []string) (RatioedGauge, error) { … }
func (v *TimingRatioHistogramVec) NewForLabelValuesSafe(initialNumerator, initialDenominator float64, labelValues []string) RatioedGauge { … }
type noopRatioed …
func (noopRatioed) Set(float64) { … }
func (noopRatioed) Add(float64) { … }
func (noopRatioed) Sub(float64) { … }
func (noopRatioed) Inc() { … }
func (noopRatioed) Dec() { … }
func (noopRatioed) SetToCurrentTime() { … }
func (noopRatioed) SetDenominator(float64) { … }
func (v *TimingRatioHistogramVec) Reset() { … }