Documentation ¶
Index ¶
- Variables
- type Log
- func (*Log) Descriptor() ([]byte, []int)deprecated
- func (x *Log) GetAttributes() map[string]string
- func (x *Log) GetContent() string
- func (x *Log) GetName() string
- func (x *Log) GetRelations() *pb.Relation
- func (x *Log) GetSeverity() string
- func (x *Log) GetTimeUnixNano() uint64
- func (m *Log) MarshalJSON() ([]byte, error)
- func (*Log) ProtoMessage()
- func (x *Log) ProtoReflect() protoreflect.Message
- func (x *Log) Reset()
- func (x *Log) String() string
- func (m *Log) UnmarshalJSON(b []byte) error
- func (m *Log) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *Log) Validate() error
Constants ¶
This section is empty.
Variables ¶
View Source
var File_log_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Log ¶
type Log struct { TimeUnixNano uint64 `protobuf:"fixed64,1,opt,name=timeUnixNano,proto3" json:"timeUnixNano,omitempty"` // log source , like contaoner_log, job_log, deploy_log, app_log . Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // The severity text (also known as log level). The original string representation as // it is known at the source. [Optional]. Severity string `protobuf:"bytes,3,opt,name=severity,proto3" json:"severity,omitempty"` // Store trace and resource pointer Relations *pb.Relation `protobuf:"bytes,4,opt,name=relations,proto3" json:"relations,omitempty"` // Including label, attributes and resource Attributes map[string]string `` /* 161-byte string literal not displayed */ // Multi data points // The data point can be the original value or the aggregated value Content string `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
The logging data model
of the observability analysis platform.
func (*Log) Descriptor
deprecated
func (*Log) GetAttributes ¶
func (*Log) GetContent ¶
func (*Log) GetRelations ¶
func (*Log) GetSeverity ¶
func (*Log) GetTimeUnixNano ¶
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) ProtoReflect ¶
func (x *Log) ProtoReflect() protoreflect.Message
func (*Log) UnmarshalJSON ¶
Log implement json.Marshaler.
func (*Log) UnmarshalURLValues ¶
Log implement urlenc.URLValuesUnmarshaler.
Click to show internal directories.
Click to hide internal directories.