Documentation
¶
Overview ¶
Package jaeger contains an OpenCensus tracing exporter for Jaeger.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter struct {
// contains filtered or unexported fields
}
Exporter is an implementation of trace.Exporter that uploads spans to Jaeger.
func NewExporter ¶
NewExporter returns a trace.Exporter implementation that exports the collected spans to Jaeger.
func (*Exporter) ExportSpan ¶
ExportSpan exports a SpanData to Jaeger.
type Options ¶
type Options struct {
// Endpoint is the Jaeger HTTP Thrift endpoint.
// For example, http://localhost:14268.
Endpoint string
// OnError is the hook to be called when there is
// an error occurred when uploading the stats data.
// If no custom hook is set, errors are logged.
// Optional.
OnError func(err error)
// Username to be used if basic auth is required.
// Optional.
Username string
// Password to be used if basic auth is required.
// Optional.
Password string
// ServiceName is the Jaeger service name.
ServiceName string
}
Options are the options to be used when initializing a Jaeger exporter.
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
gen-go/agent/agent-remote
command
|
|
|
gen-go/jaeger/collector-remote
command
|
|
Click to show internal directories.
Click to hide internal directories.