Documentation ¶
Overview ¶
Package trace provides methods to submit Zipkin style spans to TCollector.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TCollectorReporterFactory ¶
func TCollectorReporterFactory(tchannel *tc.Channel) tc.TraceReporter
TCollectorReporterFactory builds TCollectorReporter using a given TChannel instance.
Types ¶
type TCollectorReporter ¶
type TCollectorReporter struct {
// contains filtered or unexported fields
}
TCollectorReporter is a trace reporter that submits trace spans to TCollector.
func NewTCollectorReporter ¶
func NewTCollectorReporter(ch *tc.Channel) *TCollectorReporter
NewTCollectorReporter return trace reporter that submits span to TCollector.
func (*TCollectorReporter) Report ¶
func (r *TCollectorReporter) Report(data tc.TraceData)
Report method will submit trace span to tcollector server.
Directories ¶
Path | Synopsis |
---|---|
thrift
|
|
gen-go/tcollector
Package tcollector is generated code used to make or handle TChannel calls using Thrift.
|
Package tcollector is generated code used to make or handle TChannel calls using Thrift. |
Click to show internal directories.
Click to hide internal directories.