Documentation ¶
Index ¶
- Variables
- type Float64Counter
- type Float64Histogram
- type Float64UpDownCounter
- type Int64Counter
- type Int64Histogram
- type Int64UpDownCounter
- type KeyValue
- type Meter
- type MeterOption
- type MeterProvider
- type ReadOnlySpan
- type Resource
- type Span
- type SpanExporter
- type StartSpanOption
- type Telemeter
- func (t *Telemeter) MakeDefault()
- func (t *Telemeter) Meter(instrumentationName string, opts ...MeterOption) Meter
- func (t *Telemeter) Resource() *Resource
- func (t *Telemeter) Shutdown(ctx context.Context) error
- func (t *Telemeter) StartSpan(ctx context.Context, pkg, op string, opts ...StartSpanOption) (context.Context, Span)
- func (t *Telemeter) Tracer(instrumentationName string, opts ...TracerOption) Tracer
- type Tracer
- type TracerOption
Constants ¶
This section is empty.
Variables ¶
View Source
var ( KVBool = attribute.Bool KVBoolSlice = attribute.BoolSlice KVInt = attribute.Int KVIntSlice = attribute.IntSlice KVInt64 = attribute.Int64 KVInt64Slice = attribute.Int64Slice KVFloat64 = attribute.Float64 KVFloat64Slice = attribute.Float64Slice KVString = attribute.String KVStringSlice = attribute.StringSlice KVStringer = attribute.Stringer )
View Source
var WithAttributes = trace.WithAttributes
Functions ¶
This section is empty.
Types ¶
type Float64Counter ¶ added in v10.1.0
type Float64Counter = syncfloat64.Counter
type Float64Histogram ¶ added in v10.1.0
type Float64Histogram = syncfloat64.Histogram
type Float64UpDownCounter ¶ added in v10.1.0
type Float64UpDownCounter = syncfloat64.UpDownCounter
type Int64Counter ¶ added in v10.1.0
type Int64Histogram ¶ added in v10.1.0
type Int64UpDownCounter ¶ added in v10.1.0
type Int64UpDownCounter = syncint64.UpDownCounter
type MeterOption ¶
type MeterOption = metric.MeterOption
type MeterProvider ¶
type MeterProvider = metric.MeterProvider
type ReadOnlySpan ¶ added in v10.2.0
type ReadOnlySpan = sdkTrace.ReadOnlySpan
type Resource ¶
func NewResource ¶ added in v10.4.0
type SpanExporter ¶
type SpanExporter = sdkTrace.SpanExporter
type StartSpanOption ¶
type StartSpanOption = trace.SpanStartOption
type Telemeter ¶
type Telemeter struct {
// contains filtered or unexported fields
}
func NewTelemeter ¶
func NewTelemeter(serviceName, version, instanceID string, spanExporter SpanExporter, meterProvider MeterProvider, spanSample float64) *Telemeter
func NewTelemeterFromResource ¶ added in v10.4.0
func NewTelemeterFromResource(res *Resource, spanExporter SpanExporter, meterProvider MeterProvider, spanSample float64) *Telemeter
func (*Telemeter) MakeDefault ¶
func (t *Telemeter) MakeDefault()
func (*Telemeter) Meter ¶
func (t *Telemeter) Meter(instrumentationName string, opts ...MeterOption) Meter
type TracerOption ¶
type TracerOption = trace.TracerOption
Click to show internal directories.
Click to hide internal directories.