Documentation ¶
Index ¶
- Variables
- type CPU
- type GraphEdge
- type GraphNode
- type GraphNode_Type
- func (GraphNode_Type) Descriptor() protoreflect.EnumDescriptor
- func (x GraphNode_Type) Enum() *GraphNode_Type
- func (GraphNode_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x GraphNode_Type) Number() protoreflect.EnumNumber
- func (x GraphNode_Type) String() string
- func (GraphNode_Type) Type() protoreflect.EnumType
- type GraphResponse
- func (*GraphResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GraphResponse) GetEdges() []*GraphEdge
- func (x *GraphResponse) GetNodes() []*GraphNode
- func (*GraphResponse) ProtoMessage()
- func (x *GraphResponse) ProtoReflect() protoreflect.Message
- func (x *GraphResponse) Reset()
- func (x *GraphResponse) String() string
- type Log
- func (*Log) Descriptor() ([]byte, []int)deprecated
- func (x *Log) GetAt() *timestamppb.Timestamp
- func (x *Log) GetKind() string
- func (x *Log) GetMessage() string
- func (x *Log) GetModule() string
- func (x *Log) GetService() string
- func (*Log) ProtoMessage()
- func (x *Log) ProtoReflect() protoreflect.Message
- func (x *Log) Reset()
- func (x *Log) String() string
- type LogRequest
- func (*LogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LogRequest) GetFrom() *timestamppb.Timestamp
- func (x *LogRequest) GetTo() *timestamppb.Timestamp
- func (*LogRequest) ProtoMessage()
- func (x *LogRequest) ProtoReflect() protoreflect.Message
- func (x *LogRequest) Reset()
- func (x *LogRequest) String() string
- type LogResponse
- type LogSessionGroup
- func (*LogSessionGroup) Descriptor() ([]byte, []int)deprecated
- func (x *LogSessionGroup) GetLogs() []*Log
- func (x *LogSessionGroup) GetSession() *Session
- func (*LogSessionGroup) ProtoMessage()
- func (x *LogSessionGroup) ProtoReflect() protoreflect.Message
- func (x *LogSessionGroup) Reset()
- func (x *LogSessionGroup) String() string
- type Memory
- type ModuleSnapshot
- func (*ModuleSnapshot) Descriptor() ([]byte, []int)deprecated
- func (x *ModuleSnapshot) GetName() string
- func (x *ModuleSnapshot) GetUuid() string
- func (x *ModuleSnapshot) GetWorkspace() *WorkspaceSnapshot
- func (*ModuleSnapshot) ProtoMessage()
- func (x *ModuleSnapshot) ProtoReflect() protoreflect.Message
- func (x *ModuleSnapshot) Reset()
- func (x *ModuleSnapshot) String() string
- type PartialSnapshot
- func (*PartialSnapshot) Descriptor() ([]byte, []int)deprecated
- func (x *PartialSnapshot) GetModules() []*ModuleSnapshot
- func (x *PartialSnapshot) GetName() string
- func (x *PartialSnapshot) GetUuid() string
- func (x *PartialSnapshot) GetWorkspace() *WorkspaceSnapshot
- func (*PartialSnapshot) ProtoMessage()
- func (x *PartialSnapshot) ProtoReflect() protoreflect.Message
- func (x *PartialSnapshot) Reset()
- func (x *PartialSnapshot) String() string
- type Session
- func (*Session) Descriptor() ([]byte, []int)deprecated
- func (x *Session) GetAt() *timestamppb.Timestamp
- func (x *Session) GetModule() *ModuleSnapshot
- func (x *Session) GetPartial() *PartialSnapshot
- func (m *Session) GetSession() isSession_Session
- func (x *Session) GetUuid() string
- func (*Session) ProtoMessage()
- func (x *Session) ProtoReflect() protoreflect.Message
- func (x *Session) Reset()
- func (x *Session) String() string
- type Session_Module
- type Session_Partial
- type WorkspaceInformationRequest
- func (*WorkspaceInformationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceInformationRequest) GetWorkspace() string
- func (*WorkspaceInformationRequest) ProtoMessage()
- func (x *WorkspaceInformationRequest) ProtoReflect() protoreflect.Message
- func (x *WorkspaceInformationRequest) Reset()
- func (x *WorkspaceInformationRequest) String() string
- type WorkspaceSnapshot
- func (*WorkspaceSnapshot) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceSnapshot) GetName() string
- func (x *WorkspaceSnapshot) GetUuid() string
- func (*WorkspaceSnapshot) ProtoMessage()
- func (x *WorkspaceSnapshot) ProtoReflect() protoreflect.Message
- func (x *WorkspaceSnapshot) Reset()
- func (x *WorkspaceSnapshot) String() string
Constants ¶
This section is empty.
Variables ¶
var ( GraphNode_Type_name = map[int32]string{ 0: "MODULE", 1: "SERVICE", 2: "ENDPOINT", } GraphNode_Type_value = map[string]int32{ "MODULE": 0, "SERVICE": 1, "ENDPOINT": 2, } )
Enum value maps for GraphNode_Type.
var File_codefly_observability_v0_dependencies_proto protoreflect.FileDescriptor
var File_codefly_observability_v0_inventory_proto protoreflect.FileDescriptor
var File_codefly_observability_v0_logs_proto protoreflect.FileDescriptor
var File_codefly_observability_v0_metrics_proto protoreflect.FileDescriptor
var File_codefly_observability_v0_sessions_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
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) GetTimestamp ¶
func (x *CPU) GetTimestamp() *timestamppb.Timestamp
func (*CPU) ProtoMessage ¶
func (*CPU) ProtoMessage()
func (*CPU) ProtoReflect ¶
func (x *CPU) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*GraphEdge) ProtoMessage()
func (*GraphEdge) ProtoReflect ¶
func (x *GraphEdge) ProtoReflect() protoreflect.Message
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=codefly.observability.v0.GraphNode_Type" json:"type,omitempty"` // contains filtered or unexported fields }
GraphNode represents a node in an architecture graph Type can be "module", "service" or "endpoint"
func (*GraphNode) Descriptor
deprecated
func (*GraphNode) GetType ¶
func (x *GraphNode) GetType() GraphNode_Type
func (*GraphNode) ProtoMessage ¶
func (*GraphNode) ProtoMessage()
func (*GraphNode) ProtoReflect ¶
func (x *GraphNode) ProtoReflect() protoreflect.Message
type GraphNode_Type ¶
type GraphNode_Type int32
const ( GraphNode_MODULE GraphNode_Type = 0 GraphNode_SERVICE GraphNode_Type = 1 GraphNode_ENDPOINT GraphNode_Type = 2 )
func (GraphNode_Type) Descriptor ¶
func (GraphNode_Type) Descriptor() protoreflect.EnumDescriptor
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 (x GraphNode_Type) Number() protoreflect.EnumNumber
func (GraphNode_Type) String ¶
func (x GraphNode_Type) String() string
func (GraphNode_Type) Type ¶
func (GraphNode_Type) Type() protoreflect.EnumType
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"` Module string `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"` Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"` Kind string `protobuf:"bytes,4,opt,name=kind,proto3" 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) GetAt ¶
func (x *Log) GetAt() *timestamppb.Timestamp
func (*Log) GetMessage ¶
func (*Log) GetService ¶
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) ProtoReflect ¶
func (x *Log) ProtoReflect() protoreflect.Message
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 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) GetTimestamp ¶
func (x *Memory) GetTimestamp() *timestamppb.Timestamp
func (*Memory) ProtoMessage ¶
func (*Memory) ProtoMessage()
func (*Memory) ProtoReflect ¶
func (x *Memory) ProtoReflect() protoreflect.Message
type ModuleSnapshot ¶
type ModuleSnapshot 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"` Workspace *WorkspaceSnapshot `protobuf:"bytes,3,opt,name=workspace,proto3" json:"workspace,omitempty"` // contains filtered or unexported fields }
func (*ModuleSnapshot) Descriptor
deprecated
func (*ModuleSnapshot) Descriptor() ([]byte, []int)
Deprecated: Use ModuleSnapshot.ProtoReflect.Descriptor instead.
func (*ModuleSnapshot) GetName ¶
func (x *ModuleSnapshot) GetName() string
func (*ModuleSnapshot) GetUuid ¶
func (x *ModuleSnapshot) GetUuid() string
func (*ModuleSnapshot) GetWorkspace ¶
func (x *ModuleSnapshot) GetWorkspace() *WorkspaceSnapshot
func (*ModuleSnapshot) ProtoMessage ¶
func (*ModuleSnapshot) ProtoMessage()
func (*ModuleSnapshot) ProtoReflect ¶
func (x *ModuleSnapshot) ProtoReflect() protoreflect.Message
func (*ModuleSnapshot) Reset ¶
func (x *ModuleSnapshot) Reset()
func (*ModuleSnapshot) String ¶
func (x *ModuleSnapshot) 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"` Workspace *WorkspaceSnapshot `protobuf:"bytes,3,opt,name=workspace,proto3" json:"workspace,omitempty"` Modules []*ModuleSnapshot `protobuf:"bytes,4,rep,name=modules,proto3" json:"modules,omitempty"` // contains filtered or unexported fields }
func (*PartialSnapshot) Descriptor
deprecated
func (*PartialSnapshot) Descriptor() ([]byte, []int)
Deprecated: Use PartialSnapshot.ProtoReflect.Descriptor instead.
func (*PartialSnapshot) GetModules ¶
func (x *PartialSnapshot) GetModules() []*ModuleSnapshot
func (*PartialSnapshot) GetName ¶
func (x *PartialSnapshot) GetName() string
func (*PartialSnapshot) GetUuid ¶
func (x *PartialSnapshot) GetUuid() string
func (*PartialSnapshot) GetWorkspace ¶
func (x *PartialSnapshot) GetWorkspace() *WorkspaceSnapshot
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 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_Module Session isSession_Session `protobuf_oneof:"session"` // contains filtered or unexported fields }
func (*Session) Descriptor
deprecated
func (*Session) GetAt ¶
func (x *Session) GetAt() *timestamppb.Timestamp
func (*Session) GetModule ¶
func (x *Session) GetModule() *ModuleSnapshot
func (*Session) GetPartial ¶
func (x *Session) GetPartial() *PartialSnapshot
func (*Session) GetSession ¶
func (m *Session) GetSession() isSession_Session
func (*Session) ProtoMessage ¶
func (*Session) ProtoMessage()
func (*Session) ProtoReflect ¶
func (x *Session) ProtoReflect() protoreflect.Message
type Session_Module ¶
type Session_Module struct {
Module *ModuleSnapshot `protobuf:"bytes,4,opt,name=module,proto3,oneof"`
}
type Session_Partial ¶
type Session_Partial struct {
Partial *PartialSnapshot `protobuf:"bytes,3,opt,name=partial,proto3,oneof"`
}
type WorkspaceInformationRequest ¶
type WorkspaceInformationRequest struct { Workspace string `protobuf:"bytes,1,opt,name=workspace,proto3" json:"workspace,omitempty"` // contains filtered or unexported fields }
func (*WorkspaceInformationRequest) Descriptor
deprecated
func (*WorkspaceInformationRequest) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceInformationRequest.ProtoReflect.Descriptor instead.
func (*WorkspaceInformationRequest) GetWorkspace ¶
func (x *WorkspaceInformationRequest) GetWorkspace() string
func (*WorkspaceInformationRequest) ProtoMessage ¶
func (*WorkspaceInformationRequest) ProtoMessage()
func (*WorkspaceInformationRequest) ProtoReflect ¶
func (x *WorkspaceInformationRequest) ProtoReflect() protoreflect.Message
func (*WorkspaceInformationRequest) Reset ¶
func (x *WorkspaceInformationRequest) Reset()
func (*WorkspaceInformationRequest) String ¶
func (x *WorkspaceInformationRequest) String() string
type WorkspaceSnapshot ¶
type WorkspaceSnapshot 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 (*WorkspaceSnapshot) Descriptor
deprecated
func (*WorkspaceSnapshot) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceSnapshot.ProtoReflect.Descriptor instead.
func (*WorkspaceSnapshot) GetName ¶
func (x *WorkspaceSnapshot) GetName() string
func (*WorkspaceSnapshot) GetUuid ¶
func (x *WorkspaceSnapshot) GetUuid() string
func (*WorkspaceSnapshot) ProtoMessage ¶
func (*WorkspaceSnapshot) ProtoMessage()
func (*WorkspaceSnapshot) ProtoReflect ¶
func (x *WorkspaceSnapshot) ProtoReflect() protoreflect.Message
func (*WorkspaceSnapshot) Reset ¶
func (x *WorkspaceSnapshot) Reset()
func (*WorkspaceSnapshot) String ¶
func (x *WorkspaceSnapshot) String() string