Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StartOption ¶
type StartOption = func(*config)
StartOption is a function that configures an option for Start
func WithAccessToken ¶
func WithAccessToken(accessToken string) StartOption
WithAccessToken configures the SignalFx access token to use when reporting
func WithEndpointURL ¶
func WithEndpointURL(url string) StartOption
WithEndpointURL configures the URL to send traces to
func WithGlobalTag ¶
func WithGlobalTag(k string, v string) StartOption
WithGlobalTag sets a tag with the given key/value on all spans created by the tracer. This option may be used multiple times. Note: Since the underlying transport is Zipkin, only values with strings are accepted.
func WithServiceName ¶
func WithServiceName(serviceName string) StartOption
WithServiceName changes the reported service name
func WithoutLibraryTags ¶
func WithoutLibraryTags() StartOption
WithoutLibraryTags prevents the tracer from injecting tracing library metadata as span tags.
Click to show internal directories.
Click to hide internal directories.