Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
EndpointBackendfail = errors.New("trace: Init NewReporter fail EndpointBackend Wrong type ")
)
Functions ¶
Types ¶
type Config ¶
type Config struct { Endpoint string `dsn:"endpoint"` BatchSize int `dsn:"query.batch_size,100"` Timeout xtime.Duration `dsn:"query.timeout,200ms"` DisableSample bool `dsn:"query.disable_sample"` EndpointBackend string `json:"EndpointBackend"` }
Config config. url should be the endpoint to send the spans to, e.g. http://localhost:9411/api/v2/spans
Click to show internal directories.
Click to hide internal directories.