Documentation ¶
Overview ¶
Package zipkin implements a tracer [backend.Tracer] client interface for the zipkin tracer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ZipkinTracer ¶
type ZipkinTracer struct {
// contains filtered or unexported fields
}
ZipkinTracer implements the runtime backend instance that implements the backend/trace.Tracer interface. REQUIRED: A functional backend running the zipkin collector.
func NewZipkinTracer ¶
func NewZipkinTracer(ctx context.Context, addr string) (*ZipkinTracer, error)
Returns a new instance of ZipkinTracer. Configures opentelemetry to export zipkin traces to the zipkin collector hosted at address `addr`.
func (*ZipkinTracer) GetTracerProvider ¶
func (t *ZipkinTracer) GetTracerProvider(ctx context.Context) (trace.TracerProvider, error)
Implements the backend/trace interface.
Click to show internal directories.
Click to hide internal directories.