Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IDGenerator ¶
type IDGenerator struct{}
IDGenerator is a trace ID generator.
type TracerProvider ¶
type TracerProvider struct {
*sdkTrace.TracerProvider
}
TracerProvider is a wrapper around sdkTrace.TracerProvider.
func New ¶
func New() *TracerProvider
New returns a new and configured TracerProvider, which has no SpanProcessor.
In default the returned TracerProvider is configured with: - a ParentBased(AlwaysSample) Sampler; - a unix nano timestamp and random umber based IDGenerator; - the resource.Default() Resource; - the default SpanLimits.
The passed opts are used to override these default values and configure the returned TracerProvider appropriately.
Click to show internal directories.
Click to hide internal directories.