v0

package
v0.1.74 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GraphNode_Type_name = map[int32]string{
		0: "APPLICATION",
		1: "SERVICE",
		2: "ENDPOINT",
	}
	GraphNode_Type_value = map[string]int32{
		"APPLICATION": 0,
		"SERVICE":     1,
		"ENDPOINT":    2,
	}
)

Enum value maps for GraphNode_Type.

View Source
var (
	Log_Kind_name = map[int32]string{
		0: "UNKNOWN",
		1: "AGENT",
		2: "SERVICE",
	}
	Log_Kind_value = map[string]int32{
		"UNKNOWN": 0,
		"AGENT":   1,
		"SERVICE": 2,
	}
)

Enum value maps for Log_Kind.

View Source
var File_observability_v0_dependencies_proto protoreflect.FileDescriptor
View Source
var File_observability_v0_inventory_proto protoreflect.FileDescriptor
View Source
var File_observability_v0_logs_proto protoreflect.FileDescriptor
View Source
var File_observability_v0_metrics_proto protoreflect.FileDescriptor
View Source
var File_observability_v0_sessions_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ApplicationSnapshot

type ApplicationSnapshot struct {
	Uuid    string           `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Name    string           `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Project *ProjectSnapshot `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplicationSnapshot) Descriptor deprecated

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

Deprecated: Use ApplicationSnapshot.ProtoReflect.Descriptor instead.

func (*ApplicationSnapshot) GetName

func (x *ApplicationSnapshot) GetName() string

func (*ApplicationSnapshot) GetProject

func (x *ApplicationSnapshot) GetProject() *ProjectSnapshot

func (*ApplicationSnapshot) GetUuid

func (x *ApplicationSnapshot) GetUuid() string

func (*ApplicationSnapshot) ProtoMessage

func (*ApplicationSnapshot) ProtoMessage()

func (*ApplicationSnapshot) ProtoReflect

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

func (*ApplicationSnapshot) Reset

func (x *ApplicationSnapshot) Reset()

func (*ApplicationSnapshot) String

func (x *ApplicationSnapshot) String() string

type CPU

type CPU struct {
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Usage     float64                `protobuf:"fixed64,2,opt,name=usage,proto3" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

TODO: Drill down on how we represent this

func (*CPU) Descriptor deprecated

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

Deprecated: Use CPU.ProtoReflect.Descriptor instead.

func (*CPU) GetTimestamp

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

func (*CPU) GetUsage

func (x *CPU) GetUsage() float64

func (*CPU) ProtoMessage

func (*CPU) ProtoMessage()

func (*CPU) ProtoReflect

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

func (*CPU) Reset

func (x *CPU) Reset()

func (*CPU) String

func (x *CPU) String() string

type GraphEdge

type GraphEdge struct {
	From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	To   string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	// contains filtered or unexported fields
}

func (*GraphEdge) Descriptor deprecated

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

Deprecated: Use GraphEdge.ProtoReflect.Descriptor instead.

func (*GraphEdge) GetFrom

func (x *GraphEdge) GetFrom() string

func (*GraphEdge) GetTo

func (x *GraphEdge) GetTo() string

func (*GraphEdge) ProtoMessage

func (*GraphEdge) ProtoMessage()

func (*GraphEdge) ProtoReflect

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

func (*GraphEdge) Reset

func (x *GraphEdge) Reset()

func (*GraphEdge) String

func (x *GraphEdge) String() string

type GraphNode

type GraphNode struct {
	Id   string         `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type GraphNode_Type `protobuf:"varint,2,opt,name=type,proto3,enum=observability.v0.GraphNode_Type" json:"type,omitempty"`
	// contains filtered or unexported fields
}

GraphNode represents a node in an architecture graph Type can be "application", "service" or "endpoint"

func (*GraphNode) Descriptor deprecated

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

Deprecated: Use GraphNode.ProtoReflect.Descriptor instead.

func (*GraphNode) GetId

func (x *GraphNode) GetId() string

func (*GraphNode) GetType

func (x *GraphNode) GetType() GraphNode_Type

func (*GraphNode) ProtoMessage

func (*GraphNode) ProtoMessage()

func (*GraphNode) ProtoReflect

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

func (*GraphNode) Reset

func (x *GraphNode) Reset()

func (*GraphNode) String

func (x *GraphNode) String() string

type GraphNode_Type

type GraphNode_Type int32
const (
	GraphNode_APPLICATION GraphNode_Type = 0
	GraphNode_SERVICE     GraphNode_Type = 1
	GraphNode_ENDPOINT    GraphNode_Type = 2
)

func (GraphNode_Type) Descriptor

func (GraphNode_Type) Enum

func (x GraphNode_Type) Enum() *GraphNode_Type

func (GraphNode_Type) EnumDescriptor deprecated

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

Deprecated: Use GraphNode_Type.Descriptor instead.

func (GraphNode_Type) Number

func (GraphNode_Type) String

func (x GraphNode_Type) String() string

func (GraphNode_Type) Type

type GraphResponse

type GraphResponse struct {
	Nodes []*GraphNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	Edges []*GraphEdge `protobuf:"bytes,2,rep,name=edges,proto3" json:"edges,omitempty"`
	// contains filtered or unexported fields
}

func (*GraphResponse) Descriptor deprecated

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

Deprecated: Use GraphResponse.ProtoReflect.Descriptor instead.

func (*GraphResponse) GetEdges

func (x *GraphResponse) GetEdges() []*GraphEdge

func (*GraphResponse) GetNodes

func (x *GraphResponse) GetNodes() []*GraphNode

func (*GraphResponse) ProtoMessage

func (*GraphResponse) ProtoMessage()

func (*GraphResponse) ProtoReflect

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

func (*GraphResponse) Reset

func (x *GraphResponse) Reset()

func (*GraphResponse) String

func (x *GraphResponse) String() string

type Log

type Log struct {
	At          *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=at,proto3" json:"at,omitempty"`
	Application string                 `protobuf:"bytes,2,opt,name=application,proto3" json:"application,omitempty"`
	Service     string                 `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"`
	Kind        Log_Kind               `protobuf:"varint,4,opt,name=kind,proto3,enum=observability.v0.Log_Kind" json:"kind,omitempty"`
	Message     string                 `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*Log) Descriptor deprecated

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

Deprecated: Use Log.ProtoReflect.Descriptor instead.

func (*Log) GetApplication

func (x *Log) GetApplication() string

func (*Log) GetAt

func (x *Log) GetAt() *timestamppb.Timestamp

func (*Log) GetKind

func (x *Log) GetKind() Log_Kind

func (*Log) GetMessage

func (x *Log) GetMessage() string

func (*Log) GetService

func (x *Log) GetService() string

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

type LogRequest

type LogRequest struct {
	From *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	To   *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	// contains filtered or unexported fields
}

func (*LogRequest) Descriptor deprecated

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

Deprecated: Use LogRequest.ProtoReflect.Descriptor instead.

func (*LogRequest) GetFrom

func (x *LogRequest) GetFrom() *timestamppb.Timestamp

func (*LogRequest) GetTo

func (x *LogRequest) GetTo() *timestamppb.Timestamp

func (*LogRequest) ProtoMessage

func (*LogRequest) ProtoMessage()

func (*LogRequest) ProtoReflect

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

func (*LogRequest) Reset

func (x *LogRequest) Reset()

func (*LogRequest) String

func (x *LogRequest) String() string

type LogResponse

type LogResponse struct {
	Groups []*LogSessionGroup `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
	// contains filtered or unexported fields
}

func (*LogResponse) Descriptor deprecated

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

Deprecated: Use LogResponse.ProtoReflect.Descriptor instead.

func (*LogResponse) GetGroups

func (x *LogResponse) GetGroups() []*LogSessionGroup

func (*LogResponse) ProtoMessage

func (*LogResponse) ProtoMessage()

func (*LogResponse) ProtoReflect

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

func (*LogResponse) Reset

func (x *LogResponse) Reset()

func (*LogResponse) String

func (x *LogResponse) String() string

type LogSessionGroup

type LogSessionGroup struct {
	Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	Logs    []*Log   `protobuf:"bytes,2,rep,name=logs,proto3" json:"logs,omitempty"`
	// contains filtered or unexported fields
}

func (*LogSessionGroup) Descriptor deprecated

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

Deprecated: Use LogSessionGroup.ProtoReflect.Descriptor instead.

func (*LogSessionGroup) GetLogs

func (x *LogSessionGroup) GetLogs() []*Log

func (*LogSessionGroup) GetSession

func (x *LogSessionGroup) GetSession() *Session

func (*LogSessionGroup) ProtoMessage

func (*LogSessionGroup) ProtoMessage()

func (*LogSessionGroup) ProtoReflect

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

func (*LogSessionGroup) Reset

func (x *LogSessionGroup) Reset()

func (*LogSessionGroup) String

func (x *LogSessionGroup) String() string

type Log_Kind

type Log_Kind int32
const (
	Log_UNKNOWN Log_Kind = 0
	Log_AGENT   Log_Kind = 1
	Log_SERVICE Log_Kind = 2
)

func (Log_Kind) Descriptor

func (Log_Kind) Descriptor() protoreflect.EnumDescriptor

func (Log_Kind) Enum

func (x Log_Kind) Enum() *Log_Kind

func (Log_Kind) EnumDescriptor deprecated

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

Deprecated: Use Log_Kind.Descriptor instead.

func (Log_Kind) Number

func (x Log_Kind) Number() protoreflect.EnumNumber

func (Log_Kind) String

func (x Log_Kind) String() string

func (Log_Kind) Type

type Memory

type Memory struct {
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Usage     float64                `protobuf:"fixed64,2,opt,name=usage,proto3" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (*Memory) Descriptor deprecated

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

Deprecated: Use Memory.ProtoReflect.Descriptor instead.

func (*Memory) GetTimestamp

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

func (*Memory) GetUsage

func (x *Memory) GetUsage() float64

func (*Memory) ProtoMessage

func (*Memory) ProtoMessage()

func (*Memory) ProtoReflect

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

func (*Memory) Reset

func (x *Memory) Reset()

func (*Memory) String

func (x *Memory) String() string

type PartialSnapshot

type PartialSnapshot struct {
	Uuid         string                 `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Name         string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Project      *ProjectSnapshot       `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	Applications []*ApplicationSnapshot `protobuf:"bytes,4,rep,name=applications,proto3" json:"applications,omitempty"`
	// contains filtered or unexported fields
}

func (*PartialSnapshot) Descriptor deprecated

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

Deprecated: Use PartialSnapshot.ProtoReflect.Descriptor instead.

func (*PartialSnapshot) GetApplications

func (x *PartialSnapshot) GetApplications() []*ApplicationSnapshot

func (*PartialSnapshot) GetName

func (x *PartialSnapshot) GetName() string

func (*PartialSnapshot) GetProject

func (x *PartialSnapshot) GetProject() *ProjectSnapshot

func (*PartialSnapshot) GetUuid

func (x *PartialSnapshot) GetUuid() string

func (*PartialSnapshot) ProtoMessage

func (*PartialSnapshot) ProtoMessage()

func (*PartialSnapshot) ProtoReflect

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

func (*PartialSnapshot) Reset

func (x *PartialSnapshot) Reset()

func (*PartialSnapshot) String

func (x *PartialSnapshot) String() string

type ProjectInformationRequest

type ProjectInformationRequest struct {
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectInformationRequest) Descriptor deprecated

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

Deprecated: Use ProjectInformationRequest.ProtoReflect.Descriptor instead.

func (*ProjectInformationRequest) GetProject

func (x *ProjectInformationRequest) GetProject() string

func (*ProjectInformationRequest) ProtoMessage

func (*ProjectInformationRequest) ProtoMessage()

func (*ProjectInformationRequest) ProtoReflect

func (*ProjectInformationRequest) Reset

func (x *ProjectInformationRequest) Reset()

func (*ProjectInformationRequest) String

func (x *ProjectInformationRequest) String() string

type ProjectSnapshot

type ProjectSnapshot struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectSnapshot) Descriptor deprecated

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

Deprecated: Use ProjectSnapshot.ProtoReflect.Descriptor instead.

func (*ProjectSnapshot) GetName

func (x *ProjectSnapshot) GetName() string

func (*ProjectSnapshot) GetUuid

func (x *ProjectSnapshot) GetUuid() string

func (*ProjectSnapshot) ProtoMessage

func (*ProjectSnapshot) ProtoMessage()

func (*ProjectSnapshot) ProtoReflect

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

func (*ProjectSnapshot) Reset

func (x *ProjectSnapshot) Reset()

func (*ProjectSnapshot) String

func (x *ProjectSnapshot) String() string

type Session

type Session struct {
	Uuid string                 `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	At   *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=at,proto3" json:"at,omitempty"`
	// Types that are assignable to Session:
	//
	//	*Session_Partial
	//	*Session_Application
	Session isSession_Session `protobuf_oneof:"session"`
	// contains filtered or unexported fields
}

func (*Session) Descriptor deprecated

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

Deprecated: Use Session.ProtoReflect.Descriptor instead.

func (*Session) GetApplication

func (x *Session) GetApplication() *ApplicationSnapshot

func (*Session) GetAt

func (x *Session) GetAt() *timestamppb.Timestamp

func (*Session) GetPartial

func (x *Session) GetPartial() *PartialSnapshot

func (*Session) GetSession

func (m *Session) GetSession() isSession_Session

func (*Session) GetUuid

func (x *Session) GetUuid() string

func (*Session) ProtoMessage

func (*Session) ProtoMessage()

func (*Session) ProtoReflect

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

func (*Session) Reset

func (x *Session) Reset()

func (*Session) String

func (x *Session) String() string

type Session_Application

type Session_Application struct {
	Application *ApplicationSnapshot `protobuf:"bytes,4,opt,name=application,proto3,oneof"`
}

type Session_Partial

type Session_Partial struct {
	Partial *PartialSnapshot `protobuf:"bytes,3,opt,name=partial,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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