kratos: Index | Files

package zipkin

import ""


Package Files

config.go zipkin.go

func Init Uses

func Init(c *Config)

Init init trace report.

type Config Uses

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"`

Config config. url should be the endpoint to send the spans to, e.g. http://localhost:9411/api/v2/spans

Package zipkin imports 9 packages (graph). Updated 2021-01-27. Refresh now. Tools for package owners.