agent

package
v2.30.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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 Agent

type Agent interface {
	// Parameters:
	//  - Spans
	EmitZipkinBatch(ctx context.Context, spans []*zipkincore.Span) (_err error)
	// Parameters:
	//  - Batch
	EmitBatch(ctx context.Context, batch *jaeger.Batch) (_err error)
}

type AgentClient

type AgentClient struct {
	// contains filtered or unexported fields
}

func NewAgentClient

func NewAgentClient(c thrift.TClient) *AgentClient

func NewAgentClientProtocol

func NewAgentClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *AgentClient

func (*AgentClient) Client_

func (p *AgentClient) Client_() thrift.TClient

func (*AgentClient) EmitBatch

func (p *AgentClient) EmitBatch(ctx context.Context, batch *jaeger.Batch) (_err error)

Parameters:

  • Batch

func (*AgentClient) EmitZipkinBatch

func (p *AgentClient) EmitZipkinBatch(ctx context.Context, spans []*zipkincore.Span) (_err error)

Parameters:

  • Spans

func (*AgentClient) LastResponseMeta_

func (p *AgentClient) LastResponseMeta_() thrift.ResponseMeta

func (*AgentClient) SetLastResponseMeta_

func (p *AgentClient) SetLastResponseMeta_(meta thrift.ResponseMeta)

type AgentEmitBatchArgs

type AgentEmitBatchArgs struct {
	Batch *jaeger.Batch `thrift:"batch,1" db:"batch" json:"batch"`
}

Attributes:

  • Batch

func NewAgentEmitBatchArgs

func NewAgentEmitBatchArgs() *AgentEmitBatchArgs

func (*AgentEmitBatchArgs) GetBatch

func (p *AgentEmitBatchArgs) GetBatch() *jaeger.Batch

func (*AgentEmitBatchArgs) IsSetBatch

func (p *AgentEmitBatchArgs) IsSetBatch() bool

func (*AgentEmitBatchArgs) Read

func (*AgentEmitBatchArgs) ReadField1

func (p *AgentEmitBatchArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*AgentEmitBatchArgs) String

func (p *AgentEmitBatchArgs) String() string

func (*AgentEmitBatchArgs) Write

func (p *AgentEmitBatchArgs) Write(ctx context.Context, oprot thrift.TProtocol) error

type AgentEmitZipkinBatchArgs

type AgentEmitZipkinBatchArgs struct {
	Spans []*zipkincore.Span `thrift:"spans,1" db:"spans" json:"spans"`
}

Attributes:

  • Spans

func NewAgentEmitZipkinBatchArgs

func NewAgentEmitZipkinBatchArgs() *AgentEmitZipkinBatchArgs

func (*AgentEmitZipkinBatchArgs) GetSpans

func (p *AgentEmitZipkinBatchArgs) GetSpans() []*zipkincore.Span

func (*AgentEmitZipkinBatchArgs) Read

func (*AgentEmitZipkinBatchArgs) ReadField1

func (p *AgentEmitZipkinBatchArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*AgentEmitZipkinBatchArgs) String

func (p *AgentEmitZipkinBatchArgs) String() string

func (*AgentEmitZipkinBatchArgs) Write

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(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*AgentProcessor) ProcessorMap

func (p *AgentProcessor) ProcessorMap() map[string]thrift.TProcessorFunction

Jump to

Keyboard shortcuts

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