Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupportedProviderType = errors.New("unsupported provider type")
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 ( JAEGGER ExporterType = "jaegger" SENTRY ExporterType = "sentry" )
type TracerProvider ¶
type TracerProvider = trace.TracerProvider
func GetTracerProvider ¶
func GetTracerProvider() TracerProvider
Click to show internal directories.
Click to hide internal directories.