import "go.opentelemetry.io/otel/exporters/trace/jaeger/internal/gen-go/jaeger"
GoUnusedProtection__.go agent.go jaeger-consts.go jaeger.go
var CollectorSubmitBatchesResult_Success_DEFAULT []*BatchSubmitResponse
type AgentClient struct { Transport thrift.TTransport ProtocolFactory thrift.TProtocolFactory InputProtocol thrift.TProtocol OutputProtocol thrift.TProtocol SeqId int32 }
func NewAgentClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *AgentClient
func NewAgentClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *AgentClient
func (p *AgentClient) EmitBatch(batch *Batch) (err error)
Parameters:
- Batch
Attributes:
- Batch
func NewAgentEmitBatchArgs() *AgentEmitBatchArgs
func (p *AgentEmitBatchArgs) GetBatch() *Batch
func (p *AgentEmitBatchArgs) IsSetBatch() bool
func (p *AgentEmitBatchArgs) Read(iprot thrift.TProtocol) error
func (p *AgentEmitBatchArgs) String() string
func (p *AgentEmitBatchArgs) Write(oprot thrift.TProtocol) error
type AgentProcessor struct {
// contains filtered or unexported fields
}
func NewAgentProcessor(handler Agent) *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
type Batch struct { Process *Process `thrift:"process,1,required" db:"process" json:"process"` Spans []*Span `thrift:"spans,2,required" db:"spans" json:"spans"` }
Attributes:
- Process - Spans
Attributes:
- Ok
func NewBatchSubmitResponse() *BatchSubmitResponse
func (p *BatchSubmitResponse) GetOk() bool
func (p *BatchSubmitResponse) Read(iprot thrift.TProtocol) error
func (p *BatchSubmitResponse) ReadField1(iprot thrift.TProtocol) error
func (p *BatchSubmitResponse) String() string
func (p *BatchSubmitResponse) Write(oprot thrift.TProtocol) error
type Collector interface { // Parameters: // - Batches SubmitBatches(ctx context.Context, batches []*Batch) (r []*BatchSubmitResponse, err error) }
type CollectorClient struct {
// contains filtered or unexported fields
}
func NewCollectorClient(c thrift.TClient) *CollectorClient
func NewCollectorClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *CollectorClient
Deprecated: Use NewCollector instead
func NewCollectorClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *CollectorClient
Deprecated: Use NewCollector instead
func (p *CollectorClient) SubmitBatches(ctx context.Context, batches []*Batch) (r []*BatchSubmitResponse, err error)
Parameters:
- Batches
type CollectorProcessor struct {
// contains filtered or unexported fields
}
func NewCollectorProcessor(handler Collector) *CollectorProcessor
func (p *CollectorProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (p *CollectorProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (p *CollectorProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (p *CollectorProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type CollectorSubmitBatchesArgs struct { Batches []*Batch `thrift:"batches,1" db:"batches" json:"batches"` }
Attributes:
- Batches
func NewCollectorSubmitBatchesArgs() *CollectorSubmitBatchesArgs
func (p *CollectorSubmitBatchesArgs) GetBatches() []*Batch
func (p *CollectorSubmitBatchesArgs) Read(iprot thrift.TProtocol) error
func (p *CollectorSubmitBatchesArgs) ReadField1(iprot thrift.TProtocol) error
func (p *CollectorSubmitBatchesArgs) String() string
func (p *CollectorSubmitBatchesArgs) Write(oprot thrift.TProtocol) error
type CollectorSubmitBatchesResult struct { Success []*BatchSubmitResponse `thrift:"success,0" db:"success" json:"success,omitempty"` }
Attributes:
- Success
func NewCollectorSubmitBatchesResult() *CollectorSubmitBatchesResult
func (p *CollectorSubmitBatchesResult) GetSuccess() []*BatchSubmitResponse
func (p *CollectorSubmitBatchesResult) IsSetSuccess() bool
func (p *CollectorSubmitBatchesResult) Read(iprot thrift.TProtocol) error
func (p *CollectorSubmitBatchesResult) ReadField0(iprot thrift.TProtocol) error
func (p *CollectorSubmitBatchesResult) String() string
func (p *CollectorSubmitBatchesResult) Write(oprot thrift.TProtocol) error
type Log struct { Timestamp int64 `thrift:"timestamp,1,required" db:"timestamp" json:"timestamp"` Fields []*Tag `thrift:"fields,2,required" db:"fields" json:"fields"` }
Attributes:
- Timestamp - Fields
type Process struct { ServiceName string `thrift:"serviceName,1,required" db:"serviceName" json:"serviceName"` Tags []*Tag `thrift:"tags,2" db:"tags" json:"tags,omitempty"` }
Attributes:
- ServiceName - Tags
type Span struct { TraceIdLow int64 `thrift:"traceIdLow,1,required" db:"traceIdLow" json:"traceIdLow"` TraceIdHigh int64 `thrift:"traceIdHigh,2,required" db:"traceIdHigh" json:"traceIdHigh"` SpanId int64 `thrift:"spanId,3,required" db:"spanId" json:"spanId"` ParentSpanId int64 `thrift:"parentSpanId,4,required" db:"parentSpanId" json:"parentSpanId"` OperationName string `thrift:"operationName,5,required" db:"operationName" json:"operationName"` References []*SpanRef `thrift:"references,6" db:"references" json:"references,omitempty"` Flags int32 `thrift:"flags,7,required" db:"flags" json:"flags"` StartTime int64 `thrift:"startTime,8,required" db:"startTime" json:"startTime"` Duration int64 `thrift:"duration,9,required" db:"duration" json:"duration"` Tags []*Tag `thrift:"tags,10" db:"tags" json:"tags,omitempty"` Logs []*Log `thrift:"logs,11" db:"logs" json:"logs,omitempty"` }
Attributes:
- TraceIdLow - TraceIdHigh - SpanId - ParentSpanId - OperationName - References - Flags - StartTime - Duration - Tags - Logs
type SpanRef struct { RefType SpanRefType `thrift:"refType,1,required" db:"refType" json:"refType"` TraceIdLow int64 `thrift:"traceIdLow,2,required" db:"traceIdLow" json:"traceIdLow"` TraceIdHigh int64 `thrift:"traceIdHigh,3,required" db:"traceIdHigh" json:"traceIdHigh"` SpanId int64 `thrift:"spanId,4,required" db:"spanId" json:"spanId"` }
Attributes:
- RefType - TraceIdLow - TraceIdHigh - SpanId
func (p *SpanRef) GetRefType() SpanRefType
const ( SpanRefType_CHILD_OF SpanRefType = 0 SpanRefType_FOLLOWS_FROM SpanRefType = 1 )
func SpanRefTypeFromString(s string) (SpanRefType, error)
func SpanRefTypePtr(v SpanRefType) *SpanRefType
func (p SpanRefType) MarshalText() ([]byte, error)
func (p *SpanRefType) Scan(value interface{}) error
func (p SpanRefType) String() string
func (p *SpanRefType) UnmarshalText(text []byte) error
func (p *SpanRefType) Value() (driver.Value, error)
type Tag struct { Key string `thrift:"key,1,required" db:"key" json:"key"` VType TagType `thrift:"vType,2,required" db:"vType" json:"vType"` VStr *string `thrift:"vStr,3" db:"vStr" json:"vStr,omitempty"` VDouble *float64 `thrift:"vDouble,4" db:"vDouble" json:"vDouble,omitempty"` VBool *bool `thrift:"vBool,5" db:"vBool" json:"vBool,omitempty"` VLong *int64 `thrift:"vLong,6" db:"vLong" json:"vLong,omitempty"` VBinary []byte `thrift:"vBinary,7" db:"vBinary" json:"vBinary,omitempty"` }
Attributes:
- Key - VType - VStr - VDouble - VBool - VLong - VBinary
const ( TagType_STRING TagType = 0 TagType_DOUBLE TagType = 1 TagType_BOOL TagType = 2 TagType_LONG TagType = 3 TagType_BINARY TagType = 4 )
Path | Synopsis |
---|---|
collector-remote |
Package jaeger imports 7 packages (graph) and is imported by 2 packages. Updated 2020-03-04. Refresh now. Tools for package owners.