Documentation ¶
Index ¶
- func AllNamespaces(watchNamespaces []string) bool
- func MakeCounter(name, description string, aggregation *view.Aggregation, tagKeys ...tag.Key) *stats.Int64Measure
- func MakeGauge(name, description string, tagKeys ...tag.Key) *stats.Int64Measure
- func MakeLastValueCounter(name, description string, tagKeys ...tag.Key) *stats.Int64Measure
- func MakeSumCounter(name, description string, tagKeys ...tag.Key) *stats.Int64Measure
- func Measure(ctx context.Context, counter *stats.Int64Measure, val int64, ...)
- func MeasureOne(ctx context.Context, counter *stats.Int64Measure, tags ...tag.Mutator)
- func MeasureZero(ctx context.Context, counter *stats.Int64Measure, tags ...tag.Mutator)
- func ProcessWatchNamespaces(watchNamespaces []string, writeNamespace string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllNamespaces ¶
func MakeCounter ¶ added in v0.20.3
func MakeCounter(name, description string, aggregation *view.Aggregation, tagKeys ...tag.Key) *stats.Int64Measure
func MakeGauge ¶ added in v1.5.0
func MakeGauge(name, description string, tagKeys ...tag.Key) *stats.Int64Measure
func MakeLastValueCounter ¶ added in v1.0.0
func MakeLastValueCounter(name, description string, tagKeys ...tag.Key) *stats.Int64Measure
func MakeSumCounter ¶ added in v1.0.0
func MakeSumCounter(name, description string, tagKeys ...tag.Key) *stats.Int64Measure
func MeasureOne ¶ added in v1.0.0
func MeasureZero ¶ added in v1.5.0
func ProcessWatchNamespaces ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.