Documentation
¶
Index ¶
- Constants
- func GRPCExporter(ctx context.Context, url string, opts ...cfg.Option[Config]) (sdktrace.SpanExporter, error)
- func NoopExporter() noopExporter
- func Tracer(name string) trace.Tracer
- func WithCredentials(username, password string) cfg.Option[Config]
- func WithTimeout(dur time.Duration) cfg.Option[Config]
- type Config
- type ShutdownFunc
Constants ¶
View Source
const ( ServiceNameCA = "certificate_authority" ServiceNameAuthz = "authz" )
Variables ¶
This section is empty.
Functions ¶
func GRPCExporter ¶
func GRPCExporter( ctx context.Context, url string, opts ...cfg.Option[Config], ) (sdktrace.SpanExporter, error)
GRPCExporter creates a trace.SpanExporter using a gRPC connection to a tracing backend.
func NoopExporter ¶
func NoopExporter() noopExporter
Types ¶
type ShutdownFunc ¶
func Init ¶
func Init(ctx context.Context, name string, traceExporter sdktrace.SpanExporter) (ShutdownFunc, error)
Click to show internal directories.
Click to hide internal directories.