Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CounterAdd ¶
func CounterAdd(counter DeferrableCounter, delta int64, options ...metric.AddOption)
func HistogramAdd ¶
func HistogramAdd(histogram DeferrableHistogram, delta int64, options ...metric.RecordOption)
Types ¶
type DeferrableCounter ¶
type DeferrableHistogram ¶
type DeferrableHistogram interface {
Record(delta int64, options ...metric.RecordOption)
}
type DeferrableInt64Counter ¶
type DeferrableInt64Counter struct {
// contains filtered or unexported fields
}
func NewDeferrableInt64Counter ¶
func NewDeferrableInt64Counter(meter metric.Meter, name string, counterOptions []metric.Int64CounterOption, addOptions []metric.AddOption) (*DeferrableInt64Counter, error)
type DeferrableInt64Histogram ¶
type DeferrableInt64Histogram struct {
// contains filtered or unexported fields
}
func NewDeferrableHistogram ¶
func NewDeferrableHistogram(meter metric.Meter, name string, histogramOptions []metric.Int64HistogramOption, recordOptions []metric.RecordOption) (*DeferrableInt64Histogram, error)
func (DeferrableInt64Histogram) Record ¶
func (d DeferrableInt64Histogram) Record(delta int64, options ...metric.RecordOption)
Click to show internal directories.
Click to hide internal directories.