Documentation ¶
Index ¶
- func AllNamespaces(watchNamespaces []string) bool
- func MakeCounter(name, description string, aggregation *view.Aggregation, 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 ProcessWatchNamespaces(watchNamespaces []string, writeNamespace string) []string
- func ResourceRefPtr(ref core.ResourceRef) *core.ResourceRef
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllNamespaces ¶
func MakeCounter ¶
func MakeCounter(name, description string, aggregation *view.Aggregation, tagKeys ...tag.Key) *stats.Int64Measure
func MakeLastValueCounter ¶
func MakeLastValueCounter(name, description string, tagKeys ...tag.Key) *stats.Int64Measure
func MakeSumCounter ¶
func MakeSumCounter(name, description string, tagKeys ...tag.Key) *stats.Int64Measure
func MeasureOne ¶
func ProcessWatchNamespaces ¶
func ResourceRefPtr ¶
func ResourceRefPtr(ref core.ResourceRef) *core.ResourceRef
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.