Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { // CollectorHostPort is list of host:port Jaeger Collectors. CollectorHostPort []string }
Options Struct to hold configurations
type ProxyBuilder ¶
type ProxyBuilder struct {
// contains filtered or unexported fields
}
ProxyBuilder holds objects communicating with collector
func NewCollectorProxy ¶
func NewCollectorProxy(o *Options, mFactory metrics.Factory, logger *zap.Logger) (*ProxyBuilder, error)
NewCollectorProxy creates ProxyBuilder
func (ProxyBuilder) Close ¶
func (b ProxyBuilder) Close() error
Close closes connections used by proxy.
func (ProxyBuilder) GetManager ¶
func (b ProxyBuilder) GetManager() configmanager.ClientConfigManager
GetManager returns manager
func (ProxyBuilder) GetReporter ¶
func (b ProxyBuilder) GetReporter() aReporter.Reporter
GetReporter returns Reporter
type Reporter ¶
type Reporter struct {
// contains filtered or unexported fields
}
Reporter reports data to collector over gRPC.
func NewReporter ¶
func NewReporter(conn *grpc.ClientConn, logger *zap.Logger) *Reporter
NewReporter creates gRPC reporter.
func (*Reporter) EmitZipkinBatch ¶
func (r *Reporter) EmitZipkinBatch(zSpans []*zipkincore.Span) error
EmitZipkinBatch implements EmitZipkinBatch() of Reporter
Click to show internal directories.
Click to hide internal directories.