trace

package
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2016 License: MIT Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL