Documentation ¶
Index ¶
- Variables
- type Agent
- type AgentClient
- type AgentEmitBatchArgs
- type AgentEmitZipkinBatchArgs
- type AgentProcessor
- func (p *AgentProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *AgentProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *AgentProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *AgentProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
Constants ¶
This section is empty.
Variables ¶
View Source
var AgentEmitBatchArgs_Batch_DEFAULT *jaeger.Batch
View Source
var GoUnusedProtection__ int
Functions ¶
This section is empty.
Types ¶
type AgentClient ¶
type AgentClient struct { Transport thrift.TTransport ProtocolFactory thrift.TProtocolFactory InputProtocol thrift.TProtocol OutputProtocol thrift.TProtocol SeqId int32 }
func NewAgentClientFactory ¶
func NewAgentClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *AgentClient
func NewAgentClientProtocol ¶
func NewAgentClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *AgentClient
func (*AgentClient) EmitBatch ¶ added in v2.7.0
func (p *AgentClient) EmitBatch(batch *jaeger.Batch) (err error)
Parameters:
- Batch
func (*AgentClient) EmitZipkinBatch ¶
func (p *AgentClient) EmitZipkinBatch(spans []*zipkincore.Span) (err error)
Parameters:
- Spans
type AgentEmitBatchArgs ¶ added in v2.7.0
Attributes:
- Batch
func NewAgentEmitBatchArgs ¶ added in v2.7.0
func NewAgentEmitBatchArgs() *AgentEmitBatchArgs
func (*AgentEmitBatchArgs) GetBatch ¶ added in v2.7.0
func (p *AgentEmitBatchArgs) GetBatch() *jaeger.Batch
func (*AgentEmitBatchArgs) IsSetBatch ¶ added in v2.7.0
func (p *AgentEmitBatchArgs) IsSetBatch() bool
func (*AgentEmitBatchArgs) Read ¶ added in v2.7.0
func (p *AgentEmitBatchArgs) Read(iprot thrift.TProtocol) error
func (*AgentEmitBatchArgs) String ¶ added in v2.7.0
func (p *AgentEmitBatchArgs) String() string
type AgentEmitZipkinBatchArgs ¶
type AgentEmitZipkinBatchArgs struct {
Spans []*zipkincore.Span `thrift:"spans,1" json:"spans"`
}
Attributes:
- Spans
func NewAgentEmitZipkinBatchArgs ¶
func NewAgentEmitZipkinBatchArgs() *AgentEmitZipkinBatchArgs
func (*AgentEmitZipkinBatchArgs) GetSpans ¶
func (p *AgentEmitZipkinBatchArgs) GetSpans() []*zipkincore.Span
func (*AgentEmitZipkinBatchArgs) Read ¶
func (p *AgentEmitZipkinBatchArgs) Read(iprot thrift.TProtocol) error
func (*AgentEmitZipkinBatchArgs) String ¶
func (p *AgentEmitZipkinBatchArgs) String() string
type AgentProcessor ¶
type AgentProcessor struct {
// contains filtered or unexported fields
}
func NewAgentProcessor ¶
func NewAgentProcessor(handler Agent) *AgentProcessor
func (*AgentProcessor) AddToProcessorMap ¶
func (p *AgentProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*AgentProcessor) GetProcessorFunction ¶
func (p *AgentProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*AgentProcessor) Process ¶
func (p *AgentProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*AgentProcessor) ProcessorMap ¶
func (p *AgentProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
Click to show internal directories.
Click to hide internal directories.