Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterStatefulLogsServiceServer(s grpc.ServiceRegistrar, srv StatefulLogsServiceServer)
- type BatchStatus
- func (*BatchStatus) Descriptor() ([]byte, []int)deprecated
- func (x *BatchStatus) GetBatchId() uint32
- func (x *BatchStatus) GetStatus() BatchStatus_Status
- func (m *BatchStatus) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *BatchStatus) MarshalToVT(dAtA []byte) (int, error)
- func (m *BatchStatus) MarshalVT() (dAtA []byte, err error)
- func (*BatchStatus) ProtoMessage()
- func (x *BatchStatus) ProtoReflect() protoreflect.Message
- func (x *BatchStatus) Reset()
- func (m *BatchStatus) SizeVT() (n int)
- func (x *BatchStatus) String() string
- func (m *BatchStatus) UnmarshalVT(dAtA []byte) error
- type BatchStatus_Status
- func (BatchStatus_Status) Descriptor() protoreflect.EnumDescriptor
- func (x BatchStatus_Status) Enum() *BatchStatus_Status
- func (BatchStatus_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x BatchStatus_Status) Number() protoreflect.EnumNumber
- func (x BatchStatus_Status) String() string
- func (BatchStatus_Status) Type() protoreflect.EnumType
- type Datum
- func (*Datum) Descriptor() ([]byte, []int)deprecated
- func (m *Datum) GetData() isDatum_Data
- func (x *Datum) GetDeltaEncodingSync() *DeltaEncodingSync
- func (x *Datum) GetDictEntryDefine() *DictEntryDefine
- func (x *Datum) GetDictEntryDelete() *DictEntryDelete
- func (x *Datum) GetLogs() *Log
- func (x *Datum) GetPatternDefine() *PatternDefine
- func (x *Datum) GetPatternDelete() *PatternDelete
- func (m *Datum) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Datum) MarshalToVT(dAtA []byte) (int, error)
- func (m *Datum) MarshalVT() (dAtA []byte, err error)
- func (*Datum) ProtoMessage()
- func (x *Datum) ProtoReflect() protoreflect.Message
- func (x *Datum) Reset()
- func (m *Datum) SizeVT() (n int)
- func (x *Datum) String() string
- func (m *Datum) UnmarshalVT(dAtA []byte) error
- type DatumSequence
- func (*DatumSequence) Descriptor() ([]byte, []int)deprecated
- func (x *DatumSequence) GetData() []*Datum
- func (m *DatumSequence) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DatumSequence) MarshalToVT(dAtA []byte) (int, error)
- func (m *DatumSequence) MarshalVT() (dAtA []byte, err error)
- func (*DatumSequence) ProtoMessage()
- func (x *DatumSequence) ProtoReflect() protoreflect.Message
- func (x *DatumSequence) Reset()
- func (m *DatumSequence) SizeVT() (n int)
- func (x *DatumSequence) String() string
- func (m *DatumSequence) UnmarshalVT(dAtA []byte) error
- type Datum_DeltaEncodingSync
- type Datum_DictEntryDefine
- type Datum_DictEntryDelete
- type Datum_Logs
- type Datum_PatternDefine
- type Datum_PatternDelete
- type DeltaEncodingSync
- func (*DeltaEncodingSync) Descriptor() ([]byte, []int)deprecated
- func (x *DeltaEncodingSync) GetPatternId() uint64
- func (x *DeltaEncodingSync) GetTags() *TagSet
- func (x *DeltaEncodingSync) GetTimestamp() uint64
- func (m *DeltaEncodingSync) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DeltaEncodingSync) MarshalToVT(dAtA []byte) (int, error)
- func (m *DeltaEncodingSync) MarshalVT() (dAtA []byte, err error)
- func (*DeltaEncodingSync) ProtoMessage()
- func (x *DeltaEncodingSync) ProtoReflect() protoreflect.Message
- func (x *DeltaEncodingSync) Reset()
- func (m *DeltaEncodingSync) SizeVT() (n int)
- func (x *DeltaEncodingSync) String() string
- func (m *DeltaEncodingSync) UnmarshalVT(dAtA []byte) error
- type DictEntryDefine
- func (*DictEntryDefine) Descriptor() ([]byte, []int)deprecated
- func (x *DictEntryDefine) GetId() uint64
- func (x *DictEntryDefine) GetValue() string
- func (m *DictEntryDefine) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DictEntryDefine) MarshalToVT(dAtA []byte) (int, error)
- func (m *DictEntryDefine) MarshalVT() (dAtA []byte, err error)
- func (*DictEntryDefine) ProtoMessage()
- func (x *DictEntryDefine) ProtoReflect() protoreflect.Message
- func (x *DictEntryDefine) Reset()
- func (m *DictEntryDefine) SizeVT() (n int)
- func (x *DictEntryDefine) String() string
- func (m *DictEntryDefine) UnmarshalVT(dAtA []byte) error
- type DictEntryDelete
- func (*DictEntryDelete) Descriptor() ([]byte, []int)deprecated
- func (x *DictEntryDelete) GetId() uint64
- func (m *DictEntryDelete) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DictEntryDelete) MarshalToVT(dAtA []byte) (int, error)
- func (m *DictEntryDelete) MarshalVT() (dAtA []byte, err error)
- func (*DictEntryDelete) ProtoMessage()
- func (x *DictEntryDelete) ProtoReflect() protoreflect.Message
- func (x *DictEntryDelete) Reset()
- func (m *DictEntryDelete) SizeVT() (n int)
- func (x *DictEntryDelete) String() string
- func (m *DictEntryDelete) UnmarshalVT(dAtA []byte) error
- type DynamicValue
- func (*DynamicValue) Descriptor() ([]byte, []int)deprecated
- func (x *DynamicValue) GetDictIndex() uint64
- func (x *DynamicValue) GetFloatValue() float64
- func (x *DynamicValue) GetIntValue() int64
- func (x *DynamicValue) GetStringValue() string
- func (m *DynamicValue) GetValue() isDynamicValue_Value
- func (m *DynamicValue) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DynamicValue) MarshalToVT(dAtA []byte) (int, error)
- func (m *DynamicValue) MarshalVT() (dAtA []byte, err error)
- func (*DynamicValue) ProtoMessage()
- func (x *DynamicValue) ProtoReflect() protoreflect.Message
- func (x *DynamicValue) Reset()
- func (m *DynamicValue) SizeVT() (n int)
- func (x *DynamicValue) String() string
- func (m *DynamicValue) UnmarshalVT(dAtA []byte) error
- type DynamicValue_DictIndex
- type DynamicValue_FloatValue
- type DynamicValue_IntValue
- type DynamicValue_StringValue
- type Log
- func (*Log) Descriptor() ([]byte, []int)deprecated
- func (m *Log) GetContent() isLog_Content
- func (x *Log) GetRaw() string
- func (x *Log) GetStructured() *StructuredLog
- func (x *Log) GetTags() *TagSet
- func (x *Log) GetTimestamp() int64
- func (m *Log) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Log) MarshalToVT(dAtA []byte) (int, error)
- func (m *Log) MarshalVT() (dAtA []byte, err error)
- func (*Log) ProtoMessage()
- func (x *Log) ProtoReflect() protoreflect.Message
- func (x *Log) Reset()
- func (m *Log) SizeVT() (n int)
- func (x *Log) String() string
- func (m *Log) UnmarshalVT(dAtA []byte) error
- type Log_Raw
- type Log_Structured
- type PatternDefine
- func (*PatternDefine) Descriptor() ([]byte, []int)deprecated
- func (x *PatternDefine) GetParamCount() uint32
- func (x *PatternDefine) GetPatternId() uint64
- func (x *PatternDefine) GetPosList() []uint32
- func (x *PatternDefine) GetTemplate() string
- func (m *PatternDefine) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PatternDefine) MarshalToVT(dAtA []byte) (int, error)
- func (m *PatternDefine) MarshalVT() (dAtA []byte, err error)
- func (*PatternDefine) ProtoMessage()
- func (x *PatternDefine) ProtoReflect() protoreflect.Message
- func (x *PatternDefine) Reset()
- func (m *PatternDefine) SizeVT() (n int)
- func (x *PatternDefine) String() string
- func (m *PatternDefine) UnmarshalVT(dAtA []byte) error
- type PatternDelete
- func (*PatternDelete) Descriptor() ([]byte, []int)deprecated
- func (x *PatternDelete) GetPatternId() uint64
- func (m *PatternDelete) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PatternDelete) MarshalToVT(dAtA []byte) (int, error)
- func (m *PatternDelete) MarshalVT() (dAtA []byte, err error)
- func (*PatternDelete) ProtoMessage()
- func (x *PatternDelete) ProtoReflect() protoreflect.Message
- func (x *PatternDelete) Reset()
- func (m *PatternDelete) SizeVT() (n int)
- func (x *PatternDelete) String() string
- func (m *PatternDelete) UnmarshalVT(dAtA []byte) error
- type StatefulBatch
- func (*StatefulBatch) Descriptor() ([]byte, []int)deprecated
- func (x *StatefulBatch) GetBatchId() uint32
- func (x *StatefulBatch) GetData() []byte
- func (m *StatefulBatch) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StatefulBatch) MarshalToVT(dAtA []byte) (int, error)
- func (m *StatefulBatch) MarshalVT() (dAtA []byte, err error)
- func (*StatefulBatch) ProtoMessage()
- func (x *StatefulBatch) ProtoReflect() protoreflect.Message
- func (x *StatefulBatch) Reset()
- func (m *StatefulBatch) SizeVT() (n int)
- func (x *StatefulBatch) String() string
- func (m *StatefulBatch) UnmarshalVT(dAtA []byte) error
- type StatefulLogsServiceClient
- type StatefulLogsServiceServer
- type StatefulLogsService_LogsStreamClient
- type StatefulLogsService_LogsStreamServer
- type StructuredLog
- func (*StructuredLog) Descriptor() ([]byte, []int)deprecated
- func (x *StructuredLog) GetDynamicValues() []*DynamicValue
- func (x *StructuredLog) GetJsonContext() []byte
- func (x *StructuredLog) GetPatternId() uint64
- func (m *StructuredLog) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StructuredLog) MarshalToVT(dAtA []byte) (int, error)
- func (m *StructuredLog) MarshalVT() (dAtA []byte, err error)
- func (*StructuredLog) ProtoMessage()
- func (x *StructuredLog) ProtoReflect() protoreflect.Message
- func (x *StructuredLog) Reset()
- func (m *StructuredLog) SizeVT() (n int)
- func (x *StructuredLog) String() string
- func (m *StructuredLog) UnmarshalVT(dAtA []byte) error
- type Tag
- func (*Tag) Descriptor() ([]byte, []int)deprecated
- func (x *Tag) GetKey() *DynamicValue
- func (x *Tag) GetValue() *DynamicValue
- func (m *Tag) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Tag) MarshalToVT(dAtA []byte) (int, error)
- func (m *Tag) MarshalVT() (dAtA []byte, err error)
- func (*Tag) ProtoMessage()
- func (x *Tag) ProtoReflect() protoreflect.Message
- func (x *Tag) Reset()
- func (m *Tag) SizeVT() (n int)
- func (x *Tag) String() string
- func (m *Tag) UnmarshalVT(dAtA []byte) error
- type TagSet
- func (*TagSet) Descriptor() ([]byte, []int)deprecated
- func (x *TagSet) GetTagset() *DynamicValue
- func (m *TagSet) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *TagSet) MarshalToVT(dAtA []byte) (int, error)
- func (m *TagSet) MarshalVT() (dAtA []byte, err error)
- func (*TagSet) ProtoMessage()
- func (x *TagSet) ProtoReflect() protoreflect.Message
- func (x *TagSet) Reset()
- func (m *TagSet) SizeVT() (n int)
- func (x *TagSet) String() string
- func (m *TagSet) UnmarshalVT(dAtA []byte) error
- type UnimplementedStatefulLogsServiceServer
- type UnsafeStatefulLogsServiceServer
Constants ¶
const (
StatefulLogsService_LogsStream_FullMethodName = "/datadog.intake.stateful.StatefulLogsService/LogsStream"
)
Variables ¶
var ( BatchStatus_Status_name = map[int32]string{ 0: "UNKNOWN", 1: "OK", } BatchStatus_Status_value = map[string]int32{ "UNKNOWN": 0, "OK": 1, } )
Enum value maps for BatchStatus_Status.
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
var File_proto_logsstateful_stateful_encoding_proto protoreflect.FileDescriptor
var StatefulLogsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "datadog.intake.stateful.StatefulLogsService", HandlerType: (*StatefulLogsServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "LogsStream", Handler: _StatefulLogsService_LogsStream_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "proto/logsstateful/stateful_encoding.proto", }
StatefulLogsService_ServiceDesc is the grpc.ServiceDesc for StatefulLogsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterStatefulLogsServiceServer ¶
func RegisterStatefulLogsServiceServer(s grpc.ServiceRegistrar, srv StatefulLogsServiceServer)
Types ¶
type BatchStatus ¶
type BatchStatus struct {
BatchId uint32 `protobuf:"varint,1,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"`
Status BatchStatus_Status `protobuf:"varint,2,opt,name=status,proto3,enum=datadog.intake.stateful.BatchStatus_Status" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*BatchStatus) Descriptor
deprecated
func (*BatchStatus) Descriptor() ([]byte, []int)
Deprecated: Use BatchStatus.ProtoReflect.Descriptor instead.
func (*BatchStatus) GetBatchId ¶
func (x *BatchStatus) GetBatchId() uint32
func (*BatchStatus) GetStatus ¶
func (x *BatchStatus) GetStatus() BatchStatus_Status
func (*BatchStatus) MarshalToSizedBufferVT ¶
func (m *BatchStatus) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*BatchStatus) MarshalToVT ¶
func (m *BatchStatus) MarshalToVT(dAtA []byte) (int, error)
func (*BatchStatus) MarshalVT ¶
func (m *BatchStatus) MarshalVT() (dAtA []byte, err error)
func (*BatchStatus) ProtoMessage ¶
func (*BatchStatus) ProtoMessage()
func (*BatchStatus) ProtoReflect ¶
func (x *BatchStatus) ProtoReflect() protoreflect.Message
func (*BatchStatus) Reset ¶
func (x *BatchStatus) Reset()
func (*BatchStatus) SizeVT ¶
func (m *BatchStatus) SizeVT() (n int)
func (*BatchStatus) String ¶
func (x *BatchStatus) String() string
func (*BatchStatus) UnmarshalVT ¶
func (m *BatchStatus) UnmarshalVT(dAtA []byte) error
type BatchStatus_Status ¶
type BatchStatus_Status int32
TODO: only OK is used right now - should we just remove this enum?
const ( BatchStatus_UNKNOWN BatchStatus_Status = 0 BatchStatus_OK BatchStatus_Status = 1 )
func (BatchStatus_Status) Descriptor ¶
func (BatchStatus_Status) Descriptor() protoreflect.EnumDescriptor
func (BatchStatus_Status) Enum ¶
func (x BatchStatus_Status) Enum() *BatchStatus_Status
func (BatchStatus_Status) EnumDescriptor
deprecated
func (BatchStatus_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use BatchStatus_Status.Descriptor instead.
func (BatchStatus_Status) Number ¶
func (x BatchStatus_Status) Number() protoreflect.EnumNumber
func (BatchStatus_Status) String ¶
func (x BatchStatus_Status) String() string
func (BatchStatus_Status) Type ¶
func (BatchStatus_Status) Type() protoreflect.EnumType
type Datum ¶
type Datum struct {
// Types that are assignable to Data:
//
// *Datum_PatternDefine
// *Datum_PatternDelete
// *Datum_DictEntryDefine
// *Datum_DictEntryDelete
// *Datum_DeltaEncodingSync
// *Datum_Logs
Data isDatum_Data `protobuf_oneof:"data"`
// contains filtered or unexported fields
}
func (*Datum) Descriptor
deprecated
func (*Datum) GetDeltaEncodingSync ¶
func (x *Datum) GetDeltaEncodingSync() *DeltaEncodingSync
func (*Datum) GetDictEntryDefine ¶
func (x *Datum) GetDictEntryDefine() *DictEntryDefine
func (*Datum) GetDictEntryDelete ¶
func (x *Datum) GetDictEntryDelete() *DictEntryDelete
func (*Datum) GetPatternDefine ¶
func (x *Datum) GetPatternDefine() *PatternDefine
func (*Datum) GetPatternDelete ¶
func (x *Datum) GetPatternDelete() *PatternDelete
func (*Datum) MarshalToSizedBufferVT ¶
func (*Datum) ProtoMessage ¶
func (*Datum) ProtoMessage()
func (*Datum) ProtoReflect ¶
func (x *Datum) ProtoReflect() protoreflect.Message
func (*Datum) UnmarshalVT ¶
type DatumSequence ¶
type DatumSequence struct {
Data []*Datum `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
DatumSequence wraps a sequence of Datum messages Used for serialization in application-level compression
func (*DatumSequence) Descriptor
deprecated
func (*DatumSequence) Descriptor() ([]byte, []int)
Deprecated: Use DatumSequence.ProtoReflect.Descriptor instead.
func (*DatumSequence) GetData ¶
func (x *DatumSequence) GetData() []*Datum
func (*DatumSequence) MarshalToSizedBufferVT ¶
func (m *DatumSequence) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DatumSequence) MarshalToVT ¶
func (m *DatumSequence) MarshalToVT(dAtA []byte) (int, error)
func (*DatumSequence) MarshalVT ¶
func (m *DatumSequence) MarshalVT() (dAtA []byte, err error)
func (*DatumSequence) ProtoMessage ¶
func (*DatumSequence) ProtoMessage()
func (*DatumSequence) ProtoReflect ¶
func (x *DatumSequence) ProtoReflect() protoreflect.Message
func (*DatumSequence) Reset ¶
func (x *DatumSequence) Reset()
func (*DatumSequence) SizeVT ¶
func (m *DatumSequence) SizeVT() (n int)
func (*DatumSequence) String ¶
func (x *DatumSequence) String() string
func (*DatumSequence) UnmarshalVT ¶
func (m *DatumSequence) UnmarshalVT(dAtA []byte) error
type Datum_DeltaEncodingSync ¶
type Datum_DeltaEncodingSync struct {
DeltaEncodingSync *DeltaEncodingSync `protobuf:"bytes,5,opt,name=delta_encoding_sync,json=deltaEncodingSync,proto3,oneof"`
}
func (*Datum_DeltaEncodingSync) MarshalToSizedBufferVT ¶
func (m *Datum_DeltaEncodingSync) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Datum_DeltaEncodingSync) MarshalToVT ¶
func (m *Datum_DeltaEncodingSync) MarshalToVT(dAtA []byte) (int, error)
func (*Datum_DeltaEncodingSync) SizeVT ¶
func (m *Datum_DeltaEncodingSync) SizeVT() (n int)
type Datum_DictEntryDefine ¶
type Datum_DictEntryDefine struct {
DictEntryDefine *DictEntryDefine `protobuf:"bytes,3,opt,name=dict_entry_define,json=dictEntryDefine,proto3,oneof"`
}
func (*Datum_DictEntryDefine) MarshalToSizedBufferVT ¶
func (m *Datum_DictEntryDefine) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Datum_DictEntryDefine) MarshalToVT ¶
func (m *Datum_DictEntryDefine) MarshalToVT(dAtA []byte) (int, error)
func (*Datum_DictEntryDefine) SizeVT ¶
func (m *Datum_DictEntryDefine) SizeVT() (n int)
type Datum_DictEntryDelete ¶
type Datum_DictEntryDelete struct {
DictEntryDelete *DictEntryDelete `protobuf:"bytes,4,opt,name=dict_entry_delete,json=dictEntryDelete,proto3,oneof"`
}
func (*Datum_DictEntryDelete) MarshalToSizedBufferVT ¶
func (m *Datum_DictEntryDelete) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Datum_DictEntryDelete) MarshalToVT ¶
func (m *Datum_DictEntryDelete) MarshalToVT(dAtA []byte) (int, error)
func (*Datum_DictEntryDelete) SizeVT ¶
func (m *Datum_DictEntryDelete) SizeVT() (n int)
type Datum_Logs ¶
type Datum_Logs struct {
Logs *Log `protobuf:"bytes,6,opt,name=logs,proto3,oneof"`
}
func (*Datum_Logs) MarshalToSizedBufferVT ¶
func (m *Datum_Logs) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Datum_Logs) MarshalToVT ¶
func (m *Datum_Logs) MarshalToVT(dAtA []byte) (int, error)
func (*Datum_Logs) SizeVT ¶
func (m *Datum_Logs) SizeVT() (n int)
type Datum_PatternDefine ¶
type Datum_PatternDefine struct {
PatternDefine *PatternDefine `protobuf:"bytes,1,opt,name=pattern_define,json=patternDefine,proto3,oneof"`
}
func (*Datum_PatternDefine) MarshalToSizedBufferVT ¶
func (m *Datum_PatternDefine) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Datum_PatternDefine) MarshalToVT ¶
func (m *Datum_PatternDefine) MarshalToVT(dAtA []byte) (int, error)
func (*Datum_PatternDefine) SizeVT ¶
func (m *Datum_PatternDefine) SizeVT() (n int)
type Datum_PatternDelete ¶
type Datum_PatternDelete struct {
PatternDelete *PatternDelete `protobuf:"bytes,2,opt,name=pattern_delete,json=patternDelete,proto3,oneof"`
}
func (*Datum_PatternDelete) MarshalToSizedBufferVT ¶
func (m *Datum_PatternDelete) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Datum_PatternDelete) MarshalToVT ¶
func (m *Datum_PatternDelete) MarshalToVT(dAtA []byte) (int, error)
func (*Datum_PatternDelete) SizeVT ¶
func (m *Datum_PatternDelete) SizeVT() (n int)
type DeltaEncodingSync ¶
type DeltaEncodingSync struct {
Timestamp uint64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
PatternId uint64 `protobuf:"varint,2,opt,name=pattern_id,json=patternId,proto3" json:"pattern_id,omitempty"`
Tags *TagSet `protobuf:"bytes,3,opt,name=tags,proto3" json:"tags,omitempty"`
// contains filtered or unexported fields
}
We could choose to delta encode at batch level or at stream level. If at stream level, then we need to send the delta encoding related state to resync the Intake on stream restart Currently we are doing it at batch level. This message below is not used, we declare it here for future use.
func (*DeltaEncodingSync) Descriptor
deprecated
func (*DeltaEncodingSync) Descriptor() ([]byte, []int)
Deprecated: Use DeltaEncodingSync.ProtoReflect.Descriptor instead.
func (*DeltaEncodingSync) GetPatternId ¶
func (x *DeltaEncodingSync) GetPatternId() uint64
func (*DeltaEncodingSync) GetTags ¶
func (x *DeltaEncodingSync) GetTags() *TagSet
func (*DeltaEncodingSync) GetTimestamp ¶
func (x *DeltaEncodingSync) GetTimestamp() uint64
func (*DeltaEncodingSync) MarshalToSizedBufferVT ¶
func (m *DeltaEncodingSync) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DeltaEncodingSync) MarshalToVT ¶
func (m *DeltaEncodingSync) MarshalToVT(dAtA []byte) (int, error)
func (*DeltaEncodingSync) MarshalVT ¶
func (m *DeltaEncodingSync) MarshalVT() (dAtA []byte, err error)
func (*DeltaEncodingSync) ProtoMessage ¶
func (*DeltaEncodingSync) ProtoMessage()
func (*DeltaEncodingSync) ProtoReflect ¶
func (x *DeltaEncodingSync) ProtoReflect() protoreflect.Message
func (*DeltaEncodingSync) Reset ¶
func (x *DeltaEncodingSync) Reset()
func (*DeltaEncodingSync) SizeVT ¶
func (m *DeltaEncodingSync) SizeVT() (n int)
func (*DeltaEncodingSync) String ¶
func (x *DeltaEncodingSync) String() string
func (*DeltaEncodingSync) UnmarshalVT ¶
func (m *DeltaEncodingSync) UnmarshalVT(dAtA []byte) error
type DictEntryDefine ¶
type DictEntryDefine struct {
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*DictEntryDefine) Descriptor
deprecated
func (*DictEntryDefine) Descriptor() ([]byte, []int)
Deprecated: Use DictEntryDefine.ProtoReflect.Descriptor instead.
func (*DictEntryDefine) GetId ¶
func (x *DictEntryDefine) GetId() uint64
func (*DictEntryDefine) GetValue ¶
func (x *DictEntryDefine) GetValue() string
func (*DictEntryDefine) MarshalToSizedBufferVT ¶
func (m *DictEntryDefine) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DictEntryDefine) MarshalToVT ¶
func (m *DictEntryDefine) MarshalToVT(dAtA []byte) (int, error)
func (*DictEntryDefine) MarshalVT ¶
func (m *DictEntryDefine) MarshalVT() (dAtA []byte, err error)
func (*DictEntryDefine) ProtoMessage ¶
func (*DictEntryDefine) ProtoMessage()
func (*DictEntryDefine) ProtoReflect ¶
func (x *DictEntryDefine) ProtoReflect() protoreflect.Message
func (*DictEntryDefine) Reset ¶
func (x *DictEntryDefine) Reset()
func (*DictEntryDefine) SizeVT ¶
func (m *DictEntryDefine) SizeVT() (n int)
func (*DictEntryDefine) String ¶
func (x *DictEntryDefine) String() string
func (*DictEntryDefine) UnmarshalVT ¶
func (m *DictEntryDefine) UnmarshalVT(dAtA []byte) error
type DictEntryDelete ¶
type DictEntryDelete struct {
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*DictEntryDelete) Descriptor
deprecated
func (*DictEntryDelete) Descriptor() ([]byte, []int)
Deprecated: Use DictEntryDelete.ProtoReflect.Descriptor instead.
func (*DictEntryDelete) GetId ¶
func (x *DictEntryDelete) GetId() uint64
func (*DictEntryDelete) MarshalToSizedBufferVT ¶
func (m *DictEntryDelete) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DictEntryDelete) MarshalToVT ¶
func (m *DictEntryDelete) MarshalToVT(dAtA []byte) (int, error)
func (*DictEntryDelete) MarshalVT ¶
func (m *DictEntryDelete) MarshalVT() (dAtA []byte, err error)
func (*DictEntryDelete) ProtoMessage ¶
func (*DictEntryDelete) ProtoMessage()
func (*DictEntryDelete) ProtoReflect ¶
func (x *DictEntryDelete) ProtoReflect() protoreflect.Message
func (*DictEntryDelete) Reset ¶
func (x *DictEntryDelete) Reset()
func (*DictEntryDelete) SizeVT ¶
func (m *DictEntryDelete) SizeVT() (n int)
func (*DictEntryDelete) String ¶
func (x *DictEntryDelete) String() string
func (*DictEntryDelete) UnmarshalVT ¶
func (m *DictEntryDelete) UnmarshalVT(dAtA []byte) error
type DynamicValue ¶
type DynamicValue struct {
// Types that are assignable to Value:
//
// *DynamicValue_IntValue
// *DynamicValue_FloatValue
// *DynamicValue_StringValue
// *DynamicValue_DictIndex
Value isDynamicValue_Value `protobuf_oneof:"value"`
// contains filtered or unexported fields
}
func (*DynamicValue) Descriptor
deprecated
func (*DynamicValue) Descriptor() ([]byte, []int)
Deprecated: Use DynamicValue.ProtoReflect.Descriptor instead.
func (*DynamicValue) GetDictIndex ¶
func (x *DynamicValue) GetDictIndex() uint64
func (*DynamicValue) GetFloatValue ¶
func (x *DynamicValue) GetFloatValue() float64
func (*DynamicValue) GetIntValue ¶
func (x *DynamicValue) GetIntValue() int64
func (*DynamicValue) GetStringValue ¶
func (x *DynamicValue) GetStringValue() string
func (*DynamicValue) GetValue ¶
func (m *DynamicValue) GetValue() isDynamicValue_Value
func (*DynamicValue) MarshalToSizedBufferVT ¶
func (m *DynamicValue) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DynamicValue) MarshalToVT ¶
func (m *DynamicValue) MarshalToVT(dAtA []byte) (int, error)
func (*DynamicValue) MarshalVT ¶
func (m *DynamicValue) MarshalVT() (dAtA []byte, err error)
func (*DynamicValue) ProtoMessage ¶
func (*DynamicValue) ProtoMessage()
func (*DynamicValue) ProtoReflect ¶
func (x *DynamicValue) ProtoReflect() protoreflect.Message
func (*DynamicValue) Reset ¶
func (x *DynamicValue) Reset()
func (*DynamicValue) SizeVT ¶
func (m *DynamicValue) SizeVT() (n int)
func (*DynamicValue) String ¶
func (x *DynamicValue) String() string
func (*DynamicValue) UnmarshalVT ¶
func (m *DynamicValue) UnmarshalVT(dAtA []byte) error
type DynamicValue_DictIndex ¶
type DynamicValue_DictIndex struct {
DictIndex uint64 `protobuf:"varint,4,opt,name=dict_index,json=dictIndex,proto3,oneof"`
}
func (*DynamicValue_DictIndex) MarshalToSizedBufferVT ¶
func (m *DynamicValue_DictIndex) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DynamicValue_DictIndex) MarshalToVT ¶
func (m *DynamicValue_DictIndex) MarshalToVT(dAtA []byte) (int, error)
func (*DynamicValue_DictIndex) SizeVT ¶
func (m *DynamicValue_DictIndex) SizeVT() (n int)
type DynamicValue_FloatValue ¶
type DynamicValue_FloatValue struct {
FloatValue float64 `protobuf:"fixed64,2,opt,name=float_value,json=floatValue,proto3,oneof"`
}
func (*DynamicValue_FloatValue) MarshalToSizedBufferVT ¶
func (m *DynamicValue_FloatValue) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DynamicValue_FloatValue) MarshalToVT ¶
func (m *DynamicValue_FloatValue) MarshalToVT(dAtA []byte) (int, error)
func (*DynamicValue_FloatValue) SizeVT ¶
func (m *DynamicValue_FloatValue) SizeVT() (n int)
type DynamicValue_IntValue ¶
type DynamicValue_IntValue struct {
IntValue int64 `protobuf:"varint,1,opt,name=int_value,json=intValue,proto3,oneof"`
}
func (*DynamicValue_IntValue) MarshalToSizedBufferVT ¶
func (m *DynamicValue_IntValue) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DynamicValue_IntValue) MarshalToVT ¶
func (m *DynamicValue_IntValue) MarshalToVT(dAtA []byte) (int, error)
func (*DynamicValue_IntValue) SizeVT ¶
func (m *DynamicValue_IntValue) SizeVT() (n int)
type DynamicValue_StringValue ¶
type DynamicValue_StringValue struct {
StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"`
}
func (*DynamicValue_StringValue) MarshalToSizedBufferVT ¶
func (m *DynamicValue_StringValue) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DynamicValue_StringValue) MarshalToVT ¶
func (m *DynamicValue_StringValue) MarshalToVT(dAtA []byte) (int, error)
func (*DynamicValue_StringValue) SizeVT ¶
func (m *DynamicValue_StringValue) SizeVT() (n int)
type Log ¶
type Log struct {
Timestamp int64 `protobuf:"zigzag64,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// Types that are assignable to Content:
//
// *Log_Structured
// *Log_Raw
Content isLog_Content `protobuf_oneof:"content"`
// TODO: right now we are assuming logs are attached per tag - in the future we may have common tags in the stream
// state and auto-populate them downstream.
// Required tags: `service`, `hostname`,
// Other tags on agent payload: `status`, `source`
// All tags are joined together sent as a single tagset
Tags *TagSet `protobuf:"bytes,4,opt,name=tags,proto3" json:"tags,omitempty"`
// contains filtered or unexported fields
}
func (*Log) Descriptor
deprecated
func (*Log) GetContent ¶
func (m *Log) GetContent() isLog_Content
func (*Log) GetStructured ¶
func (x *Log) GetStructured() *StructuredLog
func (*Log) GetTimestamp ¶
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) ProtoReflect ¶
func (x *Log) ProtoReflect() protoreflect.Message
func (*Log) UnmarshalVT ¶
type Log_Raw ¶
type Log_Raw struct {
Raw string `protobuf:"bytes,3,opt,name=raw,proto3,oneof"`
}
func (*Log_Raw) MarshalToSizedBufferVT ¶
type Log_Structured ¶
type Log_Structured struct {
Structured *StructuredLog `protobuf:"bytes,2,opt,name=structured,proto3,oneof"`
}
func (*Log_Structured) MarshalToSizedBufferVT ¶
func (m *Log_Structured) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*Log_Structured) MarshalToVT ¶
func (m *Log_Structured) MarshalToVT(dAtA []byte) (int, error)
func (*Log_Structured) SizeVT ¶
func (m *Log_Structured) SizeVT() (n int)
type PatternDefine ¶
type PatternDefine struct {
PatternId uint64 `protobuf:"varint,1,opt,name=pattern_id,json=patternId,proto3" json:"pattern_id,omitempty"`
Template string `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"`
ParamCount uint32 `protobuf:"varint,3,opt,name=param_count,json=paramCount,proto3" json:"param_count,omitempty"`
PosList []uint32 `protobuf:"varint,4,rep,packed,name=pos_list,json=posList,proto3" json:"pos_list,omitempty"`
// contains filtered or unexported fields
}
pos_list is used to indicate where dynamic values should be inserted it's more accurate than a marker PatternDefine is also used to signal a update to an existing pattern.
func (*PatternDefine) Descriptor
deprecated
func (*PatternDefine) Descriptor() ([]byte, []int)
Deprecated: Use PatternDefine.ProtoReflect.Descriptor instead.
func (*PatternDefine) GetParamCount ¶
func (x *PatternDefine) GetParamCount() uint32
func (*PatternDefine) GetPatternId ¶
func (x *PatternDefine) GetPatternId() uint64
func (*PatternDefine) GetPosList ¶
func (x *PatternDefine) GetPosList() []uint32
func (*PatternDefine) GetTemplate ¶
func (x *PatternDefine) GetTemplate() string
func (*PatternDefine) MarshalToSizedBufferVT ¶
func (m *PatternDefine) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PatternDefine) MarshalToVT ¶
func (m *PatternDefine) MarshalToVT(dAtA []byte) (int, error)
func (*PatternDefine) MarshalVT ¶
func (m *PatternDefine) MarshalVT() (dAtA []byte, err error)
func (*PatternDefine) ProtoMessage ¶
func (*PatternDefine) ProtoMessage()
func (*PatternDefine) ProtoReflect ¶
func (x *PatternDefine) ProtoReflect() protoreflect.Message
func (*PatternDefine) Reset ¶
func (x *PatternDefine) Reset()
func (*PatternDefine) SizeVT ¶
func (m *PatternDefine) SizeVT() (n int)
func (*PatternDefine) String ¶
func (x *PatternDefine) String() string
func (*PatternDefine) UnmarshalVT ¶
func (m *PatternDefine) UnmarshalVT(dAtA []byte) error
type PatternDelete ¶
type PatternDelete struct {
PatternId uint64 `protobuf:"varint,1,opt,name=pattern_id,json=patternId,proto3" json:"pattern_id,omitempty"`
// contains filtered or unexported fields
}
func (*PatternDelete) Descriptor
deprecated
func (*PatternDelete) Descriptor() ([]byte, []int)
Deprecated: Use PatternDelete.ProtoReflect.Descriptor instead.
func (*PatternDelete) GetPatternId ¶
func (x *PatternDelete) GetPatternId() uint64
func (*PatternDelete) MarshalToSizedBufferVT ¶
func (m *PatternDelete) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PatternDelete) MarshalToVT ¶
func (m *PatternDelete) MarshalToVT(dAtA []byte) (int, error)
func (*PatternDelete) MarshalVT ¶
func (m *PatternDelete) MarshalVT() (dAtA []byte, err error)
func (*PatternDelete) ProtoMessage ¶
func (*PatternDelete) ProtoMessage()
func (*PatternDelete) ProtoReflect ¶
func (x *PatternDelete) ProtoReflect() protoreflect.Message
func (*PatternDelete) Reset ¶
func (x *PatternDelete) Reset()
func (*PatternDelete) SizeVT ¶
func (m *PatternDelete) SizeVT() (n int)
func (*PatternDelete) String ¶
func (x *PatternDelete) String() string
func (*PatternDelete) UnmarshalVT ¶
func (m *PatternDelete) UnmarshalVT(dAtA []byte) error
type StatefulBatch ¶
type StatefulBatch struct {
BatchId uint32 `protobuf:"varint,1,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"`
// Bytes of a serialized and compressed DatumSequence.
// This allows for Datums to be compressed while they are buffered in memory before being acked by the server.
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
data is sequence of pattern/dictionary changes + logs the ordering is significant, must be processed in order
func (*StatefulBatch) Descriptor
deprecated
func (*StatefulBatch) Descriptor() ([]byte, []int)
Deprecated: Use StatefulBatch.ProtoReflect.Descriptor instead.
func (*StatefulBatch) GetBatchId ¶
func (x *StatefulBatch) GetBatchId() uint32
func (*StatefulBatch) GetData ¶
func (x *StatefulBatch) GetData() []byte
func (*StatefulBatch) MarshalToSizedBufferVT ¶
func (m *StatefulBatch) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StatefulBatch) MarshalToVT ¶
func (m *StatefulBatch) MarshalToVT(dAtA []byte) (int, error)
func (*StatefulBatch) MarshalVT ¶
func (m *StatefulBatch) MarshalVT() (dAtA []byte, err error)
func (*StatefulBatch) ProtoMessage ¶
func (*StatefulBatch) ProtoMessage()
func (*StatefulBatch) ProtoReflect ¶
func (x *StatefulBatch) ProtoReflect() protoreflect.Message
func (*StatefulBatch) Reset ¶
func (x *StatefulBatch) Reset()
func (*StatefulBatch) SizeVT ¶
func (m *StatefulBatch) SizeVT() (n int)
func (*StatefulBatch) String ¶
func (x *StatefulBatch) String() string
func (*StatefulBatch) UnmarshalVT ¶
func (m *StatefulBatch) UnmarshalVT(dAtA []byte) error
type StatefulLogsServiceClient ¶
type StatefulLogsServiceClient interface {
LogsStream(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[StatefulBatch, BatchStatus], error)
}
StatefulLogsServiceClient is the client API for StatefulLogsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewStatefulLogsServiceClient ¶
func NewStatefulLogsServiceClient(cc grpc.ClientConnInterface) StatefulLogsServiceClient
type StatefulLogsServiceServer ¶
type StatefulLogsServiceServer interface {
LogsStream(grpc.BidiStreamingServer[StatefulBatch, BatchStatus]) error
// contains filtered or unexported methods
}
StatefulLogsServiceServer is the server API for StatefulLogsService service. All implementations must embed UnimplementedStatefulLogsServiceServer for forward compatibility.
type StatefulLogsService_LogsStreamClient ¶
type StatefulLogsService_LogsStreamClient = grpc.BidiStreamingClient[StatefulBatch, BatchStatus]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StatefulLogsService_LogsStreamServer ¶
type StatefulLogsService_LogsStreamServer = grpc.BidiStreamingServer[StatefulBatch, BatchStatus]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type StructuredLog ¶
type StructuredLog struct {
PatternId uint64 `protobuf:"varint,1,opt,name=pattern_id,json=patternId,proto3" json:"pattern_id,omitempty"`
DynamicValues []*DynamicValue `protobuf:"bytes,2,rep,name=dynamic_values,json=dynamicValues,proto3" json:"dynamic_values,omitempty"`
JsonContext []byte `protobuf:"bytes,3,opt,name=json_context,json=jsonContext,proto3" json:"json_context,omitempty"`
// contains filtered or unexported fields
}
func (*StructuredLog) Descriptor
deprecated
func (*StructuredLog) Descriptor() ([]byte, []int)
Deprecated: Use StructuredLog.ProtoReflect.Descriptor instead.
func (*StructuredLog) GetDynamicValues ¶
func (x *StructuredLog) GetDynamicValues() []*DynamicValue
func (*StructuredLog) GetJsonContext ¶
func (x *StructuredLog) GetJsonContext() []byte
func (*StructuredLog) GetPatternId ¶
func (x *StructuredLog) GetPatternId() uint64
func (*StructuredLog) MarshalToSizedBufferVT ¶
func (m *StructuredLog) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StructuredLog) MarshalToVT ¶
func (m *StructuredLog) MarshalToVT(dAtA []byte) (int, error)
func (*StructuredLog) MarshalVT ¶
func (m *StructuredLog) MarshalVT() (dAtA []byte, err error)
func (*StructuredLog) ProtoMessage ¶
func (*StructuredLog) ProtoMessage()
func (*StructuredLog) ProtoReflect ¶
func (x *StructuredLog) ProtoReflect() protoreflect.Message
func (*StructuredLog) Reset ¶
func (x *StructuredLog) Reset()
func (*StructuredLog) SizeVT ¶
func (m *StructuredLog) SizeVT() (n int)
func (*StructuredLog) String ¶
func (x *StructuredLog) String() string
func (*StructuredLog) UnmarshalVT ¶
func (m *StructuredLog) UnmarshalVT(dAtA []byte) error
type Tag ¶
type Tag struct {
Key *DynamicValue `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value *DynamicValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*Tag) Descriptor
deprecated
func (*Tag) GetKey ¶
func (x *Tag) GetKey() *DynamicValue
func (*Tag) GetValue ¶
func (x *Tag) GetValue() *DynamicValue
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()
func (*Tag) ProtoReflect ¶
func (x *Tag) ProtoReflect() protoreflect.Message
func (*Tag) UnmarshalVT ¶
type TagSet ¶
type TagSet struct {
Tagset *DynamicValue `protobuf:"bytes,1,opt,name=tagset,proto3" json:"tagset,omitempty"`
// contains filtered or unexported fields
}
func (*TagSet) Descriptor
deprecated
func (*TagSet) GetTagset ¶
func (x *TagSet) GetTagset() *DynamicValue
func (*TagSet) MarshalToSizedBufferVT ¶
func (*TagSet) ProtoMessage ¶
func (*TagSet) ProtoMessage()
func (*TagSet) ProtoReflect ¶
func (x *TagSet) ProtoReflect() protoreflect.Message
func (*TagSet) UnmarshalVT ¶
type UnimplementedStatefulLogsServiceServer ¶
type UnimplementedStatefulLogsServiceServer struct{}
UnimplementedStatefulLogsServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedStatefulLogsServiceServer) LogsStream ¶
func (UnimplementedStatefulLogsServiceServer) LogsStream(grpc.BidiStreamingServer[StatefulBatch, BatchStatus]) error
type UnsafeStatefulLogsServiceServer ¶
type UnsafeStatefulLogsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeStatefulLogsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StatefulLogsServiceServer will result in compilation errors.