v1alpha1

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TelemetryEventKind_name = map[int32]string{
		0: "INFO",
		1: "WARNING",
		2: "ERROR",
	}
	TelemetryEventKind_value = map[string]int32{
		"INFO":    0,
		"WARNING": 1,
		"ERROR":   2,
	}
)

Enum value maps for TelemetryEventKind.

View Source
var File_telemetry_v1alpha1_telemetry_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type StackFrame

type StackFrame struct {

	// The file name where the error occurred.
	File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	// The name of the method where the error occurred.
	Function string `protobuf:"bytes,2,opt,name=function,proto3" json:"function,omitempty"`
	// The line number in the file where the error occurred.
	Line int32 `protobuf:"varint,3,opt,name=line,proto3" json:"line,omitempty"`
	// The column number in the line where the error occurred.
	Column int32 `protobuf:"varint,4,opt,name=column,proto3" json:"column,omitempty"`
	// contains filtered or unexported fields
}

func (*StackFrame) Descriptor deprecated

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

Deprecated: Use StackFrame.ProtoReflect.Descriptor instead.

func (*StackFrame) GetColumn

func (x *StackFrame) GetColumn() int32

func (*StackFrame) GetFile

func (x *StackFrame) GetFile() string

func (*StackFrame) GetFunction

func (x *StackFrame) GetFunction() string

func (*StackFrame) GetLine

func (x *StackFrame) GetLine() int32

func (*StackFrame) ProtoMessage

func (*StackFrame) ProtoMessage()

func (*StackFrame) ProtoReflect

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

func (*StackFrame) Reset

func (x *StackFrame) Reset()

func (*StackFrame) String

func (x *StackFrame) String() string

type TelemetryEvent

type TelemetryEvent struct {

	// The session ID associated with the event.
	SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// Timestamp when the event occurred.
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// The kind of event.
	Kind TelemetryEventKind `protobuf:"varint,3,opt,name=kind,proto3,enum=bucketeer.telemetry.v1alpha1.TelemetryEventKind" json:"kind,omitempty"`
	// The name of the event.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// A message associated with the event.
	Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	// Any values associated with the event.
	Values map[string]string `` /* 153-byte string literal not displayed */
	// If an error, the stack trace associated with the event.
	StackTrace []*StackFrame `protobuf:"bytes,7,rep,name=stack_trace,json=stackTrace,proto3" json:"stack_trace,omitempty"`
	// A set of tags associated with the event.
	Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*TelemetryEvent) Descriptor deprecated

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

Deprecated: Use TelemetryEvent.ProtoReflect.Descriptor instead.

func (*TelemetryEvent) GetKind

func (x *TelemetryEvent) GetKind() TelemetryEventKind

func (*TelemetryEvent) GetMessage

func (x *TelemetryEvent) GetMessage() string

func (*TelemetryEvent) GetName

func (x *TelemetryEvent) GetName() string

func (*TelemetryEvent) GetSessionId

func (x *TelemetryEvent) GetSessionId() string

func (*TelemetryEvent) GetStackTrace

func (x *TelemetryEvent) GetStackTrace() []*StackFrame

func (*TelemetryEvent) GetTags

func (x *TelemetryEvent) GetTags() []string

func (*TelemetryEvent) GetTimestamp

func (x *TelemetryEvent) GetTimestamp() *timestamppb.Timestamp

func (*TelemetryEvent) GetValues

func (x *TelemetryEvent) GetValues() map[string]string

func (*TelemetryEvent) ProtoMessage

func (*TelemetryEvent) ProtoMessage()

func (*TelemetryEvent) ProtoReflect

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

func (*TelemetryEvent) Reset

func (x *TelemetryEvent) Reset()

func (*TelemetryEvent) String

func (x *TelemetryEvent) String() string

type TelemetryEventKind

type TelemetryEventKind int32
const (
	// The event is an informational message.
	TelemetryEventKind_INFO TelemetryEventKind = 0
	// The event is a warning message.
	TelemetryEventKind_WARNING TelemetryEventKind = 1
	// The event is an error message.
	TelemetryEventKind_ERROR TelemetryEventKind = 2
)

func (TelemetryEventKind) Descriptor

func (TelemetryEventKind) Enum

func (TelemetryEventKind) EnumDescriptor deprecated

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

Deprecated: Use TelemetryEventKind.Descriptor instead.

func (TelemetryEventKind) Number

func (TelemetryEventKind) String

func (x TelemetryEventKind) String() string

func (TelemetryEventKind) Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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