pb

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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) Descriptor() ([]byte, []int)

Deprecated: Use Log.ProtoReflect.Descriptor instead.

func (*Log) GetAttributes

func (x *Log) GetAttributes() map[string]string

func (*Log) GetContent

func (x *Log) GetContent() string

func (*Log) GetName

func (x *Log) GetName() string

func (*Log) GetRelations

func (x *Log) GetRelations() *pb.Relation

func (*Log) GetSeverity

func (x *Log) GetSeverity() string

func (*Log) GetTimeUnixNano

func (x *Log) GetTimeUnixNano() uint64

func (*Log) MarshalJSON

func (m *Log) MarshalJSON() ([]byte, error)

Log implement json.Marshaler.

func (*Log) ProtoMessage

func (*Log) ProtoMessage()

func (*Log) ProtoReflect

func (x *Log) ProtoReflect() protoreflect.Message

func (*Log) Reset

func (x *Log) Reset()

func (*Log) String

func (x *Log) String() string

func (*Log) UnmarshalJSON

func (m *Log) UnmarshalJSON(b []byte) error

Log implement json.Marshaler.

func (*Log) UnmarshalURLValues

func (m *Log) UnmarshalURLValues(prefix string, values url.Values) error

Log implement urlenc.URLValuesUnmarshaler.

func (*Log) Validate

func (this *Log) Validate() error

Jump to

Keyboard shortcuts

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