Documentation
¶
Index ¶
- func AddNewTagKey(views []*view.View, key *tag.Key) []*view.View
- func AddTagKeyToCtx(ctx context.Context, key tag.Key, value string) context.Context
- func GetTraceSamplingRate(rate string) float64
- func NewMeasureView(measure stats.Measure, keys []tag.Key, aggregation *view.Aggregation) *view.View
- func WithTags(opts ...interface{}) []tag.Mutator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddNewTagKey ¶
AddNewTagKey adds new tag keys to existing view
func AddTagKeyToCtx ¶
AddTagKeyToCtx assigns opencensus tag key value to context
func GetTraceSamplingRate ¶ added in v0.7.0
GetTraceSamplingRate parses the given rate and returns the parsed rate
func NewMeasureView ¶
func NewMeasureView(measure stats.Measure, keys []tag.Key, aggregation *view.Aggregation) *view.View
NewMeasureView creates opencensus View instance using stats.Measure
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.