logs

package
v0.0.0-...-2c76a10 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthLogs        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowLogs          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupLogs = fmt.Errorf("proto: unexpected end of group")
)
View Source
var SeverityNumber_name = map[int32]string{
	0:  "SEVERITY_NUMBER_UNSPECIFIED",
	1:  "SEVERITY_NUMBER_TRACE",
	2:  "SEVERITY_NUMBER_TRACE2",
	3:  "SEVERITY_NUMBER_TRACE3",
	4:  "SEVERITY_NUMBER_TRACE4",
	5:  "SEVERITY_NUMBER_DEBUG",
	6:  "SEVERITY_NUMBER_DEBUG2",
	7:  "SEVERITY_NUMBER_DEBUG3",
	8:  "SEVERITY_NUMBER_DEBUG4",
	9:  "SEVERITY_NUMBER_INFO",
	10: "SEVERITY_NUMBER_INFO2",
	11: "SEVERITY_NUMBER_INFO3",
	12: "SEVERITY_NUMBER_INFO4",
	13: "SEVERITY_NUMBER_WARN",
	14: "SEVERITY_NUMBER_WARN2",
	15: "SEVERITY_NUMBER_WARN3",
	16: "SEVERITY_NUMBER_WARN4",
	17: "SEVERITY_NUMBER_ERROR",
	18: "SEVERITY_NUMBER_ERROR2",
	19: "SEVERITY_NUMBER_ERROR3",
	20: "SEVERITY_NUMBER_ERROR4",
	21: "SEVERITY_NUMBER_FATAL",
	22: "SEVERITY_NUMBER_FATAL2",
	23: "SEVERITY_NUMBER_FATAL3",
	24: "SEVERITY_NUMBER_FATAL4",
}
View Source
var SeverityNumber_value = map[string]int32{
	"SEVERITY_NUMBER_UNSPECIFIED": 0,
	"SEVERITY_NUMBER_TRACE":       1,
	"SEVERITY_NUMBER_TRACE2":      2,
	"SEVERITY_NUMBER_TRACE3":      3,
	"SEVERITY_NUMBER_TRACE4":      4,
	"SEVERITY_NUMBER_DEBUG":       5,
	"SEVERITY_NUMBER_DEBUG2":      6,
	"SEVERITY_NUMBER_DEBUG3":      7,
	"SEVERITY_NUMBER_DEBUG4":      8,
	"SEVERITY_NUMBER_INFO":        9,
	"SEVERITY_NUMBER_INFO2":       10,
	"SEVERITY_NUMBER_INFO3":       11,
	"SEVERITY_NUMBER_INFO4":       12,
	"SEVERITY_NUMBER_WARN":        13,
	"SEVERITY_NUMBER_WARN2":       14,
	"SEVERITY_NUMBER_WARN3":       15,
	"SEVERITY_NUMBER_WARN4":       16,
	"SEVERITY_NUMBER_ERROR":       17,
	"SEVERITY_NUMBER_ERROR2":      18,
	"SEVERITY_NUMBER_ERROR3":      19,
	"SEVERITY_NUMBER_ERROR4":      20,
	"SEVERITY_NUMBER_FATAL":       21,
	"SEVERITY_NUMBER_FATAL2":      22,
	"SEVERITY_NUMBER_FATAL3":      23,
	"SEVERITY_NUMBER_FATAL4":      24,
}

Functions

This section is empty.

Types

type AnyValue

type AnyValue struct {
	// Types that are valid to be assigned to Value:
	//	*AnyValue_StringValue
	//	*AnyValue_BoolValue
	//	*AnyValue_IntValue
	//	*AnyValue_DoubleValue
	//	*AnyValue_ArrayValue
	//	*AnyValue_KvlistValue
	//	*AnyValue_BytesValue
	Value isAnyValue_Value `protobuf_oneof:"value"`
}

func (*AnyValue) Descriptor

func (*AnyValue) Descriptor() ([]byte, []int)

func (*AnyValue) GetArrayValue

func (m *AnyValue) GetArrayValue() *ArrayValue

func (*AnyValue) GetBoolValue

func (m *AnyValue) GetBoolValue() bool

func (*AnyValue) GetBytesValue

func (m *AnyValue) GetBytesValue() []byte

func (*AnyValue) GetDoubleValue

func (m *AnyValue) GetDoubleValue() float64

func (*AnyValue) GetIntValue

func (m *AnyValue) GetIntValue() int64

func (*AnyValue) GetKvlistValue

func (m *AnyValue) GetKvlistValue() *KeyValueList

func (*AnyValue) GetStringValue

func (m *AnyValue) GetStringValue() string

func (*AnyValue) GetValue

func (m *AnyValue) GetValue() isAnyValue_Value

func (*AnyValue) Marshal

func (m *AnyValue) Marshal() (dAtA []byte, err error)

func (*AnyValue) MarshalTo

func (m *AnyValue) MarshalTo(dAtA []byte) (int, error)

func (*AnyValue) MarshalToSizedBuffer

func (m *AnyValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AnyValue) ProtoMessage

func (*AnyValue) ProtoMessage()

func (*AnyValue) Reset

func (m *AnyValue) Reset()

func (*AnyValue) Size

func (m *AnyValue) Size() (n int)

func (*AnyValue) String

func (m *AnyValue) String() string

func (*AnyValue) Unmarshal

func (m *AnyValue) Unmarshal(dAtA []byte) error

func (*AnyValue) XXX_DiscardUnknown

func (m *AnyValue) XXX_DiscardUnknown()

func (*AnyValue) XXX_Marshal

func (m *AnyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AnyValue) XXX_Merge

func (m *AnyValue) XXX_Merge(src proto.Message)

func (*AnyValue) XXX_OneofWrappers

func (*AnyValue) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*AnyValue) XXX_Size

func (m *AnyValue) XXX_Size() int

func (*AnyValue) XXX_Unmarshal

func (m *AnyValue) XXX_Unmarshal(b []byte) error

type AnyValue_ArrayValue

type AnyValue_ArrayValue struct {
	ArrayValue *ArrayValue `protobuf:"bytes,5,opt,name=array_value,json=arrayValue,proto3,oneof" json:"array_value,omitempty"`
}

func (*AnyValue_ArrayValue) MarshalTo

func (m *AnyValue_ArrayValue) MarshalTo(dAtA []byte) (int, error)

func (*AnyValue_ArrayValue) MarshalToSizedBuffer

func (m *AnyValue_ArrayValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AnyValue_ArrayValue) Size

func (m *AnyValue_ArrayValue) Size() (n int)

type AnyValue_BoolValue

type AnyValue_BoolValue struct {
	BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof" json:"bool_value,omitempty"`
}

func (*AnyValue_BoolValue) MarshalTo

func (m *AnyValue_BoolValue) MarshalTo(dAtA []byte) (int, error)

func (*AnyValue_BoolValue) MarshalToSizedBuffer

func (m *AnyValue_BoolValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AnyValue_BoolValue) Size

func (m *AnyValue_BoolValue) Size() (n int)

type AnyValue_BytesValue

type AnyValue_BytesValue struct {
	BytesValue []byte `protobuf:"bytes,7,opt,name=bytes_value,json=bytesValue,proto3,oneof" json:"bytes_value,omitempty"`
}

func (*AnyValue_BytesValue) MarshalTo

func (m *AnyValue_BytesValue) MarshalTo(dAtA []byte) (int, error)

func (*AnyValue_BytesValue) MarshalToSizedBuffer

func (m *AnyValue_BytesValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AnyValue_BytesValue) Size

func (m *AnyValue_BytesValue) Size() (n int)

type AnyValue_DoubleValue

type AnyValue_DoubleValue struct {
	DoubleValue float64 `protobuf:"fixed64,4,opt,name=double_value,json=doubleValue,proto3,oneof" json:"double_value,omitempty"`
}

func (*AnyValue_DoubleValue) MarshalTo

func (m *AnyValue_DoubleValue) MarshalTo(dAtA []byte) (int, error)

func (*AnyValue_DoubleValue) MarshalToSizedBuffer

func (m *AnyValue_DoubleValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AnyValue_DoubleValue) Size

func (m *AnyValue_DoubleValue) Size() (n int)

type AnyValue_IntValue

type AnyValue_IntValue struct {
	IntValue int64 `protobuf:"varint,3,opt,name=int_value,json=intValue,proto3,oneof" json:"int_value,omitempty"`
}

func (*AnyValue_IntValue) MarshalTo

func (m *AnyValue_IntValue) MarshalTo(dAtA []byte) (int, error)

func (*AnyValue_IntValue) MarshalToSizedBuffer

func (m *AnyValue_IntValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AnyValue_IntValue) Size

func (m *AnyValue_IntValue) Size() (n int)

type AnyValue_KvlistValue

type AnyValue_KvlistValue struct {
	KvlistValue *KeyValueList `protobuf:"bytes,6,opt,name=kvlist_value,json=kvlistValue,proto3,oneof" json:"kvlist_value,omitempty"`
}

func (*AnyValue_KvlistValue) MarshalTo

func (m *AnyValue_KvlistValue) MarshalTo(dAtA []byte) (int, error)

func (*AnyValue_KvlistValue) MarshalToSizedBuffer

func (m *AnyValue_KvlistValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AnyValue_KvlistValue) Size

func (m *AnyValue_KvlistValue) Size() (n int)

type AnyValue_StringValue

type AnyValue_StringValue struct {
	StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof" json:"string_value,omitempty"`
}

func (*AnyValue_StringValue) MarshalTo

func (m *AnyValue_StringValue) MarshalTo(dAtA []byte) (int, error)

func (*AnyValue_StringValue) MarshalToSizedBuffer

func (m *AnyValue_StringValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AnyValue_StringValue) Size

func (m *AnyValue_StringValue) Size() (n int)

type ArrayValue

type ArrayValue struct {
	Values []*AnyValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
}

func (*ArrayValue) Descriptor

func (*ArrayValue) Descriptor() ([]byte, []int)

func (*ArrayValue) GetValues

func (m *ArrayValue) GetValues() []*AnyValue

func (*ArrayValue) Marshal

func (m *ArrayValue) Marshal() (dAtA []byte, err error)

func (*ArrayValue) MarshalTo

func (m *ArrayValue) MarshalTo(dAtA []byte) (int, error)

func (*ArrayValue) MarshalToSizedBuffer

func (m *ArrayValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArrayValue) ProtoMessage

func (*ArrayValue) ProtoMessage()

func (*ArrayValue) Reset

func (m *ArrayValue) Reset()

func (*ArrayValue) Size

func (m *ArrayValue) Size() (n int)

func (*ArrayValue) String

func (m *ArrayValue) String() string

func (*ArrayValue) Unmarshal

func (m *ArrayValue) Unmarshal(dAtA []byte) error

func (*ArrayValue) XXX_DiscardUnknown

func (m *ArrayValue) XXX_DiscardUnknown()

func (*ArrayValue) XXX_Marshal

func (m *ArrayValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArrayValue) XXX_Merge

func (m *ArrayValue) XXX_Merge(src proto.Message)

func (*ArrayValue) XXX_Size

func (m *ArrayValue) XXX_Size() int

func (*ArrayValue) XXX_Unmarshal

func (m *ArrayValue) XXX_Unmarshal(b []byte) error

type InstrumentationScope

type InstrumentationScope struct {
	Name                   string     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Version                string     `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Attributes             []KeyValue `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes"`
	DroppedAttributesCount uint32     `` /* 130-byte string literal not displayed */
}

func (*InstrumentationScope) Descriptor

func (*InstrumentationScope) Descriptor() ([]byte, []int)

func (*InstrumentationScope) GetAttributes

func (m *InstrumentationScope) GetAttributes() []KeyValue

func (*InstrumentationScope) GetDroppedAttributesCount

func (m *InstrumentationScope) GetDroppedAttributesCount() uint32

func (*InstrumentationScope) GetName

func (m *InstrumentationScope) GetName() string

func (*InstrumentationScope) GetVersion

func (m *InstrumentationScope) GetVersion() string

func (*InstrumentationScope) Marshal

func (m *InstrumentationScope) Marshal() (dAtA []byte, err error)

func (*InstrumentationScope) MarshalTo

func (m *InstrumentationScope) MarshalTo(dAtA []byte) (int, error)

func (*InstrumentationScope) MarshalToSizedBuffer

func (m *InstrumentationScope) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*InstrumentationScope) ProtoMessage

func (*InstrumentationScope) ProtoMessage()

func (*InstrumentationScope) Reset

func (m *InstrumentationScope) Reset()

func (*InstrumentationScope) Size

func (m *InstrumentationScope) Size() (n int)

func (*InstrumentationScope) String

func (m *InstrumentationScope) String() string

func (*InstrumentationScope) Unmarshal

func (m *InstrumentationScope) Unmarshal(dAtA []byte) error

func (*InstrumentationScope) XXX_DiscardUnknown

func (m *InstrumentationScope) XXX_DiscardUnknown()

func (*InstrumentationScope) XXX_Marshal

func (m *InstrumentationScope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InstrumentationScope) XXX_Merge

func (m *InstrumentationScope) XXX_Merge(src proto.Message)

func (*InstrumentationScope) XXX_Size

func (m *InstrumentationScope) XXX_Size() int

func (*InstrumentationScope) XXX_Unmarshal

func (m *InstrumentationScope) XXX_Unmarshal(b []byte) error

type KeyValue

type KeyValue struct {
	Key   string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value AnyValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value"`
}

func (*KeyValue) Descriptor

func (*KeyValue) Descriptor() ([]byte, []int)

func (*KeyValue) GetKey

func (m *KeyValue) GetKey() string

func (*KeyValue) GetValue

func (m *KeyValue) GetValue() AnyValue

func (*KeyValue) Marshal

func (m *KeyValue) Marshal() (dAtA []byte, err error)

func (*KeyValue) MarshalTo

func (m *KeyValue) MarshalTo(dAtA []byte) (int, error)

func (*KeyValue) MarshalToSizedBuffer

func (m *KeyValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeyValue) ProtoMessage

func (*KeyValue) ProtoMessage()

func (*KeyValue) Reset

func (m *KeyValue) Reset()

func (*KeyValue) Size

func (m *KeyValue) Size() (n int)

func (*KeyValue) String

func (m *KeyValue) String() string

func (*KeyValue) Unmarshal

func (m *KeyValue) Unmarshal(dAtA []byte) error

func (*KeyValue) XXX_DiscardUnknown

func (m *KeyValue) XXX_DiscardUnknown()

func (*KeyValue) XXX_Marshal

func (m *KeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyValue) XXX_Merge

func (m *KeyValue) XXX_Merge(src proto.Message)

func (*KeyValue) XXX_Size

func (m *KeyValue) XXX_Size() int

func (*KeyValue) XXX_Unmarshal

func (m *KeyValue) XXX_Unmarshal(b []byte) error

type KeyValueList

type KeyValueList struct {
	Values []KeyValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values"`
}

func (*KeyValueList) Descriptor

func (*KeyValueList) Descriptor() ([]byte, []int)

func (*KeyValueList) GetValues

func (m *KeyValueList) GetValues() []KeyValue

func (*KeyValueList) Marshal

func (m *KeyValueList) Marshal() (dAtA []byte, err error)

func (*KeyValueList) MarshalTo

func (m *KeyValueList) MarshalTo(dAtA []byte) (int, error)

func (*KeyValueList) MarshalToSizedBuffer

func (m *KeyValueList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KeyValueList) ProtoMessage

func (*KeyValueList) ProtoMessage()

func (*KeyValueList) Reset

func (m *KeyValueList) Reset()

func (*KeyValueList) Size

func (m *KeyValueList) Size() (n int)

func (*KeyValueList) String

func (m *KeyValueList) String() string

func (*KeyValueList) Unmarshal

func (m *KeyValueList) Unmarshal(dAtA []byte) error

func (*KeyValueList) XXX_DiscardUnknown

func (m *KeyValueList) XXX_DiscardUnknown()

func (*KeyValueList) XXX_Marshal

func (m *KeyValueList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyValueList) XXX_Merge

func (m *KeyValueList) XXX_Merge(src proto.Message)

func (*KeyValueList) XXX_Size

func (m *KeyValueList) XXX_Size() int

func (*KeyValueList) XXX_Unmarshal

func (m *KeyValueList) XXX_Unmarshal(b []byte) error

type LogRecord

type LogRecord struct {
	TimeUnixNano           uint64         `protobuf:"fixed64,1,opt,name=time_unix_nano,json=timeUnixNano,proto3" json:"time_unix_nano,omitempty"`
	ObservedTimeUnixNano   uint64         `` /* 128-byte string literal not displayed */
	SeverityNumber         SeverityNumber `` /* 131-byte string literal not displayed */
	SeverityText           string         `protobuf:"bytes,3,opt,name=severity_text,json=severityText,proto3" json:"severity_text,omitempty"`
	Attributes             []KeyValue     `protobuf:"bytes,6,rep,name=attributes,proto3" json:"attributes"`
	DroppedAttributesCount uint32         `` /* 130-byte string literal not displayed */
	Flags                  uint32         `protobuf:"fixed32,8,opt,name=flags,proto3" json:"flags,omitempty"`
	TraceId                []byte         `protobuf:"bytes,9,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
	SpanId                 []byte         `protobuf:"bytes,10,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"`
}

func (*LogRecord) Descriptor

func (*LogRecord) Descriptor() ([]byte, []int)

func (*LogRecord) GetAttributes

func (m *LogRecord) GetAttributes() []KeyValue

func (*LogRecord) GetDroppedAttributesCount

func (m *LogRecord) GetDroppedAttributesCount() uint32

func (*LogRecord) GetFlags

func (m *LogRecord) GetFlags() uint32

func (*LogRecord) GetObservedTimeUnixNano

func (m *LogRecord) GetObservedTimeUnixNano() uint64

func (*LogRecord) GetSeverityNumber

func (m *LogRecord) GetSeverityNumber() SeverityNumber

func (*LogRecord) GetSeverityText

func (m *LogRecord) GetSeverityText() string

func (*LogRecord) GetSpanId

func (m *LogRecord) GetSpanId() []byte

func (*LogRecord) GetTimeUnixNano

func (m *LogRecord) GetTimeUnixNano() uint64

func (*LogRecord) GetTraceId

func (m *LogRecord) GetTraceId() []byte

func (*LogRecord) Marshal

func (m *LogRecord) Marshal() (dAtA []byte, err error)

func (*LogRecord) MarshalTo

func (m *LogRecord) MarshalTo(dAtA []byte) (int, error)

func (*LogRecord) MarshalToSizedBuffer

func (m *LogRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LogRecord) ProtoMessage

func (*LogRecord) ProtoMessage()

func (*LogRecord) Reset

func (m *LogRecord) Reset()

func (*LogRecord) Size

func (m *LogRecord) Size() (n int)

func (*LogRecord) String

func (m *LogRecord) String() string

func (*LogRecord) Unmarshal

func (m *LogRecord) Unmarshal(dAtA []byte) error

func (*LogRecord) XXX_DiscardUnknown

func (m *LogRecord) XXX_DiscardUnknown()

func (*LogRecord) XXX_Marshal

func (m *LogRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LogRecord) XXX_Merge

func (m *LogRecord) XXX_Merge(src proto.Message)

func (*LogRecord) XXX_Size

func (m *LogRecord) XXX_Size() int

func (*LogRecord) XXX_Unmarshal

func (m *LogRecord) XXX_Unmarshal(b []byte) error

type LogsData

type LogsData struct {
	// List of ResourceLogs
	ResourceLogs []*ResourceLogs `protobuf:"bytes,1,rep,name=resource_logs,json=resourceLogs,proto3" json:"resource_logs,omitempty"`
}

LogsData contains all log data

func (*LogsData) Descriptor

func (*LogsData) Descriptor() ([]byte, []int)

func (*LogsData) GetResourceLogs

func (m *LogsData) GetResourceLogs() []*ResourceLogs

func (*LogsData) Marshal

func (m *LogsData) Marshal() (dAtA []byte, err error)

func (*LogsData) MarshalTo

func (m *LogsData) MarshalTo(dAtA []byte) (int, error)

func (*LogsData) MarshalToSizedBuffer

func (m *LogsData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LogsData) ProtoMessage

func (*LogsData) ProtoMessage()

func (*LogsData) Reset

func (m *LogsData) Reset()

func (*LogsData) Size

func (m *LogsData) Size() (n int)

func (*LogsData) String

func (m *LogsData) String() string

func (*LogsData) Unmarshal

func (m *LogsData) Unmarshal(dAtA []byte) error

func (*LogsData) XXX_DiscardUnknown

func (m *LogsData) XXX_DiscardUnknown()

func (*LogsData) XXX_Marshal

func (m *LogsData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LogsData) XXX_Merge

func (m *LogsData) XXX_Merge(src proto.Message)

func (*LogsData) XXX_Size

func (m *LogsData) XXX_Size() int

func (*LogsData) XXX_Unmarshal

func (m *LogsData) XXX_Unmarshal(b []byte) error

type PlainMessage

type PlainMessage struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

func (*PlainMessage) Descriptor

func (*PlainMessage) Descriptor() ([]byte, []int)

func (*PlainMessage) GetKey

func (m *PlainMessage) GetKey() string

func (*PlainMessage) GetValue

func (m *PlainMessage) GetValue() string

func (*PlainMessage) Marshal

func (m *PlainMessage) Marshal() (dAtA []byte, err error)

func (*PlainMessage) MarshalTo

func (m *PlainMessage) MarshalTo(dAtA []byte) (int, error)

func (*PlainMessage) MarshalToSizedBuffer

func (m *PlainMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PlainMessage) ProtoMessage

func (*PlainMessage) ProtoMessage()

func (*PlainMessage) Reset

func (m *PlainMessage) Reset()

func (*PlainMessage) Size

func (m *PlainMessage) Size() (n int)

func (*PlainMessage) String

func (m *PlainMessage) String() string

func (*PlainMessage) Unmarshal

func (m *PlainMessage) Unmarshal(dAtA []byte) error

func (*PlainMessage) XXX_DiscardUnknown

func (m *PlainMessage) XXX_DiscardUnknown()

func (*PlainMessage) XXX_Marshal

func (m *PlainMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PlainMessage) XXX_Merge

func (m *PlainMessage) XXX_Merge(src proto.Message)

func (*PlainMessage) XXX_Size

func (m *PlainMessage) XXX_Size() int

func (*PlainMessage) XXX_Unmarshal

func (m *PlainMessage) XXX_Unmarshal(b []byte) error

type Resource

type Resource struct {
	Attributes             []KeyValue `protobuf:"bytes,1,rep,name=attributes,proto3" json:"attributes"`
	DroppedAttributesCount uint32     `` /* 130-byte string literal not displayed */
}

func (*Resource) Descriptor

func (*Resource) Descriptor() ([]byte, []int)

func (*Resource) GetAttributes

func (m *Resource) GetAttributes() []KeyValue

func (*Resource) GetDroppedAttributesCount

func (m *Resource) GetDroppedAttributesCount() uint32

func (*Resource) Marshal

func (m *Resource) Marshal() (dAtA []byte, err error)

func (*Resource) MarshalTo

func (m *Resource) MarshalTo(dAtA []byte) (int, error)

func (*Resource) MarshalToSizedBuffer

func (m *Resource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) Reset

func (m *Resource) Reset()

func (*Resource) Size

func (m *Resource) Size() (n int)

func (*Resource) String

func (m *Resource) String() string

func (*Resource) Unmarshal

func (m *Resource) Unmarshal(dAtA []byte) error

func (*Resource) XXX_DiscardUnknown

func (m *Resource) XXX_DiscardUnknown()

func (*Resource) XXX_Marshal

func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Resource) XXX_Merge

func (m *Resource) XXX_Merge(src proto.Message)

func (*Resource) XXX_Size

func (m *Resource) XXX_Size() int

func (*Resource) XXX_Unmarshal

func (m *Resource) XXX_Unmarshal(b []byte) error

type ResourceLogs

type ResourceLogs struct {
	// The Resource
	Resource Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource"`
	// List of ScopeLogs
	ScopeLogs []*ScopeLogs `protobuf:"bytes,2,rep,name=scope_logs,json=scopeLogs,proto3" json:"scope_logs,omitempty"`
	SchemaUrl string       `protobuf:"bytes,3,opt,name=schema_url,json=schemaUrl,proto3" json:"schema_url,omitempty"`
}

func (*ResourceLogs) Descriptor

func (*ResourceLogs) Descriptor() ([]byte, []int)

func (*ResourceLogs) GetResource

func (m *ResourceLogs) GetResource() Resource

func (*ResourceLogs) GetSchemaUrl

func (m *ResourceLogs) GetSchemaUrl() string

func (*ResourceLogs) GetScopeLogs

func (m *ResourceLogs) GetScopeLogs() []*ScopeLogs

func (*ResourceLogs) Marshal

func (m *ResourceLogs) Marshal() (dAtA []byte, err error)

func (*ResourceLogs) MarshalTo

func (m *ResourceLogs) MarshalTo(dAtA []byte) (int, error)

func (*ResourceLogs) MarshalToSizedBuffer

func (m *ResourceLogs) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResourceLogs) ProtoMessage

func (*ResourceLogs) ProtoMessage()

func (*ResourceLogs) Reset

func (m *ResourceLogs) Reset()

func (*ResourceLogs) Size

func (m *ResourceLogs) Size() (n int)

func (*ResourceLogs) String

func (m *ResourceLogs) String() string

func (*ResourceLogs) Unmarshal

func (m *ResourceLogs) Unmarshal(dAtA []byte) error

func (*ResourceLogs) XXX_DiscardUnknown

func (m *ResourceLogs) XXX_DiscardUnknown()

func (*ResourceLogs) XXX_Marshal

func (m *ResourceLogs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResourceLogs) XXX_Merge

func (m *ResourceLogs) XXX_Merge(src proto.Message)

func (*ResourceLogs) XXX_Size

func (m *ResourceLogs) XXX_Size() int

func (*ResourceLogs) XXX_Unmarshal

func (m *ResourceLogs) XXX_Unmarshal(b []byte) error

type ScopeLogs

type ScopeLogs struct {
	Scope InstrumentationScope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope"`
	// A list of log records.
	LogRecords []*LogRecord `protobuf:"bytes,2,rep,name=log_records,json=logRecords,proto3" json:"log_records,omitempty"`
	// This schema_url applies to all logs in the "logs" field.
	SchemaUrl string `protobuf:"bytes,3,opt,name=schema_url,json=schemaUrl,proto3" json:"schema_url,omitempty"`
}

A collection of Logs produced by a Scope.

func (*ScopeLogs) Descriptor

func (*ScopeLogs) Descriptor() ([]byte, []int)

func (*ScopeLogs) GetLogRecords

func (m *ScopeLogs) GetLogRecords() []*LogRecord

func (*ScopeLogs) GetSchemaUrl

func (m *ScopeLogs) GetSchemaUrl() string

func (*ScopeLogs) GetScope

func (m *ScopeLogs) GetScope() InstrumentationScope

func (*ScopeLogs) Marshal

func (m *ScopeLogs) Marshal() (dAtA []byte, err error)

func (*ScopeLogs) MarshalTo

func (m *ScopeLogs) MarshalTo(dAtA []byte) (int, error)

func (*ScopeLogs) MarshalToSizedBuffer

func (m *ScopeLogs) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ScopeLogs) ProtoMessage

func (*ScopeLogs) ProtoMessage()

func (*ScopeLogs) Reset

func (m *ScopeLogs) Reset()

func (*ScopeLogs) Size

func (m *ScopeLogs) Size() (n int)

func (*ScopeLogs) String

func (m *ScopeLogs) String() string

func (*ScopeLogs) Unmarshal

func (m *ScopeLogs) Unmarshal(dAtA []byte) error

func (*ScopeLogs) XXX_DiscardUnknown

func (m *ScopeLogs) XXX_DiscardUnknown()

func (*ScopeLogs) XXX_Marshal

func (m *ScopeLogs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScopeLogs) XXX_Merge

func (m *ScopeLogs) XXX_Merge(src proto.Message)

func (*ScopeLogs) XXX_Size

func (m *ScopeLogs) XXX_Size() int

func (*ScopeLogs) XXX_Unmarshal

func (m *ScopeLogs) XXX_Unmarshal(b []byte) error

type SeverityNumber

type SeverityNumber int32

SeverityNumber values

const (
	// SeverityNumber is not specified
	SeverityNumber_SEVERITY_NUMBER_UNSPECIFIED SeverityNumber = 0
	SeverityNumber_SEVERITY_NUMBER_TRACE       SeverityNumber = 1
	SeverityNumber_SEVERITY_NUMBER_TRACE2      SeverityNumber = 2
	SeverityNumber_SEVERITY_NUMBER_TRACE3      SeverityNumber = 3
	SeverityNumber_SEVERITY_NUMBER_TRACE4      SeverityNumber = 4
	SeverityNumber_SEVERITY_NUMBER_DEBUG       SeverityNumber = 5
	SeverityNumber_SEVERITY_NUMBER_DEBUG2      SeverityNumber = 6
	SeverityNumber_SEVERITY_NUMBER_DEBUG3      SeverityNumber = 7
	SeverityNumber_SEVERITY_NUMBER_DEBUG4      SeverityNumber = 8
	SeverityNumber_SEVERITY_NUMBER_INFO        SeverityNumber = 9
	SeverityNumber_SEVERITY_NUMBER_INFO2       SeverityNumber = 10
	SeverityNumber_SEVERITY_NUMBER_INFO3       SeverityNumber = 11
	SeverityNumber_SEVERITY_NUMBER_INFO4       SeverityNumber = 12
	SeverityNumber_SEVERITY_NUMBER_WARN        SeverityNumber = 13
	SeverityNumber_SEVERITY_NUMBER_WARN2       SeverityNumber = 14
	SeverityNumber_SEVERITY_NUMBER_WARN3       SeverityNumber = 15
	SeverityNumber_SEVERITY_NUMBER_WARN4       SeverityNumber = 16
	SeverityNumber_SEVERITY_NUMBER_ERROR       SeverityNumber = 17
	SeverityNumber_SEVERITY_NUMBER_ERROR2      SeverityNumber = 18
	SeverityNumber_SEVERITY_NUMBER_ERROR3      SeverityNumber = 19
	SeverityNumber_SEVERITY_NUMBER_ERROR4      SeverityNumber = 20
	SeverityNumber_SEVERITY_NUMBER_FATAL       SeverityNumber = 21
	SeverityNumber_SEVERITY_NUMBER_FATAL2      SeverityNumber = 22
	SeverityNumber_SEVERITY_NUMBER_FATAL3      SeverityNumber = 23
	SeverityNumber_SEVERITY_NUMBER_FATAL4      SeverityNumber = 24
)

func (SeverityNumber) EnumDescriptor

func (SeverityNumber) EnumDescriptor() ([]byte, []int)

func (SeverityNumber) String

func (x SeverityNumber) String() string

Jump to

Keyboard shortcuts

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