Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ZkipKinSpanModels ¶
func ZkipKinSpanModels(batch []tracesdk.ReadOnlySpan) []zkmodel.SpanModel
ZkipKinSpanModels converts OpenTelemetry spans into Zipkin model spans. This is used for exporting to Zipkin compatible tracing services.
Types ¶
type ZipkinExporter ¶
ZipkinExporter exports spans to the zipkin collector.
func New ¶
func New(collectorURL string, opts ...ZipkinOption) (*ZipkinExporter, error)
New creates a new Zipkin exporter.
type ZipkinOption ¶
ZipkinOption defines a function that configures the exporter.
func WithClient ¶
func WithClient(client *http.Client) ZipkinOption
WithClient configures the exporter to use the passed HTTP client.
func WithZkipKinLogger ¶
func WithZkipKinLogger(logger *log.Logger) ZipkinOption
WithZkipKinLogger configures the exporter to use the passed logger.
Click to show internal directories.
Click to hide internal directories.