Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnsupportedProviderType = errors.New("unsupported provider type") ErrProviderCreationFailed = errors.New("provider creation failed") )
Functions ¶
Types ¶
type Config ¶
type Config struct { ServiceName string `json:"serviceName"` Disabled bool `json:"disabled"` Type ExporterType `json:"type"` // Only for jaegger it seems Endpoint string `json:"endpoint"` }
type ExporterType ¶
type ExporterType string
const ( JAEGER ExporterType = "jaeger" SENTRY ExporterType = "sentry" )
type TracerProvider ¶
type TracerProvider = trace.TracerProvider
func GetTracerProvider ¶
func GetTracerProvider() TracerProvider
Click to show internal directories.
Click to hide internal directories.