Documentation ¶
Index ¶
- func ExtractContextFromStream(stream grpc.ClientStream) (context.Context, error)
- func GetApplicationTracer(ctx context.Context, cfg appExporterConfig) (trace.Tracer, error)
- func InjectContextIntoStream(ctx context.Context, stream grpc.ServerStream) error
- func NewMeter(ctx context.Context, cfg exporterConfig) (metric.Meter, error)
- func NewTracer(ctx context.Context, cfg exporterConfig) (trace.Tracer, error)
- func NewTracerProvider(ctx context.Context, exporterConfig *config.TelemetryExporterOption) (*sdktrace.TracerProvider, error)
- func ShutdownTracer(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractContextFromStream ¶ added in v0.15.7
func ExtractContextFromStream(stream grpc.ClientStream) (context.Context, error)
func GetApplicationTracer ¶
func InjectContextIntoStream ¶ added in v0.15.7
func InjectContextIntoStream(ctx context.Context, stream grpc.ServerStream) error
func NewTracerProvider ¶
func NewTracerProvider(ctx context.Context, exporterConfig *config.TelemetryExporterOption) (*sdktrace.TracerProvider, error)
func ShutdownTracer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.