zipkin

package
v0.0.0-...-9a5c20e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: BSD-3-Clause Imports: 4 Imported by: 1

README

zipkin

import "github.com/blueprint-uservices/blueprint/runtime/plugins/zipkin"

Package zipkin implements a tracer [backend.Tracer] client interface for the zipkin tracer.

Index

type ZipkinTracer

ZipkinTracer implements the runtime backend instance that implements the backend/trace.Tracer interface. REQUIRED: A functional backend running the zipkin collector.

type ZipkinTracer struct {
    // contains filtered or unexported fields
}

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.

Generated by gomarkdoc

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL