Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// CollectorEndpoint is the Jaeger HTTP Thrift endpoint.
// For example, http://localhost:14268/api/traces?format=jaeger.thrift.
CollectorEndpoint string `toml:"collectorEndpoint" comment:"Jaeger collector endpoint"`
// AgentEndpoint instructs exporter to send spans to Jaeger agent at this address.
// For example, localhost:6831.
AgentEndpoint string `toml:"agentEndpoint" comment:"Jaeger agent endpoint"`
// Username to be used if basic auth is required.
// Optional.
Username string `toml:"username" comment:"Jaeger authentication username"`
// Password to be used if basic auth is required.
// Optional.
Password string `toml:"password" comment:"Jaeger authenication password"`
// ServiceName is the name of the process.
ServiceName string `toml:"serviceName" comment:"Service name"`
}
Config holds information necessary for sending trace to Jaeger.
Click to show internal directories.
Click to hide internal directories.