package
0.14.0
Repository: https://github.com/piplabs/story.git
Documentation: pkg.go.dev

# Functions

AddEvent adds an event to the span in the given context with the specified name and attributes.
BindFlags binds the provided flags to the corresponding fields in the Config struct.
DefaultConfig returns the default empty configuration for OTLP tracing.
Init initializes the global tracer via the option(s) defaulting to a noop tracer.
RootedCtx returns a copy of the parent context containing a tracing span context rooted to the trace ID.
Start creates a span and a context.Context containing the newly-created span from the global tracer.
WithOTLP returns an option to configure an OpenTelemetry tracing exporter for Jaeger.
WithStdOut returns an option to configure an OpenTelemetry exporter for tracing telemetry to be written to an output destination as JSON.

# Structs

Config defines OTLP config for grafana cloud.
Identifiers defines the global tracer attributes That uniquely identifies the network/service/instance that produced each trace.