Documentation
¶
Index ¶
- func Bool(k string, v bool) attribute.KeyValue
- func BoolSlice(k string, v []bool) attribute.KeyValue
- func Float64(k string, v float64) attribute.KeyValue
- func Float64Slice(k string, v []float64) attribute.KeyValue
- func Int(k string, v int) attribute.KeyValue
- func Int64(k string, v int64) attribute.KeyValue
- func Int64Slice(k string, v []int64) attribute.KeyValue
- func IntSlice(k string, v []int) attribute.KeyValue
- func Meter() mt.Meter
- func RecordError(ctx context.Context, err error) trace.Span
- func SpanFromContext(ctx context.Context) trace.Span
- func String(k, v string) attribute.KeyValue
- func StringSlice(k string, v []string) attribute.KeyValue
- func Stringer(k string, v fmt.Stringer) attribute.KeyValue
- func WithAttribute(attributes attribute.KeyValue) trace.SpanStartEventOption
- type ClientInterface
- type Config
- type Metrics
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolSlice ¶ added in v0.7.0
BoolSlice creates a attribute.KeyValue with a BOOLSLICE Value type.
func Float64Slice ¶ added in v0.7.0
Float64Slice creates a attribute.KeyValue with a FLOAT64SLICE Value type.
func Int64Slice ¶ added in v0.7.0
Int64Slice creates a attribute.KeyValue with an INT64SLICE Value type.
func IntSlice ¶ added in v0.7.0
IntSlice creates a attribute.KeyValue with an INT64SLICE Value type.
func StringSlice ¶ added in v0.7.0
StringSlice creates a attribute.KeyValue with a STRINGSLICE Value type.
func Stringer ¶ added in v0.7.0
Stringer creates a new key-value pair with a passed name and a string value generated by the passed Stringer interface.
func WithAttribute ¶ added in v0.7.0
func WithAttribute(attributes attribute.KeyValue) trace.SpanStartEventOption
Types ¶
type ClientInterface ¶ added in v0.7.0
Click to show internal directories.
Click to hide internal directories.