Documentation ¶
Index ¶
- Variables
- type Census
- func (c *Census) AddSpanAttributes(span *trace.Span, keyvals ...string)
- func (c *Census) Flush()
- func (c *Census) Record(ctx context.Context, ms []Measurement, tags ...Tag) error
- func (c *Census) StartClientSpan(ctx context.Context, name string, keyvals ...string) (context.Context, *trace.Span)
- func (c *Census) StartSpan(ctx context.Context, name string, keyvals ...string) (context.Context, *trace.Span)
- type Measurement
- type Options
- type SpanData
- type Tag
- type TagKey
- type TraceExporter
- type View
- type ViewData
- type ViewExporter
Constants ¶
This section is empty.
Variables ¶
View Source
var CountView = view.Count
View Source
var ErrNoMeasurements = errors.New("no measurements provided")
ErrNoMeasurements is the error from Census.Record when no measurements were provided
View Source
var Int64 = stats.Int64
View Source
var MustNewTagKey = tag.MustNewKey
View Source
var NewTagKey = tag.NewKey
View Source
var RegisterView = view.Register
View Source
var StringAttribute = trace.StringAttribute
Functions ¶
This section is empty.
Types ¶
type Census ¶
type Census struct {
// contains filtered or unexported fields
}
func (*Census) AddSpanAttributes ¶
func (*Census) StartClientSpan ¶
type Measurement ¶
type Measurement = stats.Measurement
type TraceExporter ¶
type ViewExporter ¶
Click to show internal directories.
Click to hide internal directories.