Documentation ¶
Index ¶
- Constants
- func GRPCExporter(url string, options ...cfg.Option[Config]) (sdktrace.SpanExporter, error)
- func NoopExporter() noopExporter
- func Tracer() trace.Tracer
- func WithBasicAuth(username, password string) cfg.Option[Config]
- func WithTimeout(dur time.Duration) cfg.Option[Config]
- type Config
- type ShutdownFunc
Constants ¶
View Source
const ServiceName = "cron"
Variables ¶
This section is empty.
Functions ¶
func GRPCExporter ¶
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(traceExporter sdktrace.SpanExporter) (ShutdownFunc, error)
Click to show internal directories.
Click to hide internal directories.