lightstep_thrift - ActiveState ActiveGo 1.8
...

Package lightstep_thrift

import "github.com/lightstep/lightstep-tracer-go/lightstep_thrift"
Overview
Index

Overview ▾

Index ▾

Variables
type Auth
    func NewAuth() *Auth
    func (p *Auth) GetAccessToken() string
    func (p *Auth) IsSetAccessToken() bool
    func (p *Auth) Read(iprot thrift.TProtocol) error
    func (p *Auth) ReadField1(iprot thrift.TProtocol) error
    func (p *Auth) String() string
    func (p *Auth) Write(oprot thrift.TProtocol) error
type Command
    func NewCommand() *Command
    func (p *Command) GetDisable() bool
    func (p *Command) IsSetDisable() bool
    func (p *Command) Read(iprot thrift.TProtocol) error
    func (p *Command) ReadField1(iprot thrift.TProtocol) error
    func (p *Command) String() string
    func (p *Command) Write(oprot thrift.TProtocol) error
type KeyValue
    func NewKeyValue() *KeyValue
    func (p *KeyValue) GetKey() string
    func (p *KeyValue) GetValue() string
    func (p *KeyValue) Read(iprot thrift.TProtocol) error
    func (p *KeyValue) ReadField1(iprot thrift.TProtocol) error
    func (p *KeyValue) ReadField2(iprot thrift.TProtocol) error
    func (p *KeyValue) String() string
    func (p *KeyValue) Write(oprot thrift.TProtocol) error
type LogRecord
    func NewLogRecord() *LogRecord
    func (p *LogRecord) GetErrorFlag() bool
    func (p *LogRecord) GetFields() []*KeyValue
    func (p *LogRecord) GetFilename() string
    func (p *LogRecord) GetLevel() string
    func (p *LogRecord) GetLineNumber() int64
    func (p *LogRecord) GetMessage() string
    func (p *LogRecord) GetPayloadJson() string
    func (p *LogRecord) GetRuntimeGuid() string
    func (p *LogRecord) GetSpanGuid() string
    func (p *LogRecord) GetStableName() string
    func (p *LogRecord) GetStackFrames() []string
    func (p *LogRecord) GetThreadId() int64
    func (p *LogRecord) GetTimestampMicros() int64
    func (p *LogRecord) IsSetErrorFlag() bool
    func (p *LogRecord) IsSetFields() bool
    func (p *LogRecord) IsSetFilename() bool
    func (p *LogRecord) IsSetLevel() bool
    func (p *LogRecord) IsSetLineNumber() bool
    func (p *LogRecord) IsSetMessage() bool
    func (p *LogRecord) IsSetPayloadJson() bool
    func (p *LogRecord) IsSetRuntimeGuid() bool
    func (p *LogRecord) IsSetSpanGuid() bool
    func (p *LogRecord) IsSetStableName() bool
    func (p *LogRecord) IsSetStackFrames() bool
    func (p *LogRecord) IsSetThreadId() bool
    func (p *LogRecord) IsSetTimestampMicros() bool
    func (p *LogRecord) Read(iprot thrift.TProtocol) error
    func (p *LogRecord) ReadField1(iprot thrift.TProtocol) error
    func (p *LogRecord) ReadField10(iprot thrift.TProtocol) error
    func (p *LogRecord) ReadField11(iprot thrift.TProtocol) error
    func (p *LogRecord) ReadField12(iprot thrift.TProtocol) error
    func (p *LogRecord) ReadField13(iprot thrift.TProtocol) error
    func (p *LogRecord) ReadField2(iprot thrift.TProtocol) error
    func (p *LogRecord) ReadField3(iprot thrift.TProtocol) error
    func (p *LogRecord) ReadField4(iprot thrift.TProtocol) error
    func (p *LogRecord) ReadField5(iprot thrift.TProtocol) error
    func (p *LogRecord) ReadField6(iprot thrift.TProtocol) error
    func (p *LogRecord) ReadField7(iprot thrift.TProtocol) error
    func (p *LogRecord) ReadField8(iprot thrift.TProtocol) error
    func (p *LogRecord) ReadField9(iprot thrift.TProtocol) error
    func (p *LogRecord) String() string
    func (p *LogRecord) Write(oprot thrift.TProtocol) error
type Metrics
    func NewMetrics() *Metrics
    func (p *Metrics) GetCounts() []*MetricsSample
    func (p *Metrics) GetGauges() []*MetricsSample
    func (p *Metrics) IsSetCounts() bool
    func (p *Metrics) IsSetGauges() bool
    func (p *Metrics) Read(iprot thrift.TProtocol) error
    func (p *Metrics) ReadField1(iprot thrift.TProtocol) error
    func (p *Metrics) ReadField2(iprot thrift.TProtocol) error
    func (p *Metrics) String() string
    func (p *Metrics) Write(oprot thrift.TProtocol) error
type MetricsSample
    func NewMetricsSample() *MetricsSample
    func (p *MetricsSample) GetDoubleValue() float64
    func (p *MetricsSample) GetInt64Value() int64
    func (p *MetricsSample) GetName() string
    func (p *MetricsSample) IsSetDoubleValue() bool
    func (p *MetricsSample) IsSetInt64Value() bool
    func (p *MetricsSample) Read(iprot thrift.TProtocol) error
    func (p *MetricsSample) ReadField1(iprot thrift.TProtocol) error
    func (p *MetricsSample) ReadField2(iprot thrift.TProtocol) error
    func (p *MetricsSample) ReadField3(iprot thrift.TProtocol) error
    func (p *MetricsSample) String() string
    func (p *MetricsSample) Write(oprot thrift.TProtocol) error
type NamedCounter
    func NewNamedCounter() *NamedCounter
    func (p *NamedCounter) GetName() string
    func (p *NamedCounter) GetValue() int64
    func (p *NamedCounter) Read(iprot thrift.TProtocol) error
    func (p *NamedCounter) ReadField1(iprot thrift.TProtocol) error
    func (p *NamedCounter) ReadField2(iprot thrift.TProtocol) error
    func (p *NamedCounter) String() string
    func (p *NamedCounter) Write(oprot thrift.TProtocol) error
type ReportArgs
    func NewReportArgs() *ReportArgs
    func (p *ReportArgs) GetAuth() *Auth
    func (p *ReportArgs) GetRequest() *ReportRequest
    func (p *ReportArgs) IsSetAuth() bool
    func (p *ReportArgs) IsSetRequest() bool
    func (p *ReportArgs) Read(iprot thrift.TProtocol) error
    func (p *ReportArgs) ReadField1(iprot thrift.TProtocol) error
    func (p *ReportArgs) ReadField2(iprot thrift.TProtocol) error
    func (p *ReportArgs) String() string
    func (p *ReportArgs) Write(oprot thrift.TProtocol) error
type ReportRequest
    func NewReportRequest() *ReportRequest
    func (p *ReportRequest) GetCounters() []*NamedCounter
    func (p *ReportRequest) GetInternalLogs() []*LogRecord
    func (p *ReportRequest) GetInternalMetrics() *Metrics
    func (p *ReportRequest) GetLogRecords() []*LogRecord
    func (p *ReportRequest) GetOldestMicros() int64
    func (p *ReportRequest) GetRuntime() *Runtime
    func (p *ReportRequest) GetSpanRecords() []*SpanRecord
    func (p *ReportRequest) GetTimestampOffsetMicros() int64
    func (p *ReportRequest) GetYoungestMicros() int64
    func (p *ReportRequest) IsSetCounters() bool
    func (p *ReportRequest) IsSetInternalLogs() bool
    func (p *ReportRequest) IsSetInternalMetrics() bool
    func (p *ReportRequest) IsSetLogRecords() bool
    func (p *ReportRequest) IsSetOldestMicros() bool
    func (p *ReportRequest) IsSetRuntime() bool
    func (p *ReportRequest) IsSetSpanRecords() bool
    func (p *ReportRequest) IsSetTimestampOffsetMicros() bool
    func (p *ReportRequest) IsSetYoungestMicros() bool
    func (p *ReportRequest) Read(iprot thrift.TProtocol) error
    func (p *ReportRequest) ReadField1(iprot thrift.TProtocol) error
    func (p *ReportRequest) ReadField10(iprot thrift.TProtocol) error
    func (p *ReportRequest) ReadField11(iprot thrift.TProtocol) error
    func (p *ReportRequest) ReadField3(iprot thrift.TProtocol) error
    func (p *ReportRequest) ReadField4(iprot thrift.TProtocol) error
    func (p *ReportRequest) ReadField5(iprot thrift.TProtocol) error
    func (p *ReportRequest) ReadField7(iprot thrift.TProtocol) error
    func (p *ReportRequest) ReadField8(iprot thrift.TProtocol) error
    func (p *ReportRequest) ReadField9(iprot thrift.TProtocol) error
    func (p *ReportRequest) String() string
    func (p *ReportRequest) Write(oprot thrift.TProtocol) error
type ReportResponse
    func NewReportResponse() *ReportResponse
    func (p *ReportResponse) GetCommands() []*Command
    func (p *ReportResponse) GetErrors() []string
    func (p *ReportResponse) GetTiming() *Timing
    func (p *ReportResponse) IsSetCommands() bool
    func (p *ReportResponse) IsSetErrors() bool
    func (p *ReportResponse) IsSetTiming() bool
    func (p *ReportResponse) Read(iprot thrift.TProtocol) error
    func (p *ReportResponse) ReadField1(iprot thrift.TProtocol) error
    func (p *ReportResponse) ReadField2(iprot thrift.TProtocol) error
    func (p *ReportResponse) ReadField3(iprot thrift.TProtocol) error
    func (p *ReportResponse) String() string
    func (p *ReportResponse) Write(oprot thrift.TProtocol) error
type ReportResult
    func NewReportResult() *ReportResult
    func (p *ReportResult) GetSuccess() *ReportResponse
    func (p *ReportResult) IsSetSuccess() bool
    func (p *ReportResult) Read(iprot thrift.TProtocol) error
    func (p *ReportResult) ReadField0(iprot thrift.TProtocol) error
    func (p *ReportResult) String() string
    func (p *ReportResult) Write(oprot thrift.TProtocol) error
type ReportingService
type ReportingServiceClient
    func NewReportingServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *ReportingServiceClient
    func NewReportingServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *ReportingServiceClient
    func (p *ReportingServiceClient) Report(auth *Auth, request *ReportRequest) (r *ReportResponse, err error)
type ReportingServiceProcessor
    func NewReportingServiceProcessor(handler ReportingService) *ReportingServiceProcessor
    func (p *ReportingServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
    func (p *ReportingServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
    func (p *ReportingServiceProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
    func (p *ReportingServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type Runtime
    func NewRuntime() *Runtime
    func (p *Runtime) GetAttrs() []*KeyValue
    func (p *Runtime) GetGroupName() string
    func (p *Runtime) GetGuid() string
    func (p *Runtime) GetStartMicros() int64
    func (p *Runtime) IsSetAttrs() bool
    func (p *Runtime) IsSetGroupName() bool
    func (p *Runtime) IsSetGuid() bool
    func (p *Runtime) IsSetStartMicros() bool
    func (p *Runtime) Read(iprot thrift.TProtocol) error
    func (p *Runtime) ReadField1(iprot thrift.TProtocol) error
    func (p *Runtime) ReadField2(iprot thrift.TProtocol) error
    func (p *Runtime) ReadField3(iprot thrift.TProtocol) error
    func (p *Runtime) ReadField4(iprot thrift.TProtocol) error
    func (p *Runtime) String() string
    func (p *Runtime) Write(oprot thrift.TProtocol) error
type SampleCount
    func NewSampleCount() *SampleCount
    func (p *SampleCount) GetCount() int64
    func (p *SampleCount) GetOldestMicros() int64
    func (p *SampleCount) GetYoungestMicros() int64
    func (p *SampleCount) IsSetCount() bool
    func (p *SampleCount) IsSetOldestMicros() bool
    func (p *SampleCount) IsSetYoungestMicros() bool
    func (p *SampleCount) Read(iprot thrift.TProtocol) error
    func (p *SampleCount) ReadField1(iprot thrift.TProtocol) error
    func (p *SampleCount) ReadField2(iprot thrift.TProtocol) error
    func (p *SampleCount) ReadField3(iprot thrift.TProtocol) error
    func (p *SampleCount) String() string
    func (p *SampleCount) Write(oprot thrift.TProtocol) error
type SpanRecord
    func NewSpanRecord() *SpanRecord
    func (p *SpanRecord) GetAttributes() []*KeyValue
    func (p *SpanRecord) GetErrorFlag() bool
    func (p *SpanRecord) GetJoinIds() []*TraceJoinId
    func (p *SpanRecord) GetLogRecords() []*LogRecord
    func (p *SpanRecord) GetOldestMicros() int64
    func (p *SpanRecord) GetRuntimeGuid() string
    func (p *SpanRecord) GetSpanGuid() string
    func (p *SpanRecord) GetSpanName() string
    func (p *SpanRecord) GetTraceGuid() string
    func (p *SpanRecord) GetYoungestMicros() int64
    func (p *SpanRecord) IsSetAttributes() bool
    func (p *SpanRecord) IsSetErrorFlag() bool
    func (p *SpanRecord) IsSetJoinIds() bool
    func (p *SpanRecord) IsSetLogRecords() bool
    func (p *SpanRecord) IsSetOldestMicros() bool
    func (p *SpanRecord) IsSetRuntimeGuid() bool
    func (p *SpanRecord) IsSetSpanGuid() bool
    func (p *SpanRecord) IsSetSpanName() bool
    func (p *SpanRecord) IsSetTraceGuid() bool
    func (p *SpanRecord) IsSetYoungestMicros() bool
    func (p *SpanRecord) Read(iprot thrift.TProtocol) error
    func (p *SpanRecord) ReadField1(iprot thrift.TProtocol) error
    func (p *SpanRecord) ReadField10(iprot thrift.TProtocol) error
    func (p *SpanRecord) ReadField11(iprot thrift.TProtocol) error
    func (p *SpanRecord) ReadField2(iprot thrift.TProtocol) error
    func (p *SpanRecord) ReadField3(iprot thrift.TProtocol) error
    func (p *SpanRecord) ReadField4(iprot thrift.TProtocol) error
    func (p *SpanRecord) ReadField5(iprot thrift.TProtocol) error
    func (p *SpanRecord) ReadField6(iprot thrift.TProtocol) error
    func (p *SpanRecord) ReadField8(iprot thrift.TProtocol) error
    func (p *SpanRecord) ReadField9(iprot thrift.TProtocol) error
    func (p *SpanRecord) String() string
    func (p *SpanRecord) Write(oprot thrift.TProtocol) error
type Timing
    func NewTiming() *Timing
    func (p *Timing) GetReceiveMicros() int64
    func (p *Timing) GetTransmitMicros() int64
    func (p *Timing) IsSetReceiveMicros() bool
    func (p *Timing) IsSetTransmitMicros() bool
    func (p *Timing) Read(iprot thrift.TProtocol) error
    func (p *Timing) ReadField1(iprot thrift.TProtocol) error
    func (p *Timing) ReadField2(iprot thrift.TProtocol) error
    func (p *Timing) String() string
    func (p *Timing) Write(oprot thrift.TProtocol) error
type TraceJoinId
    func NewTraceJoinId() *TraceJoinId
    func (p *TraceJoinId) GetTraceKey() string
    func (p *TraceJoinId) GetValue() string
    func (p *TraceJoinId) Read(iprot thrift.TProtocol) error
    func (p *TraceJoinId) ReadField1(iprot thrift.TProtocol) error
    func (p *TraceJoinId) ReadField2(iprot thrift.TProtocol) error
    func (p *TraceJoinId) String() string
    func (p *TraceJoinId) Write(oprot thrift.TProtocol) error

Package files

constants.go reportingservice.go ttypes.go

Variables

var Auth_AccessToken_DEFAULT string
var Command_Disable_DEFAULT bool
var GoUnusedProtection__ int
var LogRecord_ErrorFlag_DEFAULT bool
var LogRecord_Fields_DEFAULT []*KeyValue
var LogRecord_Filename_DEFAULT string
var LogRecord_Level_DEFAULT string
var LogRecord_LineNumber_DEFAULT int64
var LogRecord_Message_DEFAULT string
var LogRecord_PayloadJson_DEFAULT string
var LogRecord_RuntimeGuid_DEFAULT string
var LogRecord_SpanGuid_DEFAULT string
var LogRecord_StableName_DEFAULT string
var LogRecord_StackFrames_DEFAULT []string
var LogRecord_ThreadId_DEFAULT int64
var LogRecord_TimestampMicros_DEFAULT int64
var MetricsSample_DoubleValue_DEFAULT float64
var MetricsSample_Int64Value_DEFAULT int64
var Metrics_Counts_DEFAULT []*MetricsSample
var Metrics_Gauges_DEFAULT []*MetricsSample
var ReportRequest_Counters_DEFAULT []*NamedCounter
var ReportRequest_InternalLogs_DEFAULT []*LogRecord
var ReportRequest_LogRecords_DEFAULT []*LogRecord
var ReportRequest_OldestMicros_DEFAULT int64
var ReportRequest_SpanRecords_DEFAULT []*SpanRecord
var ReportRequest_TimestampOffsetMicros_DEFAULT int64
var ReportRequest_YoungestMicros_DEFAULT int64
var ReportResponse_Commands_DEFAULT []*Command
var ReportResponse_Errors_DEFAULT []string
var Runtime_Attrs_DEFAULT []*KeyValue
var Runtime_GroupName_DEFAULT string
var Runtime_Guid_DEFAULT string
var Runtime_StartMicros_DEFAULT int64
var SampleCount_Count_DEFAULT int64
var SampleCount_OldestMicros_DEFAULT int64
var SampleCount_YoungestMicros_DEFAULT int64
var SpanRecord_Attributes_DEFAULT []*KeyValue
var SpanRecord_ErrorFlag_DEFAULT bool
var SpanRecord_JoinIds_DEFAULT []*TraceJoinId
var SpanRecord_LogRecords_DEFAULT []*LogRecord
var SpanRecord_OldestMicros_DEFAULT int64
var SpanRecord_RuntimeGuid_DEFAULT string
var SpanRecord_SpanGuid_DEFAULT string
var SpanRecord_SpanName_DEFAULT string
var SpanRecord_TraceGuid_DEFAULT string
var SpanRecord_YoungestMicros_DEFAULT int64
var Timing_ReceiveMicros_DEFAULT int64
var Timing_TransmitMicros_DEFAULT int64

type Auth

type Auth struct {
    AccessToken *string `thrift:"access_token,1" json:"access_token"`
}
var ReportArgs_Auth_DEFAULT *Auth

func NewAuth

func NewAuth() *Auth

func (*Auth) GetAccessToken

func (p *Auth) GetAccessToken() string

func (*Auth) IsSetAccessToken

func (p *Auth) IsSetAccessToken() bool

func (*Auth) Read

func (p *Auth) Read(iprot thrift.TProtocol) error

func (*Auth) ReadField1

func (p *Auth) ReadField1(iprot thrift.TProtocol) error

func (*Auth) String

func (p *Auth) String() string

func (*Auth) Write

func (p *Auth) Write(oprot thrift.TProtocol) error

type Command

type Command struct {
    Disable *bool `thrift:"disable,1" json:"disable"`
}

func NewCommand

func NewCommand() *Command

func (*Command) GetDisable

func (p *Command) GetDisable() bool

func (*Command) IsSetDisable

func (p *Command) IsSetDisable() bool

func (*Command) Read

func (p *Command) Read(iprot thrift.TProtocol) error

func (*Command) ReadField1

func (p *Command) ReadField1(iprot thrift.TProtocol) error

func (*Command) String

func (p *Command) String() string

func (*Command) Write

func (p *Command) Write(oprot thrift.TProtocol) error

type KeyValue

type KeyValue struct {
    Key   string `thrift:"Key,1,required" json:"Key"`
    Value string `thrift:"Value,2,required" json:"Value"`
}

func NewKeyValue

func NewKeyValue() *KeyValue

func (*KeyValue) GetKey

func (p *KeyValue) GetKey() string

func (*KeyValue) GetValue

func (p *KeyValue) GetValue() string

func (*KeyValue) Read

func (p *KeyValue) Read(iprot thrift.TProtocol) error

func (*KeyValue) ReadField1

func (p *KeyValue) ReadField1(iprot thrift.TProtocol) error

func (*KeyValue) ReadField2

func (p *KeyValue) ReadField2(iprot thrift.TProtocol) error

func (*KeyValue) String

func (p *KeyValue) String() string

func (*KeyValue) Write

func (p *KeyValue) Write(oprot thrift.TProtocol) error

type LogRecord

type LogRecord struct {
    TimestampMicros *int64      `thrift:"timestamp_micros,1" json:"timestamp_micros"`
    RuntimeGuid     *string     `thrift:"runtime_guid,2" json:"runtime_guid"`
    SpanGuid        *string     `thrift:"span_guid,3" json:"span_guid"`
    StableName      *string     `thrift:"stable_name,4" json:"stable_name"`
    Message         *string     `thrift:"message,5" json:"message"`
    Level           *string     `thrift:"level,6" json:"level"`
    ThreadId        *int64      `thrift:"thread_id,7" json:"thread_id"`
    Filename        *string     `thrift:"filename,8" json:"filename"`
    LineNumber      *int64      `thrift:"line_number,9" json:"line_number"`
    StackFrames     []string    `thrift:"stack_frames,10" json:"stack_frames"`
    PayloadJson     *string     `thrift:"payload_json,11" json:"payload_json"`
    ErrorFlag       *bool       `thrift:"error_flag,12" json:"error_flag"`
    Fields          []*KeyValue `thrift:"fields,13" json:"fields"`
}

func NewLogRecord

func NewLogRecord() *LogRecord

func (*LogRecord) GetErrorFlag

func (p *LogRecord) GetErrorFlag() bool

func (*LogRecord) GetFields

func (p *LogRecord) GetFields() []*KeyValue

func (*LogRecord) GetFilename

func (p *LogRecord) GetFilename() string

func (*LogRecord) GetLevel

func (p *LogRecord) GetLevel() string

func (*LogRecord) GetLineNumber

func (p *LogRecord) GetLineNumber() int64

func (*LogRecord) GetMessage

func (p *LogRecord) GetMessage() string

func (*LogRecord) GetPayloadJson

func (p *LogRecord) GetPayloadJson() string

func (*LogRecord) GetRuntimeGuid

func (p *LogRecord) GetRuntimeGuid() string

func (*LogRecord) GetSpanGuid

func (p *LogRecord) GetSpanGuid() string

func (*LogRecord) GetStableName

func (p *LogRecord) GetStableName() string

func (*LogRecord) GetStackFrames

func (p *LogRecord) GetStackFrames() []string

func (*LogRecord) GetThreadId

func (p *LogRecord) GetThreadId() int64

func (*LogRecord) GetTimestampMicros

func (p *LogRecord) GetTimestampMicros() int64

func (*LogRecord) IsSetErrorFlag

func (p *LogRecord) IsSetErrorFlag() bool

func (*LogRecord) IsSetFields

func (p *LogRecord) IsSetFields() bool

func (*LogRecord) IsSetFilename

func (p *LogRecord) IsSetFilename() bool

func (*LogRecord) IsSetLevel

func (p *LogRecord) IsSetLevel() bool

func (*LogRecord) IsSetLineNumber

func (p *LogRecord) IsSetLineNumber() bool

func (*LogRecord) IsSetMessage

func (p *LogRecord) IsSetMessage() bool

func (*LogRecord) IsSetPayloadJson

func (p *LogRecord) IsSetPayloadJson() bool

func (*LogRecord) IsSetRuntimeGuid

func (p *LogRecord) IsSetRuntimeGuid() bool

func (*LogRecord) IsSetSpanGuid

func (p *LogRecord) IsSetSpanGuid() bool

func (*LogRecord) IsSetStableName

func (p *LogRecord) IsSetStableName() bool

func (*LogRecord) IsSetStackFrames

func (p *LogRecord) IsSetStackFrames() bool

func (*LogRecord) IsSetThreadId

func (p *LogRecord) IsSetThreadId() bool

func (*LogRecord) IsSetTimestampMicros

func (p *LogRecord) IsSetTimestampMicros() bool

func (*LogRecord) Read

func (p *LogRecord) Read(iprot thrift.TProtocol) error

func (*LogRecord) ReadField1

func (p *LogRecord) ReadField1(iprot thrift.TProtocol) error

func (*LogRecord) ReadField10

func (p *LogRecord) ReadField10(iprot thrift.TProtocol) error

func (*LogRecord) ReadField11

func (p *LogRecord) ReadField11(iprot thrift.TProtocol) error

func (*LogRecord) ReadField12

func (p *LogRecord) ReadField12(iprot thrift.TProtocol) error

func (*LogRecord) ReadField13

func (p *LogRecord) ReadField13(iprot thrift.TProtocol) error

func (*LogRecord) ReadField2

func (p *LogRecord) ReadField2(iprot thrift.TProtocol) error

func (*LogRecord) ReadField3

func (p *LogRecord) ReadField3(iprot thrift.TProtocol) error

func (*LogRecord) ReadField4

func (p *LogRecord) ReadField4(iprot thrift.TProtocol) error

func (*LogRecord) ReadField5

func (p *LogRecord) ReadField5(iprot thrift.TProtocol) error

func (*LogRecord) ReadField6

func (p *LogRecord) ReadField6(iprot thrift.TProtocol) error

func (*LogRecord) ReadField7

func (p *LogRecord) ReadField7(iprot thrift.TProtocol) error

func (*LogRecord) ReadField8

func (p *LogRecord) ReadField8(iprot thrift.TProtocol) error

func (*LogRecord) ReadField9

func (p *LogRecord) ReadField9(iprot thrift.TProtocol) error

func (*LogRecord) String

func (p *LogRecord) String() string

func (*LogRecord) Write

func (p *LogRecord) Write(oprot thrift.TProtocol) error

type Metrics

type Metrics struct {
    Counts []*MetricsSample `thrift:"counts,1" json:"counts"`
    Gauges []*MetricsSample `thrift:"gauges,2" json:"gauges"`
}
var ReportRequest_InternalMetrics_DEFAULT *Metrics

func NewMetrics

func NewMetrics() *Metrics

func (*Metrics) GetCounts

func (p *Metrics) GetCounts() []*MetricsSample

func (*Metrics) GetGauges

func (p *Metrics) GetGauges() []*MetricsSample

func (*Metrics) IsSetCounts

func (p *Metrics) IsSetCounts() bool

func (*Metrics) IsSetGauges

func (p *Metrics) IsSetGauges() bool

func (*Metrics) Read

func (p *Metrics) Read(iprot thrift.TProtocol) error

func (*Metrics) ReadField1

func (p *Metrics) ReadField1(iprot thrift.TProtocol) error

func (*Metrics) ReadField2

func (p *Metrics) ReadField2(iprot thrift.TProtocol) error

func (*Metrics) String

func (p *Metrics) String() string

func (*Metrics) Write

func (p *Metrics) Write(oprot thrift.TProtocol) error

type MetricsSample

type MetricsSample struct {
    Name        string   `thrift:"name,1,required" json:"name"`
    Int64Value  *int64   `thrift:"int64_value,2" json:"int64_value"`
    DoubleValue *float64 `thrift:"double_value,3" json:"double_value"`
}

func NewMetricsSample

func NewMetricsSample() *MetricsSample

func (*MetricsSample) GetDoubleValue

func (p *MetricsSample) GetDoubleValue() float64

func (*MetricsSample) GetInt64Value

func (p *MetricsSample) GetInt64Value() int64

func (*MetricsSample) GetName

func (p *MetricsSample) GetName() string

func (*MetricsSample) IsSetDoubleValue

func (p *MetricsSample) IsSetDoubleValue() bool

func (*MetricsSample) IsSetInt64Value

func (p *MetricsSample) IsSetInt64Value() bool

func (*MetricsSample) Read

func (p *MetricsSample) Read(iprot thrift.TProtocol) error

func (*MetricsSample) ReadField1

func (p *MetricsSample) ReadField1(iprot thrift.TProtocol) error

func (*MetricsSample) ReadField2

func (p *MetricsSample) ReadField2(iprot thrift.TProtocol) error

func (*MetricsSample) ReadField3

func (p *MetricsSample) ReadField3(iprot thrift.TProtocol) error

func (*MetricsSample) String

func (p *MetricsSample) String() string

func (*MetricsSample) Write

func (p *MetricsSample) Write(oprot thrift.TProtocol) error

type NamedCounter

type NamedCounter struct {
    Name  string `thrift:"Name,1,required" json:"Name"`
    Value int64  `thrift:"Value,2,required" json:"Value"`
}

func NewNamedCounter

func NewNamedCounter() *NamedCounter

func (*NamedCounter) GetName

func (p *NamedCounter) GetName() string

func (*NamedCounter) GetValue

func (p *NamedCounter) GetValue() int64

func (*NamedCounter) Read

func (p *NamedCounter) Read(iprot thrift.TProtocol) error

func (*NamedCounter) ReadField1

func (p *NamedCounter) ReadField1(iprot thrift.TProtocol) error

func (*NamedCounter) ReadField2

func (p *NamedCounter) ReadField2(iprot thrift.TProtocol) error

func (*NamedCounter) String

func (p *NamedCounter) String() string

func (*NamedCounter) Write

func (p *NamedCounter) Write(oprot thrift.TProtocol) error

type ReportArgs

type ReportArgs struct {
    Auth    *Auth          `thrift:"auth,1" json:"auth"`
    Request *ReportRequest `thrift:"request,2" json:"request"`
}

func NewReportArgs

func NewReportArgs() *ReportArgs

func (*ReportArgs) GetAuth

func (p *ReportArgs) GetAuth() *Auth

func (*ReportArgs) GetRequest

func (p *ReportArgs) GetRequest() *ReportRequest

func (*ReportArgs) IsSetAuth

func (p *ReportArgs) IsSetAuth() bool

func (*ReportArgs) IsSetRequest

func (p *ReportArgs) IsSetRequest() bool

func (*ReportArgs) Read

func (p *ReportArgs) Read(iprot thrift.TProtocol) error

func (*ReportArgs) ReadField1

func (p *ReportArgs) ReadField1(iprot thrift.TProtocol) error

func (*ReportArgs) ReadField2

func (p *ReportArgs) ReadField2(iprot thrift.TProtocol) error

func (*ReportArgs) String

func (p *ReportArgs) String() string

func (*ReportArgs) Write

func (p *ReportArgs) Write(oprot thrift.TProtocol) error

type ReportRequest

type ReportRequest struct {
    Runtime *Runtime `thrift:"runtime,1" json:"runtime"`
    // unused field # 2
    SpanRecords           []*SpanRecord `thrift:"span_records,3" json:"span_records"`
    LogRecords            []*LogRecord  `thrift:"log_records,4" json:"log_records"`
    TimestampOffsetMicros *int64        `thrift:"timestamp_offset_micros,5" json:"timestamp_offset_micros"`
    // unused field # 6
    OldestMicros    *int64          `thrift:"oldest_micros,7" json:"oldest_micros"`
    YoungestMicros  *int64          `thrift:"youngest_micros,8" json:"youngest_micros"`
    Counters        []*NamedCounter `thrift:"counters,9" json:"counters"`
    InternalLogs    []*LogRecord    `thrift:"internal_logs,10" json:"internal_logs"`
    InternalMetrics *Metrics        `thrift:"internal_metrics,11" json:"internal_metrics"`
}
var ReportArgs_Request_DEFAULT *ReportRequest

func NewReportRequest

func NewReportRequest() *ReportRequest

func (*ReportRequest) GetCounters

func (p *ReportRequest) GetCounters() []*NamedCounter

func (*ReportRequest) GetInternalLogs

func (p *ReportRequest) GetInternalLogs() []*LogRecord

func (*ReportRequest) GetInternalMetrics

func (p *ReportRequest) GetInternalMetrics() *Metrics

func (*ReportRequest) GetLogRecords

func (p *ReportRequest) GetLogRecords() []*LogRecord

func (*ReportRequest) GetOldestMicros

func (p *ReportRequest) GetOldestMicros() int64

func (*ReportRequest) GetRuntime

func (p *ReportRequest) GetRuntime() *Runtime

func (*ReportRequest) GetSpanRecords

func (p *ReportRequest) GetSpanRecords() []*SpanRecord

func (*ReportRequest) GetTimestampOffsetMicros

func (p *ReportRequest) GetTimestampOffsetMicros() int64

func (*ReportRequest) GetYoungestMicros

func (p *ReportRequest) GetYoungestMicros() int64

func (*ReportRequest) IsSetCounters

func (p *ReportRequest) IsSetCounters() bool

func (*ReportRequest) IsSetInternalLogs

func (p *ReportRequest) IsSetInternalLogs() bool

func (*ReportRequest) IsSetInternalMetrics

func (p *ReportRequest) IsSetInternalMetrics() bool

func (*ReportRequest) IsSetLogRecords

func (p *ReportRequest) IsSetLogRecords() bool

func (*ReportRequest) IsSetOldestMicros

func (p *ReportRequest) IsSetOldestMicros() bool

func (*ReportRequest) IsSetRuntime

func (p *ReportRequest) IsSetRuntime() bool

func (*ReportRequest) IsSetSpanRecords

func (p *ReportRequest) IsSetSpanRecords() bool

func (*ReportRequest) IsSetTimestampOffsetMicros

func (p *ReportRequest) IsSetTimestampOffsetMicros() bool

func (*ReportRequest) IsSetYoungestMicros

func (p *ReportRequest) IsSetYoungestMicros() bool

func (*ReportRequest) Read

func (p *ReportRequest) Read(iprot thrift.TProtocol) error

func (*ReportRequest) ReadField1

func (p *ReportRequest) ReadField1(iprot thrift.TProtocol) error

func (*ReportRequest) ReadField10

func (p *ReportRequest) ReadField10(iprot thrift.TProtocol) error

func (*ReportRequest) ReadField11

func (p *ReportRequest) ReadField11(iprot thrift.TProtocol) error

func (*ReportRequest) ReadField3

func (p *ReportRequest) ReadField3(iprot thrift.TProtocol) error

func (*ReportRequest) ReadField4

func (p *ReportRequest) ReadField4(iprot thrift.TProtocol) error

func (*ReportRequest) ReadField5

func (p *ReportRequest) ReadField5(iprot thrift.TProtocol) error

func (*ReportRequest) ReadField7

func (p *ReportRequest) ReadField7(iprot thrift.TProtocol) error

func (*ReportRequest) ReadField8

func (p *ReportRequest) ReadField8(iprot thrift.TProtocol) error

func (*ReportRequest) ReadField9

func (p *ReportRequest) ReadField9(iprot thrift.TProtocol) error

func (*ReportRequest) String

func (p *ReportRequest) String() string

func (*ReportRequest) Write

func (p *ReportRequest) Write(oprot thrift.TProtocol) error

type ReportResponse

type ReportResponse struct {
    Commands []*Command `thrift:"commands,1" json:"commands"`
    Timing   *Timing    `thrift:"timing,2" json:"timing"`
    Errors   []string   `thrift:"errors,3" json:"errors"`
}
var ReportResult_Success_DEFAULT *ReportResponse

func NewReportResponse

func NewReportResponse() *ReportResponse

func (*ReportResponse) GetCommands

func (p *ReportResponse) GetCommands() []*Command

func (*ReportResponse) GetErrors

func (p *ReportResponse) GetErrors() []string

func (*ReportResponse) GetTiming

func (p *ReportResponse) GetTiming() *Timing

func (*ReportResponse) IsSetCommands

func (p *ReportResponse) IsSetCommands() bool

func (*ReportResponse) IsSetErrors

func (p *ReportResponse) IsSetErrors() bool

func (*ReportResponse) IsSetTiming

func (p *ReportResponse) IsSetTiming() bool

func (*ReportResponse) Read

func (p *ReportResponse) Read(iprot thrift.TProtocol) error

func (*ReportResponse) ReadField1

func (p *ReportResponse) ReadField1(iprot thrift.TProtocol) error

func (*ReportResponse) ReadField2

func (p *ReportResponse) ReadField2(iprot thrift.TProtocol) error

func (*ReportResponse) ReadField3

func (p *ReportResponse) ReadField3(iprot thrift.TProtocol) error

func (*ReportResponse) String

func (p *ReportResponse) String() string

func (*ReportResponse) Write

func (p *ReportResponse) Write(oprot thrift.TProtocol) error

type ReportResult

type ReportResult struct {
    Success *ReportResponse `thrift:"success,0" json:"success"`
}

func NewReportResult

func NewReportResult() *ReportResult

func (*ReportResult) GetSuccess

func (p *ReportResult) GetSuccess() *ReportResponse

func (*ReportResult) IsSetSuccess

func (p *ReportResult) IsSetSuccess() bool

func (*ReportResult) Read

func (p *ReportResult) Read(iprot thrift.TProtocol) error

func (*ReportResult) ReadField0

func (p *ReportResult) ReadField0(iprot thrift.TProtocol) error

func (*ReportResult) String

func (p *ReportResult) String() string

func (*ReportResult) Write

func (p *ReportResult) Write(oprot thrift.TProtocol) error

type ReportingService

type ReportingService interface {
    // Parameters:
    //  - Auth
    //  - Request
    Report(auth *Auth, request *ReportRequest) (r *ReportResponse, err error)
}

type ReportingServiceClient

type ReportingServiceClient struct {
    Transport       thrift.TTransport
    ProtocolFactory thrift.TProtocolFactory
    InputProtocol   thrift.TProtocol
    OutputProtocol  thrift.TProtocol
    SeqId           int32
}

func NewReportingServiceClientFactory

func NewReportingServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *ReportingServiceClient

func NewReportingServiceClientProtocol

func NewReportingServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *ReportingServiceClient

func (*ReportingServiceClient) Report

func (p *ReportingServiceClient) Report(auth *Auth, request *ReportRequest) (r *ReportResponse, err error)

Parameters:

- Auth
- Request

type ReportingServiceProcessor

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

func NewReportingServiceProcessor

func NewReportingServiceProcessor(handler ReportingService) *ReportingServiceProcessor

func (*ReportingServiceProcessor) AddToProcessorMap

func (p *ReportingServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)

func (*ReportingServiceProcessor) GetProcessorFunction

func (p *ReportingServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)

func (*ReportingServiceProcessor) Process

func (p *ReportingServiceProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*ReportingServiceProcessor) ProcessorMap

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

type Runtime

type Runtime struct {
    Guid        *string     `thrift:"guid,1" json:"guid"`
    StartMicros *int64      `thrift:"start_micros,2" json:"start_micros"`
    GroupName   *string     `thrift:"group_name,3" json:"group_name"`
    Attrs       []*KeyValue `thrift:"attrs,4" json:"attrs"`
}
var ReportRequest_Runtime_DEFAULT *Runtime

func NewRuntime

func NewRuntime() *Runtime

func (*Runtime) GetAttrs

func (p *Runtime) GetAttrs() []*KeyValue

func (*Runtime) GetGroupName

func (p *Runtime) GetGroupName() string

func (*Runtime) GetGuid

func (p *Runtime) GetGuid() string

func (*Runtime) GetStartMicros

func (p *Runtime) GetStartMicros() int64

func (*Runtime) IsSetAttrs

func (p *Runtime) IsSetAttrs() bool

func (*Runtime) IsSetGroupName

func (p *Runtime) IsSetGroupName() bool

func (*Runtime) IsSetGuid

func (p *Runtime) IsSetGuid() bool

func (*Runtime) IsSetStartMicros

func (p *Runtime) IsSetStartMicros() bool

func (*Runtime) Read

func (p *Runtime) Read(iprot thrift.TProtocol) error

func (*Runtime) ReadField1

func (p *Runtime) ReadField1(iprot thrift.TProtocol) error

func (*Runtime) ReadField2

func (p *Runtime) ReadField2(iprot thrift.TProtocol) error

func (*Runtime) ReadField3

func (p *Runtime) ReadField3(iprot thrift.TProtocol) error

func (*Runtime) ReadField4

func (p *Runtime) ReadField4(iprot thrift.TProtocol) error

func (*Runtime) String

func (p *Runtime) String() string

func (*Runtime) Write

func (p *Runtime) Write(oprot thrift.TProtocol) error

type SampleCount

type SampleCount struct {
    OldestMicros   *int64 `thrift:"oldest_micros,1" json:"oldest_micros"`
    YoungestMicros *int64 `thrift:"youngest_micros,2" json:"youngest_micros"`
    Count          *int64 `thrift:"count,3" json:"count"`
}

func NewSampleCount

func NewSampleCount() *SampleCount

func (*SampleCount) GetCount

func (p *SampleCount) GetCount() int64

func (*SampleCount) GetOldestMicros

func (p *SampleCount) GetOldestMicros() int64

func (*SampleCount) GetYoungestMicros

func (p *SampleCount) GetYoungestMicros() int64

func (*SampleCount) IsSetCount

func (p *SampleCount) IsSetCount() bool

func (*SampleCount) IsSetOldestMicros

func (p *SampleCount) IsSetOldestMicros() bool

func (*SampleCount) IsSetYoungestMicros

func (p *SampleCount) IsSetYoungestMicros() bool

func (*SampleCount) Read

func (p *SampleCount) Read(iprot thrift.TProtocol) error

func (*SampleCount) ReadField1

func (p *SampleCount) ReadField1(iprot thrift.TProtocol) error

func (*SampleCount) ReadField2

func (p *SampleCount) ReadField2(iprot thrift.TProtocol) error

func (*SampleCount) ReadField3

func (p *SampleCount) ReadField3(iprot thrift.TProtocol) error

func (*SampleCount) String

func (p *SampleCount) String() string

func (*SampleCount) Write

func (p *SampleCount) Write(oprot thrift.TProtocol) error

type SpanRecord

type SpanRecord struct {
    SpanGuid       *string        `thrift:"span_guid,1" json:"span_guid"`
    RuntimeGuid    *string        `thrift:"runtime_guid,2" json:"runtime_guid"`
    SpanName       *string        `thrift:"span_name,3" json:"span_name"`
    JoinIds        []*TraceJoinId `thrift:"join_ids,4" json:"join_ids"`
    OldestMicros   *int64         `thrift:"oldest_micros,5" json:"oldest_micros"`
    YoungestMicros *int64         `thrift:"youngest_micros,6" json:"youngest_micros"`
    // unused field # 7
    Attributes []*KeyValue  `thrift:"attributes,8" json:"attributes"`
    ErrorFlag  *bool        `thrift:"error_flag,9" json:"error_flag"`
    LogRecords []*LogRecord `thrift:"log_records,10" json:"log_records"`
    TraceGuid  *string      `thrift:"trace_guid,11" json:"trace_guid"`
}

func NewSpanRecord

func NewSpanRecord() *SpanRecord

func (*SpanRecord) GetAttributes

func (p *SpanRecord) GetAttributes() []*KeyValue

func (*SpanRecord) GetErrorFlag

func (p *SpanRecord) GetErrorFlag() bool

func (*SpanRecord) GetJoinIds

func (p *SpanRecord) GetJoinIds() []*TraceJoinId

func (*SpanRecord) GetLogRecords

func (p *SpanRecord) GetLogRecords() []*LogRecord

func (*SpanRecord) GetOldestMicros

func (p *SpanRecord) GetOldestMicros() int64

func (*SpanRecord) GetRuntimeGuid

func (p *SpanRecord) GetRuntimeGuid() string

func (*SpanRecord) GetSpanGuid

func (p *SpanRecord) GetSpanGuid() string

func (*SpanRecord) GetSpanName

func (p *SpanRecord) GetSpanName() string

func (*SpanRecord) GetTraceGuid

func (p *SpanRecord) GetTraceGuid() string

func (*SpanRecord) GetYoungestMicros

func (p *SpanRecord) GetYoungestMicros() int64

func (*SpanRecord) IsSetAttributes

func (p *SpanRecord) IsSetAttributes() bool

func (*SpanRecord) IsSetErrorFlag

func (p *SpanRecord) IsSetErrorFlag() bool

func (*SpanRecord) IsSetJoinIds

func (p *SpanRecord) IsSetJoinIds() bool

func (*SpanRecord) IsSetLogRecords

func (p *SpanRecord) IsSetLogRecords() bool

func (*SpanRecord) IsSetOldestMicros

func (p *SpanRecord) IsSetOldestMicros() bool

func (*SpanRecord) IsSetRuntimeGuid

func (p *SpanRecord) IsSetRuntimeGuid() bool

func (*SpanRecord) IsSetSpanGuid

func (p *SpanRecord) IsSetSpanGuid() bool

func (*SpanRecord) IsSetSpanName

func (p *SpanRecord) IsSetSpanName() bool

func (*SpanRecord) IsSetTraceGuid

func (p *SpanRecord) IsSetTraceGuid() bool

func (*SpanRecord) IsSetYoungestMicros

func (p *SpanRecord) IsSetYoungestMicros() bool

func (*SpanRecord) Read

func (p *SpanRecord) Read(iprot thrift.TProtocol) error

func (*SpanRecord) ReadField1

func (p *SpanRecord) ReadField1(iprot thrift.TProtocol) error

func (*SpanRecord) ReadField10

func (p *SpanRecord) ReadField10(iprot thrift.TProtocol) error

func (*SpanRecord) ReadField11

func (p *SpanRecord) ReadField11(iprot thrift.TProtocol) error

func (*SpanRecord) ReadField2

func (p *SpanRecord) ReadField2(iprot thrift.TProtocol) error

func (*SpanRecord) ReadField3

func (p *SpanRecord) ReadField3(iprot thrift.TProtocol) error

func (*SpanRecord) ReadField4

func (p *SpanRecord) ReadField4(iprot thrift.TProtocol) error

func (*SpanRecord) ReadField5

func (p *SpanRecord) ReadField5(iprot thrift.TProtocol) error

func (*SpanRecord) ReadField6

func (p *SpanRecord) ReadField6(iprot thrift.TProtocol) error

func (*SpanRecord) ReadField8

func (p *SpanRecord) ReadField8(iprot thrift.TProtocol) error

func (*SpanRecord) ReadField9

func (p *SpanRecord) ReadField9(iprot thrift.TProtocol) error

func (*SpanRecord) String

func (p *SpanRecord) String() string

func (*SpanRecord) Write

func (p *SpanRecord) Write(oprot thrift.TProtocol) error

type Timing

type Timing struct {
    ReceiveMicros  *int64 `thrift:"receive_micros,1" json:"receive_micros"`
    TransmitMicros *int64 `thrift:"transmit_micros,2" json:"transmit_micros"`
}
var ReportResponse_Timing_DEFAULT *Timing

func NewTiming

func NewTiming() *Timing

func (*Timing) GetReceiveMicros

func (p *Timing) GetReceiveMicros() int64

func (*Timing) GetTransmitMicros

func (p *Timing) GetTransmitMicros() int64

func (*Timing) IsSetReceiveMicros

func (p *Timing) IsSetReceiveMicros() bool

func (*Timing) IsSetTransmitMicros

func (p *Timing) IsSetTransmitMicros() bool

func (*Timing) Read

func (p *Timing) Read(iprot thrift.TProtocol) error

func (*Timing) ReadField1

func (p *Timing) ReadField1(iprot thrift.TProtocol) error

func (*Timing) ReadField2

func (p *Timing) ReadField2(iprot thrift.TProtocol) error

func (*Timing) String

func (p *Timing) String() string

func (*Timing) Write

func (p *Timing) Write(oprot thrift.TProtocol) error

type TraceJoinId

type TraceJoinId struct {
    TraceKey string `thrift:"TraceKey,1,required" json:"TraceKey"`
    Value    string `thrift:"Value,2,required" json:"Value"`
}

func NewTraceJoinId

func NewTraceJoinId() *TraceJoinId

func (*TraceJoinId) GetTraceKey

func (p *TraceJoinId) GetTraceKey() string

func (*TraceJoinId) GetValue

func (p *TraceJoinId) GetValue() string

func (*TraceJoinId) Read

func (p *TraceJoinId) Read(iprot thrift.TProtocol) error

func (*TraceJoinId) ReadField1

func (p *TraceJoinId) ReadField1(iprot thrift.TProtocol) error

func (*TraceJoinId) ReadField2

func (p *TraceJoinId) ReadField2(iprot thrift.TProtocol) error

func (*TraceJoinId) String

func (p *TraceJoinId) String() string

func (*TraceJoinId) Write

func (p *TraceJoinId) Write(oprot thrift.TProtocol) error