Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { // Enabled configures whether tracing is enabled. Enabled bool `yaml:"enabled"` // ServiceName represents the name of service. ServiceName string `yaml:"serviceName,omitempty"` // Zipkin represents zipkin options. Zipkin *ZipkinOptions `yaml:"zipkin,omitempty"` }
Options represents the trace options.
type Service ¶
type Service struct {
Options *Options
}
Service implements the hosting.Service interface for the tracer.
type ZipkinOptions ¶
type ZipkinOptions struct { // URL represents the url of zipkin endpoint. URL string `yaml:"url"` }
ZipkinOptions represents zipkin trace provider options.
Click to show internal directories.
Click to hide internal directories.