v1

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	Analysis_GetAnalysis_FullMethodName             = "/analysis.v1.Analysis/GetAnalysis"
	Analysis_GetAnalysisByGID_FullMethodName        = "/analysis.v1.Analysis/GetAnalysisByGID"
	Analysis_GetAllGIDs_FullMethodName              = "/analysis.v1.Analysis/GetAllGIDs"
	Analysis_GetParamsByID_FullMethodName           = "/analysis.v1.Analysis/GetParamsByID"
	Analysis_GetAllFunctionName_FullMethodName      = "/analysis.v1.Analysis/GetAllFunctionName"
	Analysis_GetGidsByFunctionName_FullMethodName   = "/analysis.v1.Analysis/GetGidsByFunctionName"
	Analysis_VerifyProjectPath_FullMethodName       = "/analysis.v1.Analysis/VerifyProjectPath"
	Analysis_GetTracesByParentFunc_FullMethodName   = "/analysis.v1.Analysis/GetTracesByParentFunc"
	Analysis_GetParentFunctions_FullMethodName      = "/analysis.v1.Analysis/GetParentFunctions"
	Analysis_GetChildFunctions_FullMethodName       = "/analysis.v1.Analysis/GetChildFunctions"
	Analysis_GetHotFunctions_FullMethodName         = "/analysis.v1.Analysis/GetHotFunctions"
	Analysis_GetGoroutineStats_FullMethodName       = "/analysis.v1.Analysis/GetGoroutineStats"
	Analysis_GetFunctionAnalysis_FullMethodName     = "/analysis.v1.Analysis/GetFunctionAnalysis"
	Analysis_InstrumentProject_FullMethodName       = "/analysis.v1.Analysis/InstrumentProject"
	Analysis_GetUnfinishedFunctions_FullMethodName  = "/analysis.v1.Analysis/GetUnfinishedFunctions"
	Analysis_GetTreeGraph_FullMethodName            = "/analysis.v1.Analysis/GetTreeGraph"
	Analysis_GetTreeGraphByGID_FullMethodName       = "/analysis.v1.Analysis/GetTreeGraphByGID"
	Analysis_GetFunctionCallStats_FullMethodName    = "/analysis.v1.Analysis/GetFunctionCallStats"
	Analysis_GetPerformanceAnomalies_FullMethodName = "/analysis.v1.Analysis/GetPerformanceAnomalies"
	Analysis_SearchFunctions_FullMethodName         = "/analysis.v1.Analysis/SearchFunctions"
)

Variables

View Source
var (
	ErrorReason_name = map[int32]string{
		0: "GREETER_UNSPECIFIED",
		1: "USER_NOT_FOUND",
	}
	ErrorReason_value = map[string]int32{
		"GREETER_UNSPECIFIED": 0,
		"USER_NOT_FOUND":      1,
	}
)

Enum value maps for ErrorReason.

View Source
var Analysis_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "analysis.v1.Analysis",
	HandlerType: (*AnalysisServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAnalysis",
			Handler:    _Analysis_GetAnalysis_Handler,
		},
		{
			MethodName: "GetAnalysisByGID",
			Handler:    _Analysis_GetAnalysisByGID_Handler,
		},
		{
			MethodName: "GetAllGIDs",
			Handler:    _Analysis_GetAllGIDs_Handler,
		},
		{
			MethodName: "GetParamsByID",
			Handler:    _Analysis_GetParamsByID_Handler,
		},
		{
			MethodName: "GetAllFunctionName",
			Handler:    _Analysis_GetAllFunctionName_Handler,
		},
		{
			MethodName: "GetGidsByFunctionName",
			Handler:    _Analysis_GetGidsByFunctionName_Handler,
		},
		{
			MethodName: "VerifyProjectPath",
			Handler:    _Analysis_VerifyProjectPath_Handler,
		},
		{
			MethodName: "GetTracesByParentFunc",
			Handler:    _Analysis_GetTracesByParentFunc_Handler,
		},
		{
			MethodName: "GetParentFunctions",
			Handler:    _Analysis_GetParentFunctions_Handler,
		},
		{
			MethodName: "GetChildFunctions",
			Handler:    _Analysis_GetChildFunctions_Handler,
		},
		{
			MethodName: "GetHotFunctions",
			Handler:    _Analysis_GetHotFunctions_Handler,
		},
		{
			MethodName: "GetGoroutineStats",
			Handler:    _Analysis_GetGoroutineStats_Handler,
		},
		{
			MethodName: "GetFunctionAnalysis",
			Handler:    _Analysis_GetFunctionAnalysis_Handler,
		},
		{
			MethodName: "InstrumentProject",
			Handler:    _Analysis_InstrumentProject_Handler,
		},
		{
			MethodName: "GetUnfinishedFunctions",
			Handler:    _Analysis_GetUnfinishedFunctions_Handler,
		},
		{
			MethodName: "GetTreeGraph",
			Handler:    _Analysis_GetTreeGraph_Handler,
		},
		{
			MethodName: "GetTreeGraphByGID",
			Handler:    _Analysis_GetTreeGraphByGID_Handler,
		},
		{
			MethodName: "GetFunctionCallStats",
			Handler:    _Analysis_GetFunctionCallStats_Handler,
		},
		{
			MethodName: "GetPerformanceAnomalies",
			Handler:    _Analysis_GetPerformanceAnomalies_Handler,
		},
		{
			MethodName: "SearchFunctions",
			Handler:    _Analysis_SearchFunctions_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "analysis/v1/analysis.proto",
}

Analysis_ServiceDesc is the grpc.ServiceDesc for Analysis service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_analysis_v1_analysis_proto protoreflect.FileDescriptor
View Source
var File_analysis_v1_error_reason_proto protoreflect.FileDescriptor

Functions

func RegisterAnalysisHandler added in v1.1.0

func RegisterAnalysisHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterAnalysisHandler registers the http handlers for service Analysis to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterAnalysisHandlerClient added in v1.1.0

func RegisterAnalysisHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AnalysisClient) error

RegisterAnalysisHandlerClient registers the http handlers for service Analysis to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AnalysisClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AnalysisClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AnalysisClient" to call the correct interceptors.

func RegisterAnalysisHandlerFromEndpoint added in v1.1.0

func RegisterAnalysisHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterAnalysisHandlerFromEndpoint is same as RegisterAnalysisHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterAnalysisHandlerServer added in v1.1.0

func RegisterAnalysisHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AnalysisServer) error

RegisterAnalysisHandlerServer registers the http handlers for service Analysis to "mux". UnaryRPC :call AnalysisServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAnalysisHandlerFromEndpoint instead.

func RegisterAnalysisServer

func RegisterAnalysisServer(s grpc.ServiceRegistrar, srv AnalysisServer)

Types

type AnalysisByGIDReply

type AnalysisByGIDReply struct {
	TraceData []*AnalysisByGIDReply_TraceData `protobuf:"bytes,1,rep,name=traceData,proto3" json:"traceData,omitempty"`
	// contains filtered or unexported fields
}

func (*AnalysisByGIDReply) Descriptor deprecated

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

Deprecated: Use AnalysisByGIDReply.ProtoReflect.Descriptor instead.

func (*AnalysisByGIDReply) GetTraceData

func (x *AnalysisByGIDReply) GetTraceData() []*AnalysisByGIDReply_TraceData

func (*AnalysisByGIDReply) ProtoMessage

func (*AnalysisByGIDReply) ProtoMessage()

func (*AnalysisByGIDReply) ProtoReflect

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

func (*AnalysisByGIDReply) Reset

func (x *AnalysisByGIDReply) Reset()

func (*AnalysisByGIDReply) String

func (x *AnalysisByGIDReply) String() string

type AnalysisByGIDReply_TraceData

type AnalysisByGIDReply_TraceData struct {
	Id         int32          `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name       string         `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Gid        uint64         `protobuf:"varint,3,opt,name=gid,proto3" json:"gid,omitempty"`
	Indent     int32          `protobuf:"varint,4,opt,name=indent,proto3" json:"indent,omitempty"`
	Params     []*TraceParams `protobuf:"bytes,5,rep,name=params,proto3" json:"params,omitempty"`
	ParamCount int32          `protobuf:"varint,6,opt,name=paramCount,proto3" json:"paramCount,omitempty"`
	TimeCost   string         `protobuf:"bytes,7,opt,name=timeCost,proto3" json:"timeCost,omitempty"`
	ParentId   int64          `protobuf:"varint,8,opt,name=parentId,proto3" json:"parentId,omitempty"` // 父函数ID
	// contains filtered or unexported fields
}

func (*AnalysisByGIDReply_TraceData) Descriptor deprecated

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

Deprecated: Use AnalysisByGIDReply_TraceData.ProtoReflect.Descriptor instead.

func (*AnalysisByGIDReply_TraceData) GetGid

func (*AnalysisByGIDReply_TraceData) GetId

func (*AnalysisByGIDReply_TraceData) GetIndent

func (x *AnalysisByGIDReply_TraceData) GetIndent() int32

func (*AnalysisByGIDReply_TraceData) GetName

func (x *AnalysisByGIDReply_TraceData) GetName() string

func (*AnalysisByGIDReply_TraceData) GetParamCount

func (x *AnalysisByGIDReply_TraceData) GetParamCount() int32

func (*AnalysisByGIDReply_TraceData) GetParams

func (x *AnalysisByGIDReply_TraceData) GetParams() []*TraceParams

func (*AnalysisByGIDReply_TraceData) GetParentId added in v1.1.1

func (x *AnalysisByGIDReply_TraceData) GetParentId() int64

func (*AnalysisByGIDReply_TraceData) GetTimeCost

func (x *AnalysisByGIDReply_TraceData) GetTimeCost() string

func (*AnalysisByGIDReply_TraceData) ProtoMessage

func (*AnalysisByGIDReply_TraceData) ProtoMessage()

func (*AnalysisByGIDReply_TraceData) ProtoReflect

func (*AnalysisByGIDReply_TraceData) Reset

func (x *AnalysisByGIDReply_TraceData) Reset()

func (*AnalysisByGIDReply_TraceData) String

type AnalysisByGIDRequest

type AnalysisByGIDRequest struct {
	Gid    uint64 `protobuf:"varint,1,opt,name=gid,proto3" json:"gid,omitempty"`
	Dbpath string `protobuf:"bytes,2,opt,name=dbpath,proto3" json:"dbpath,omitempty"` // 数据库路径
	// contains filtered or unexported fields
}

func (*AnalysisByGIDRequest) Descriptor deprecated

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

Deprecated: Use AnalysisByGIDRequest.ProtoReflect.Descriptor instead.

func (*AnalysisByGIDRequest) GetDbpath added in v1.1.0

func (x *AnalysisByGIDRequest) GetDbpath() string

func (*AnalysisByGIDRequest) GetGid

func (x *AnalysisByGIDRequest) GetGid() uint64

func (*AnalysisByGIDRequest) ProtoMessage

func (*AnalysisByGIDRequest) ProtoMessage()

func (*AnalysisByGIDRequest) ProtoReflect

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

func (*AnalysisByGIDRequest) Reset

func (x *AnalysisByGIDRequest) Reset()

func (*AnalysisByGIDRequest) String

func (x *AnalysisByGIDRequest) String() string

type AnalysisClient

type AnalysisClient interface {
	// Sends a greeting
	GetAnalysis(ctx context.Context, in *AnalysisRequest, opts ...grpc.CallOption) (*AnalysisReply, error)
	GetAnalysisByGID(ctx context.Context, in *AnalysisByGIDRequest, opts ...grpc.CallOption) (*AnalysisByGIDReply, error)
	GetAllGIDs(ctx context.Context, in *GetAllGIDsReq, opts ...grpc.CallOption) (*GetAllGIDsReply, error)
	GetParamsByID(ctx context.Context, in *GetParamsByIDReq, opts ...grpc.CallOption) (*GetParamsByIDReply, error)
	GetAllFunctionName(ctx context.Context, in *GetAllFunctionNameReq, opts ...grpc.CallOption) (*GetAllFunctionNameReply, error)
	GetGidsByFunctionName(ctx context.Context, in *GetGidsByFunctionNameReq, opts ...grpc.CallOption) (*GetGidsByFunctionNameReply, error)
	// 将VerifyProjectPath重定向到CheckDatabase
	VerifyProjectPath(ctx context.Context, in *VerifyProjectPathReq, opts ...grpc.CallOption) (*VerifyProjectPathReply, error)
	// GetTracesByParentFunc 根据父函数ID获取函数调用
	GetTracesByParentFunc(ctx context.Context, in *GetTracesByParentFuncReq, opts ...grpc.CallOption) (*GetTracesByParentFuncReply, error)
	// GetParentFunctions 获取所有的父函数
	GetParentFunctions(ctx context.Context, in *GetParentFunctionsReq, opts ...grpc.CallOption) (*GetParentFunctionsReply, error)
	// GetChildFunctions 获取函数的子函数
	GetChildFunctions(ctx context.Context, in *GetChildFunctionsReq, opts ...grpc.CallOption) (*GetChildFunctionsReply, error)
	// GetHotFunctions 获取热点函数分析数据
	GetHotFunctions(ctx context.Context, in *GetHotFunctionsReq, opts ...grpc.CallOption) (*GetHotFunctionsReply, error)
	// GetGoroutineStats 获取Goroutine统计信息
	GetGoroutineStats(ctx context.Context, in *GetGoroutineStatsReq, opts ...grpc.CallOption) (*GetGoroutineStatsReply, error)
	// GetFunctionAnalysis 获取函数调用关系分析
	GetFunctionAnalysis(ctx context.Context, in *GetFunctionAnalysisReq, opts ...grpc.CallOption) (*GetFunctionAnalysisReply, error)
	// InstrumentProject 对项目进行插桩
	InstrumentProject(ctx context.Context, in *InstrumentProjectReq, opts ...grpc.CallOption) (*InstrumentProjectReply, error)
	// GetUnfinishedFunctions 获取未完成的函数列表
	GetUnfinishedFunctions(ctx context.Context, in *GetUnfinishedFunctionsReq, opts ...grpc.CallOption) (*GetUnfinishedFunctionsReply, error)
	// 获取运行时树状图数据
	GetTreeGraph(ctx context.Context, in *GetTreeGraphReq, opts ...grpc.CallOption) (*GetTreeGraphReply, error)
	// 根据GID获取多棵树状图数据
	GetTreeGraphByGID(ctx context.Context, in *GetTreeGraphByGIDReq, opts ...grpc.CallOption) (*GetTreeGraphByGIDReply, error)
	// GetFunctionCallStats 获取函数调用统计分析
	GetFunctionCallStats(ctx context.Context, in *GetFunctionCallStatsReq, opts ...grpc.CallOption) (*GetFunctionCallStatsReply, error)
	// GetPerformanceAnomalies 获取性能异常检测结果
	GetPerformanceAnomalies(ctx context.Context, in *GetPerformanceAnomaliesReq, opts ...grpc.CallOption) (*GetPerformanceAnomaliesReply, error)
	// SearchFunctions 搜索函数
	SearchFunctions(ctx context.Context, in *SearchFunctionsReq, opts ...grpc.CallOption) (*SearchFunctionsReply, error)
}

AnalysisClient is the client API for Analysis service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAnalysisClient

func NewAnalysisClient(cc grpc.ClientConnInterface) AnalysisClient

type AnalysisReply

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

The response message containing the greetings

func (*AnalysisReply) Descriptor deprecated

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

Deprecated: Use AnalysisReply.ProtoReflect.Descriptor instead.

func (*AnalysisReply) GetMessage

func (x *AnalysisReply) GetMessage() string

func (*AnalysisReply) ProtoMessage

func (*AnalysisReply) ProtoMessage()

func (*AnalysisReply) ProtoReflect

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

func (*AnalysisReply) Reset

func (x *AnalysisReply) Reset()

func (*AnalysisReply) String

func (x *AnalysisReply) String() string

type AnalysisRequest

type AnalysisRequest struct {
	Name   string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Dbpath string `protobuf:"bytes,2,opt,name=dbpath,proto3" json:"dbpath,omitempty"` // 数据库路径
	// contains filtered or unexported fields
}

The request message containing the user's name.

func (*AnalysisRequest) Descriptor deprecated

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

Deprecated: Use AnalysisRequest.ProtoReflect.Descriptor instead.

func (*AnalysisRequest) GetDbpath added in v1.1.0

func (x *AnalysisRequest) GetDbpath() string

func (*AnalysisRequest) GetName

func (x *AnalysisRequest) GetName() string

func (*AnalysisRequest) ProtoMessage

func (*AnalysisRequest) ProtoMessage()

func (*AnalysisRequest) ProtoReflect

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

func (*AnalysisRequest) Reset

func (x *AnalysisRequest) Reset()

func (*AnalysisRequest) String

func (x *AnalysisRequest) String() string

type AnalysisServer

type AnalysisServer interface {
	// Sends a greeting
	GetAnalysis(context.Context, *AnalysisRequest) (*AnalysisReply, error)
	GetAnalysisByGID(context.Context, *AnalysisByGIDRequest) (*AnalysisByGIDReply, error)
	GetAllGIDs(context.Context, *GetAllGIDsReq) (*GetAllGIDsReply, error)
	GetParamsByID(context.Context, *GetParamsByIDReq) (*GetParamsByIDReply, error)
	GetAllFunctionName(context.Context, *GetAllFunctionNameReq) (*GetAllFunctionNameReply, error)
	GetGidsByFunctionName(context.Context, *GetGidsByFunctionNameReq) (*GetGidsByFunctionNameReply, error)
	// 将VerifyProjectPath重定向到CheckDatabase
	VerifyProjectPath(context.Context, *VerifyProjectPathReq) (*VerifyProjectPathReply, error)
	// GetTracesByParentFunc 根据父函数ID获取函数调用
	GetTracesByParentFunc(context.Context, *GetTracesByParentFuncReq) (*GetTracesByParentFuncReply, error)
	// GetParentFunctions 获取所有的父函数
	GetParentFunctions(context.Context, *GetParentFunctionsReq) (*GetParentFunctionsReply, error)
	// GetChildFunctions 获取函数的子函数
	GetChildFunctions(context.Context, *GetChildFunctionsReq) (*GetChildFunctionsReply, error)
	// GetHotFunctions 获取热点函数分析数据
	GetHotFunctions(context.Context, *GetHotFunctionsReq) (*GetHotFunctionsReply, error)
	// GetGoroutineStats 获取Goroutine统计信息
	GetGoroutineStats(context.Context, *GetGoroutineStatsReq) (*GetGoroutineStatsReply, error)
	// GetFunctionAnalysis 获取函数调用关系分析
	GetFunctionAnalysis(context.Context, *GetFunctionAnalysisReq) (*GetFunctionAnalysisReply, error)
	// InstrumentProject 对项目进行插桩
	InstrumentProject(context.Context, *InstrumentProjectReq) (*InstrumentProjectReply, error)
	// GetUnfinishedFunctions 获取未完成的函数列表
	GetUnfinishedFunctions(context.Context, *GetUnfinishedFunctionsReq) (*GetUnfinishedFunctionsReply, error)
	// 获取运行时树状图数据
	GetTreeGraph(context.Context, *GetTreeGraphReq) (*GetTreeGraphReply, error)
	// 根据GID获取多棵树状图数据
	GetTreeGraphByGID(context.Context, *GetTreeGraphByGIDReq) (*GetTreeGraphByGIDReply, error)
	// GetFunctionCallStats 获取函数调用统计分析
	GetFunctionCallStats(context.Context, *GetFunctionCallStatsReq) (*GetFunctionCallStatsReply, error)
	// GetPerformanceAnomalies 获取性能异常检测结果
	GetPerformanceAnomalies(context.Context, *GetPerformanceAnomaliesReq) (*GetPerformanceAnomaliesReply, error)
	// SearchFunctions 搜索函数
	SearchFunctions(context.Context, *SearchFunctionsReq) (*SearchFunctionsReply, error)
	// contains filtered or unexported methods
}

AnalysisServer is the server API for Analysis service. All implementations must embed UnimplementedAnalysisServer for forward compatibility

type AnalyzeDbFileRequest added in v1.1.0

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

分析数据库文件请求

func (*AnalyzeDbFileRequest) Descriptor deprecated added in v1.1.0

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

Deprecated: Use AnalyzeDbFileRequest.ProtoReflect.Descriptor instead.

func (*AnalyzeDbFileRequest) GetDbPath added in v1.1.0

func (x *AnalyzeDbFileRequest) GetDbPath() string

func (*AnalyzeDbFileRequest) ProtoMessage added in v1.1.0

func (*AnalyzeDbFileRequest) ProtoMessage()

func (*AnalyzeDbFileRequest) ProtoReflect added in v1.1.0

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

func (*AnalyzeDbFileRequest) Reset added in v1.1.0

func (x *AnalyzeDbFileRequest) Reset()

func (*AnalyzeDbFileRequest) String added in v1.1.0

func (x *AnalyzeDbFileRequest) String() string

type AnalyzeDbFileResponse added in v1.1.0

type AnalyzeDbFileResponse struct {
	TotalFunctions      int32                `protobuf:"varint,1,opt,name=totalFunctions,proto3" json:"totalFunctions,omitempty"`
	TotalCalls          int32                `protobuf:"varint,2,opt,name=totalCalls,proto3" json:"totalCalls,omitempty"`
	TotalPackages       int32                `protobuf:"varint,3,opt,name=totalPackages,proto3" json:"totalPackages,omitempty"`
	PackageDependencies []*PackageDependency `protobuf:"bytes,4,rep,name=packageDependencies,proto3" json:"packageDependencies,omitempty"`
	HotFunctions        []*HotFunction       `protobuf:"bytes,5,rep,name=hotFunctions,proto3" json:"hotFunctions,omitempty"`
	// contains filtered or unexported fields
}

分析数据库文件响应

func (*AnalyzeDbFileResponse) Descriptor deprecated added in v1.1.0

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

Deprecated: Use AnalyzeDbFileResponse.ProtoReflect.Descriptor instead.

func (*AnalyzeDbFileResponse) GetHotFunctions added in v1.1.0

func (x *AnalyzeDbFileResponse) GetHotFunctions() []*HotFunction

func (*AnalyzeDbFileResponse) GetPackageDependencies added in v1.1.0

func (x *AnalyzeDbFileResponse) GetPackageDependencies() []*PackageDependency

func (*AnalyzeDbFileResponse) GetTotalCalls added in v1.1.0

func (x *AnalyzeDbFileResponse) GetTotalCalls() int32

func (*AnalyzeDbFileResponse) GetTotalFunctions added in v1.1.0

func (x *AnalyzeDbFileResponse) GetTotalFunctions() int32

func (*AnalyzeDbFileResponse) GetTotalPackages added in v1.1.0

func (x *AnalyzeDbFileResponse) GetTotalPackages() int32

func (*AnalyzeDbFileResponse) ProtoMessage added in v1.1.0

func (*AnalyzeDbFileResponse) ProtoMessage()

func (*AnalyzeDbFileResponse) ProtoReflect added in v1.1.0

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

func (*AnalyzeDbFileResponse) Reset added in v1.1.0

func (x *AnalyzeDbFileResponse) Reset()

func (*AnalyzeDbFileResponse) String added in v1.1.0

func (x *AnalyzeDbFileResponse) String() string

type AnalyzeProjectPathRequest added in v1.1.0

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

分析项目路径请求

func (*AnalyzeProjectPathRequest) Descriptor deprecated added in v1.1.0

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

Deprecated: Use AnalyzeProjectPathRequest.ProtoReflect.Descriptor instead.

func (*AnalyzeProjectPathRequest) GetPath added in v1.1.0

func (x *AnalyzeProjectPathRequest) GetPath() string

func (*AnalyzeProjectPathRequest) ProtoMessage added in v1.1.0

func (*AnalyzeProjectPathRequest) ProtoMessage()

func (*AnalyzeProjectPathRequest) ProtoReflect added in v1.1.0

func (*AnalyzeProjectPathRequest) Reset added in v1.1.0

func (x *AnalyzeProjectPathRequest) Reset()

func (*AnalyzeProjectPathRequest) String added in v1.1.0

func (x *AnalyzeProjectPathRequest) String() string

type AnalyzeProjectPathResponse added in v1.1.0

type AnalyzeProjectPathResponse struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	DbPath  string `protobuf:"bytes,3,opt,name=dbPath,proto3" json:"dbPath,omitempty"`
	// contains filtered or unexported fields
}

分析项目路径响应

func (*AnalyzeProjectPathResponse) Descriptor deprecated added in v1.1.0

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

Deprecated: Use AnalyzeProjectPathResponse.ProtoReflect.Descriptor instead.

func (*AnalyzeProjectPathResponse) GetDbPath added in v1.1.0

func (x *AnalyzeProjectPathResponse) GetDbPath() string

func (*AnalyzeProjectPathResponse) GetMessage added in v1.1.0

func (x *AnalyzeProjectPathResponse) GetMessage() string

func (*AnalyzeProjectPathResponse) GetSuccess added in v1.1.0

func (x *AnalyzeProjectPathResponse) GetSuccess() bool

func (*AnalyzeProjectPathResponse) ProtoMessage added in v1.1.0

func (*AnalyzeProjectPathResponse) ProtoMessage()

func (*AnalyzeProjectPathResponse) ProtoReflect added in v1.1.0

func (*AnalyzeProjectPathResponse) Reset added in v1.1.0

func (x *AnalyzeProjectPathResponse) Reset()

func (*AnalyzeProjectPathResponse) String added in v1.1.0

func (x *AnalyzeProjectPathResponse) String() string

type ErrorReason

type ErrorReason int32
const (
	ErrorReason_GREETER_UNSPECIFIED ErrorReason = 0
	ErrorReason_USER_NOT_FOUND      ErrorReason = 1
)

func (ErrorReason) Descriptor

func (ErrorReason) Enum

func (x ErrorReason) Enum() *ErrorReason

func (ErrorReason) EnumDescriptor deprecated

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

Deprecated: Use ErrorReason.Descriptor instead.

func (ErrorReason) Number

func (x ErrorReason) Number() protoreflect.EnumNumber

func (ErrorReason) String

func (x ErrorReason) String() string

func (ErrorReason) Type

type FunctionCallStats added in v1.1.2

type FunctionCallStats struct {
	Name        string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`                // 函数名称
	Package     string  `protobuf:"bytes,2,opt,name=package,proto3" json:"package,omitempty"`          // 包名
	CallCount   int32   `protobuf:"varint,3,opt,name=callCount,proto3" json:"callCount,omitempty"`     // 调用次数
	CallerCount int32   `protobuf:"varint,4,opt,name=callerCount,proto3" json:"callerCount,omitempty"` // 调用方数量
	CalleeCount int32   `protobuf:"varint,5,opt,name=calleeCount,proto3" json:"calleeCount,omitempty"` // 被调用方数量
	AvgTime     string  `protobuf:"bytes,6,opt,name=avgTime,proto3" json:"avgTime,omitempty"`          // 平均执行时间
	MaxTime     string  `protobuf:"bytes,7,opt,name=maxTime,proto3" json:"maxTime,omitempty"`          // 最大执行时间
	MinTime     string  `protobuf:"bytes,8,opt,name=minTime,proto3" json:"minTime,omitempty"`          // 最小执行时间
	TimeStdDev  float64 `protobuf:"fixed64,9,opt,name=timeStdDev,proto3" json:"timeStdDev,omitempty"`  // 执行时间标准差
	// contains filtered or unexported fields
}

函数调用统计信息

func (*FunctionCallStats) Descriptor deprecated added in v1.1.2

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

Deprecated: Use FunctionCallStats.ProtoReflect.Descriptor instead.

func (*FunctionCallStats) GetAvgTime added in v1.1.2

func (x *FunctionCallStats) GetAvgTime() string

func (*FunctionCallStats) GetCallCount added in v1.1.2

func (x *FunctionCallStats) GetCallCount() int32

func (*FunctionCallStats) GetCalleeCount added in v1.1.2

func (x *FunctionCallStats) GetCalleeCount() int32

func (*FunctionCallStats) GetCallerCount added in v1.1.2

func (x *FunctionCallStats) GetCallerCount() int32

func (*FunctionCallStats) GetMaxTime added in v1.1.2

func (x *FunctionCallStats) GetMaxTime() string

func (*FunctionCallStats) GetMinTime added in v1.1.2

func (x *FunctionCallStats) GetMinTime() string

func (*FunctionCallStats) GetName added in v1.1.2

func (x *FunctionCallStats) GetName() string

func (*FunctionCallStats) GetPackage added in v1.1.2

func (x *FunctionCallStats) GetPackage() string

func (*FunctionCallStats) GetTimeStdDev added in v1.1.2

func (x *FunctionCallStats) GetTimeStdDev() float64

func (*FunctionCallStats) ProtoMessage added in v1.1.2

func (*FunctionCallStats) ProtoMessage()

func (*FunctionCallStats) ProtoReflect added in v1.1.2

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

func (*FunctionCallStats) Reset added in v1.1.2

func (x *FunctionCallStats) Reset()

func (*FunctionCallStats) String added in v1.1.2

func (x *FunctionCallStats) String() string

type FunctionNode added in v1.1.3

type FunctionNode struct {
	Id        int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Package   string `protobuf:"bytes,3,opt,name=package,proto3" json:"package,omitempty"`
	CallCount int32  `protobuf:"varint,4,opt,name=callCount,proto3" json:"callCount,omitempty"`
	AvgTime   string `protobuf:"bytes,5,opt,name=avgTime,proto3" json:"avgTime,omitempty"`
	// contains filtered or unexported fields
}

func (*FunctionNode) Descriptor deprecated added in v1.1.3

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

Deprecated: Use FunctionNode.ProtoReflect.Descriptor instead.

func (*FunctionNode) GetAvgTime added in v1.1.3

func (x *FunctionNode) GetAvgTime() string

func (*FunctionNode) GetCallCount added in v1.1.3

func (x *FunctionNode) GetCallCount() int32

func (*FunctionNode) GetId added in v1.1.3

func (x *FunctionNode) GetId() int64

func (*FunctionNode) GetName added in v1.1.3

func (x *FunctionNode) GetName() string

func (*FunctionNode) GetPackage added in v1.1.3

func (x *FunctionNode) GetPackage() string

func (*FunctionNode) ProtoMessage added in v1.1.3

func (*FunctionNode) ProtoMessage()

func (*FunctionNode) ProtoReflect added in v1.1.3

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

func (*FunctionNode) Reset added in v1.1.3

func (x *FunctionNode) Reset()

func (*FunctionNode) String added in v1.1.3

func (x *FunctionNode) String() string

type GenerateImageReply

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

func (*GenerateImageReply) Descriptor deprecated

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

Deprecated: Use GenerateImageReply.ProtoReflect.Descriptor instead.

func (*GenerateImageReply) GetImage

func (x *GenerateImageReply) GetImage() string

func (*GenerateImageReply) ProtoMessage

func (*GenerateImageReply) ProtoMessage()

func (*GenerateImageReply) ProtoReflect

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

func (*GenerateImageReply) Reset

func (x *GenerateImageReply) Reset()

func (*GenerateImageReply) String

func (x *GenerateImageReply) String() string

type GenerateImageReq

type GenerateImageReq struct {
	Gid    uint64 `protobuf:"varint,1,opt,name=gid,proto3" json:"gid,omitempty"`
	Dbpath string `protobuf:"bytes,2,opt,name=dbpath,proto3" json:"dbpath,omitempty"` // 数据库路径
	// contains filtered or unexported fields
}

func (*GenerateImageReq) Descriptor deprecated

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

Deprecated: Use GenerateImageReq.ProtoReflect.Descriptor instead.

func (*GenerateImageReq) GetDbpath added in v1.1.0

func (x *GenerateImageReq) GetDbpath() string

func (*GenerateImageReq) GetGid

func (x *GenerateImageReq) GetGid() uint64

func (*GenerateImageReq) ProtoMessage

func (*GenerateImageReq) ProtoMessage()

func (*GenerateImageReq) ProtoReflect

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

func (*GenerateImageReq) Reset

func (x *GenerateImageReq) Reset()

func (*GenerateImageReq) String

func (x *GenerateImageReq) String() string

type GetAllFunctionNameReply

type GetAllFunctionNameReply struct {
	FunctionNames []string `protobuf:"bytes,1,rep,name=functionNames,proto3" json:"functionNames,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAllFunctionNameReply) Descriptor deprecated

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

Deprecated: Use GetAllFunctionNameReply.ProtoReflect.Descriptor instead.

func (*GetAllFunctionNameReply) GetFunctionNames

func (x *GetAllFunctionNameReply) GetFunctionNames() []string

func (*GetAllFunctionNameReply) ProtoMessage

func (*GetAllFunctionNameReply) ProtoMessage()

func (*GetAllFunctionNameReply) ProtoReflect

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

func (*GetAllFunctionNameReply) Reset

func (x *GetAllFunctionNameReply) Reset()

func (*GetAllFunctionNameReply) String

func (x *GetAllFunctionNameReply) String() string

type GetAllFunctionNameReq

type GetAllFunctionNameReq struct {
	Dbpath string `protobuf:"bytes,1,opt,name=dbpath,proto3" json:"dbpath,omitempty"` // 数据库路径
	// contains filtered or unexported fields
}

func (*GetAllFunctionNameReq) Descriptor deprecated

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

Deprecated: Use GetAllFunctionNameReq.ProtoReflect.Descriptor instead.

func (*GetAllFunctionNameReq) GetDbpath added in v1.1.0

func (x *GetAllFunctionNameReq) GetDbpath() string

func (*GetAllFunctionNameReq) ProtoMessage

func (*GetAllFunctionNameReq) ProtoMessage()

func (*GetAllFunctionNameReq) ProtoReflect

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

func (*GetAllFunctionNameReq) Reset

func (x *GetAllFunctionNameReq) Reset()

func (*GetAllFunctionNameReq) String

func (x *GetAllFunctionNameReq) String() string

type GetAllGIDsReply

type GetAllGIDsReply struct {
	Body  []*GetAllGIDsReply_Body `protobuf:"bytes,1,rep,name=body,proto3" json:"body,omitempty"`
	Total int32                   `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // 总的 GID 数量
	// contains filtered or unexported fields
}

func (*GetAllGIDsReply) Descriptor deprecated

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

Deprecated: Use GetAllGIDsReply.ProtoReflect.Descriptor instead.

func (*GetAllGIDsReply) GetBody added in v1.0.1

func (x *GetAllGIDsReply) GetBody() []*GetAllGIDsReply_Body

func (*GetAllGIDsReply) GetTotal added in v1.0.1

func (x *GetAllGIDsReply) GetTotal() int32

func (*GetAllGIDsReply) ProtoMessage

func (*GetAllGIDsReply) ProtoMessage()

func (*GetAllGIDsReply) ProtoReflect

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

func (*GetAllGIDsReply) Reset

func (x *GetAllGIDsReply) Reset()

func (*GetAllGIDsReply) String

func (x *GetAllGIDsReply) String() string

type GetAllGIDsReply_Body added in v1.0.1

type GetAllGIDsReply_Body struct {
	Gid           uint64 `protobuf:"varint,1,opt,name=gid,proto3" json:"gid,omitempty"`
	InitialFunc   string `protobuf:"bytes,2,opt,name=initialFunc,proto3" json:"initialFunc,omitempty"`
	Depth         int32  `protobuf:"varint,3,opt,name=depth,proto3" json:"depth,omitempty"`                // 调用深度
	ExecutionTime string `protobuf:"bytes,4,opt,name=executionTime,proto3" json:"executionTime,omitempty"` // 执行时间
	IsFinished    bool   `protobuf:"varint,5,opt,name=isFinished,proto3" json:"isFinished,omitempty"`      // 是否完成
	// contains filtered or unexported fields
}

func (*GetAllGIDsReply_Body) Descriptor deprecated added in v1.0.1

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

Deprecated: Use GetAllGIDsReply_Body.ProtoReflect.Descriptor instead.

func (*GetAllGIDsReply_Body) GetDepth added in v1.1.0

func (x *GetAllGIDsReply_Body) GetDepth() int32

func (*GetAllGIDsReply_Body) GetExecutionTime added in v1.1.0

func (x *GetAllGIDsReply_Body) GetExecutionTime() string

func (*GetAllGIDsReply_Body) GetGid added in v1.0.1

func (x *GetAllGIDsReply_Body) GetGid() uint64

func (*GetAllGIDsReply_Body) GetInitialFunc added in v1.0.1

func (x *GetAllGIDsReply_Body) GetInitialFunc() string

func (*GetAllGIDsReply_Body) GetIsFinished added in v1.1.1

func (x *GetAllGIDsReply_Body) GetIsFinished() bool

func (*GetAllGIDsReply_Body) ProtoMessage added in v1.0.1

func (*GetAllGIDsReply_Body) ProtoMessage()

func (*GetAllGIDsReply_Body) ProtoReflect added in v1.0.1

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

func (*GetAllGIDsReply_Body) Reset added in v1.0.1

func (x *GetAllGIDsReply_Body) Reset()

func (*GetAllGIDsReply_Body) String added in v1.0.1

func (x *GetAllGIDsReply_Body) String() string

type GetAllGIDsReq

type GetAllGIDsReq struct {
	Page           int32  `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`                     // 当前页
	Limit          int32  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`                   // 每页条目数
	IncludeMetrics bool   `protobuf:"varint,3,opt,name=includeMetrics,proto3" json:"includeMetrics,omitempty"` // 是否包含调用深度和执行时间等指标
	Dbpath         string `protobuf:"bytes,4,opt,name=dbpath,proto3" json:"dbpath,omitempty"`                  // 数据库路径
	// contains filtered or unexported fields
}

func (*GetAllGIDsReq) Descriptor deprecated

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

Deprecated: Use GetAllGIDsReq.ProtoReflect.Descriptor instead.

func (*GetAllGIDsReq) GetDbpath added in v1.1.0

func (x *GetAllGIDsReq) GetDbpath() string

func (*GetAllGIDsReq) GetIncludeMetrics added in v1.1.0

func (x *GetAllGIDsReq) GetIncludeMetrics() bool

func (*GetAllGIDsReq) GetLimit added in v1.0.1

func (x *GetAllGIDsReq) GetLimit() int32

func (*GetAllGIDsReq) GetPage added in v1.0.1

func (x *GetAllGIDsReq) GetPage() int32

func (*GetAllGIDsReq) ProtoMessage

func (*GetAllGIDsReq) ProtoMessage()

func (*GetAllGIDsReq) ProtoReflect

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

func (*GetAllGIDsReq) Reset

func (x *GetAllGIDsReq) Reset()

func (*GetAllGIDsReq) String

func (x *GetAllGIDsReq) String() string

type GetChildFunctionsReply added in v1.1.0

type GetChildFunctionsReply struct {
	Functions []*FunctionNode `protobuf:"bytes,1,rep,name=functions,proto3" json:"functions,omitempty"`
	// contains filtered or unexported fields
}

GetChildFunctionsReply 获取函数的子函数的响应

func (*GetChildFunctionsReply) Descriptor deprecated added in v1.1.0

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

Deprecated: Use GetChildFunctionsReply.ProtoReflect.Descriptor instead.

func (*GetChildFunctionsReply) GetFunctions added in v1.1.3

func (x *GetChildFunctionsReply) GetFunctions() []*FunctionNode

func (*GetChildFunctionsReply) ProtoMessage added in v1.1.0

func (*GetChildFunctionsReply) ProtoMessage()

func (*GetChildFunctionsReply) ProtoReflect added in v1.1.0

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

func (*GetChildFunctionsReply) Reset added in v1.1.0

func (x *GetChildFunctionsReply) Reset()

func (*GetChildFunctionsReply) String added in v1.1.0

func (x *GetChildFunctionsReply) String() string

type GetChildFunctionsReq added in v1.1.0

type GetChildFunctionsReq struct {
	ParentId int64  `protobuf:"varint,1,opt,name=parentId,proto3" json:"parentId,omitempty"`
	Dbpath   string `protobuf:"bytes,2,opt,name=dbpath,proto3" json:"dbpath,omitempty"` // 数据库路径
	// contains filtered or unexported fields
}

GetChildFunctionsReq 获取函数的子函数的请求

func (*GetChildFunctionsReq) Descriptor deprecated added in v1.1.0

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

Deprecated: Use GetChildFunctionsReq.ProtoReflect.Descriptor instead.

func (*GetChildFunctionsReq) GetDbpath added in v1.1.0

func (x *GetChildFunctionsReq) GetDbpath() string

func (*GetChildFunctionsReq) GetParentId added in v1.1.1

func (x *GetChildFunctionsReq) GetParentId() int64

func (*GetChildFunctionsReq) ProtoMessage added in v1.1.0

func (*GetChildFunctionsReq) ProtoMessage()

func (*GetChildFunctionsReq) ProtoReflect added in v1.1.0

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

func (*GetChildFunctionsReq) Reset added in v1.1.0

func (x *GetChildFunctionsReq) Reset()

func (*GetChildFunctionsReq) String added in v1.1.0

func (x *GetChildFunctionsReq) String() string

type GetFunctionAnalysisReply added in v1.1.0

type GetFunctionAnalysisReply struct {
	CallData []*GetFunctionAnalysisReply_FunctionNode `protobuf:"bytes,1,rep,name=callData,proto3" json:"callData,omitempty"` // 调用关系数据
	// contains filtered or unexported fields
}

GetFunctionAnalysisReply 获取函数调用关系分析的响应

func (*GetFunctionAnalysisReply) Descriptor deprecated added in v1.1.0

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

Deprecated: Use GetFunctionAnalysisReply.ProtoReflect.Descriptor instead.

func (*GetFunctionAnalysisReply) GetCallData added in v1.1.0

func (*GetFunctionAnalysisReply) ProtoMessage added in v1.1.0

func (*GetFunctionAnalysisReply) ProtoMessage()

func (*GetFunctionAnalysisReply) ProtoReflect added in v1.1.0

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

func (*GetFunctionAnalysisReply) Reset added in v1.1.0

func (x *GetFunctionAnalysisReply) Reset()

func (*GetFunctionAnalysisReply) String added in v1.1.0

func (x *GetFunctionAnalysisReply) String() string

type GetFunctionAnalysisReply_FunctionNode added in v1.1.0

type GetFunctionAnalysisReply_FunctionNode struct {
	Id        string                                   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                // 节点ID
	Name      string                                   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`            // 函数名称
	Package   string                                   `protobuf:"bytes,3,opt,name=package,proto3" json:"package,omitempty"`      // 包名
	CallCount int32                                    `protobuf:"varint,4,opt,name=callCount,proto3" json:"callCount,omitempty"` // 调用次数
	AvgTime   string                                   `protobuf:"bytes,5,opt,name=avgTime,proto3" json:"avgTime,omitempty"`      // 平均耗时
	Children  []*GetFunctionAnalysisReply_FunctionNode `protobuf:"bytes,6,rep,name=children,proto3" json:"children,omitempty"`    // 子节点
	// contains filtered or unexported fields
}

func (*GetFunctionAnalysisReply_FunctionNode) Descriptor deprecated added in v1.1.0

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

Deprecated: Use GetFunctionAnalysisReply_FunctionNode.ProtoReflect.Descriptor instead.

func (*GetFunctionAnalysisReply_FunctionNode) GetAvgTime added in v1.1.0

func (*GetFunctionAnalysisReply_FunctionNode) GetCallCount added in v1.1.0

func (x *GetFunctionAnalysisReply_FunctionNode) GetCallCount() int32

func (*GetFunctionAnalysisReply_FunctionNode) GetChildren added in v1.1.0

func (*GetFunctionAnalysisReply_FunctionNode) GetId added in v1.1.0

func (*GetFunctionAnalysisReply_FunctionNode) GetName added in v1.1.0

func (*GetFunctionAnalysisReply_FunctionNode) GetPackage added in v1.1.0

func (*GetFunctionAnalysisReply_FunctionNode) ProtoMessage added in v1.1.0

func (*GetFunctionAnalysisReply_FunctionNode) ProtoMessage()

func (*GetFunctionAnalysisReply_FunctionNode) ProtoReflect added in v1.1.0

func (*GetFunctionAnalysisReply_FunctionNode) Reset added in v1.1.0

func (*GetFunctionAnalysisReply_FunctionNode) String added in v1.1.0

type GetFunctionAnalysisReq added in v1.1.0

type GetFunctionAnalysisReq struct {
	FunctionName string `protobuf:"bytes,1,opt,name=functionName,proto3" json:"functionName,omitempty"` // 函数名称
	Type         string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`                 // 查询类型: "caller" 或 "callee"
	Dbpath       string `protobuf:"bytes,3,opt,name=dbpath,proto3" json:"dbpath,omitempty"`             // 项目路径
	// contains filtered or unexported fields
}

GetFunctionAnalysisReq 获取函数调用关系分析的请求

func (*GetFunctionAnalysisReq) Descriptor deprecated added in v1.1.0

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

Deprecated: Use GetFunctionAnalysisReq.ProtoReflect.Descriptor instead.

func (*GetFunctionAnalysisReq) GetDbpath added in v1.1.3

func (x *GetFunctionAnalysisReq) GetDbpath() string

func (*GetFunctionAnalysisReq) GetFunctionName added in v1.1.0

func (x *GetFunctionAnalysisReq) GetFunctionName() string

func (*GetFunctionAnalysisReq) GetType added in v1.1.0

func (x *GetFunctionAnalysisReq) GetType() string

func (*GetFunctionAnalysisReq) ProtoMessage added in v1.1.0

func (*GetFunctionAnalysisReq) ProtoMessage()

func (*GetFunctionAnalysisReq) ProtoReflect added in v1.1.0

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

func (*GetFunctionAnalysisReq) Reset added in v1.1.0

func (x *GetFunctionAnalysisReq) Reset()

func (*GetFunctionAnalysisReq) String added in v1.1.0

func (x *GetFunctionAnalysisReq) String() string

type GetFunctionCallStatsReply added in v1.1.2

type GetFunctionCallStatsReply struct {
	Stats []*FunctionCallStats `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"` // 函数调用统计列表
	// contains filtered or unexported fields
}

获取函数调用统计响应

func (*GetFunctionCallStatsReply) Descriptor deprecated added in v1.1.2

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

Deprecated: Use GetFunctionCallStatsReply.ProtoReflect.Descriptor instead.

func (*GetFunctionCallStatsReply) GetStats added in v1.1.2

func (*GetFunctionCallStatsReply) ProtoMessage added in v1.1.2

func (*GetFunctionCallStatsReply) ProtoMessage()

func (*GetFunctionCallStatsReply) ProtoReflect added in v1.1.2

func (*GetFunctionCallStatsReply) Reset added in v1.1.2

func (x *GetFunctionCallStatsReply) Reset()

func (*GetFunctionCallStatsReply) String added in v1.1.2

func (x *GetFunctionCallStatsReply) String() string

type GetFunctionCallStatsReq added in v1.1.2

type GetFunctionCallStatsReq struct {
	DbPath       string `protobuf:"bytes,1,opt,name=dbPath,proto3" json:"dbPath,omitempty"`             // 数据库路径
	FunctionName string `protobuf:"bytes,2,opt,name=functionName,proto3" json:"functionName,omitempty"` // 函数名称(可选,不提供则分析所有函数)
	// contains filtered or unexported fields
}

获取函数调用统计请求

func (*GetFunctionCallStatsReq) Descriptor deprecated added in v1.1.2

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

Deprecated: Use GetFunctionCallStatsReq.ProtoReflect.Descriptor instead.

func (*GetFunctionCallStatsReq) GetDbPath added in v1.1.2

func (x *GetFunctionCallStatsReq) GetDbPath() string

func (*GetFunctionCallStatsReq) GetFunctionName added in v1.1.2

func (x *GetFunctionCallStatsReq) GetFunctionName() string

func (*GetFunctionCallStatsReq) ProtoMessage added in v1.1.2

func (*GetFunctionCallStatsReq) ProtoMessage()

func (*GetFunctionCallStatsReq) ProtoReflect added in v1.1.2

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

func (*GetFunctionCallStatsReq) Reset added in v1.1.2

func (x *GetFunctionCallStatsReq) Reset()

func (*GetFunctionCallStatsReq) String added in v1.1.2

func (x *GetFunctionCallStatsReq) String() string

type GetGidsByFunctionNameReply

type GetGidsByFunctionNameReply struct {
	Body  []*GetGidsByFunctionNameReply_Body `protobuf:"bytes,1,rep,name=body,proto3" json:"body,omitempty"`
	Total int32                              `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // 总的 GID 数量
	// contains filtered or unexported fields
}

func (*GetGidsByFunctionNameReply) Descriptor deprecated

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

Deprecated: Use GetGidsByFunctionNameReply.ProtoReflect.Descriptor instead.

func (*GetGidsByFunctionNameReply) GetBody added in v1.1.0

func (*GetGidsByFunctionNameReply) GetTotal added in v1.1.0

func (x *GetGidsByFunctionNameReply) GetTotal() int32

func (*GetGidsByFunctionNameReply) ProtoMessage

func (*GetGidsByFunctionNameReply) ProtoMessage()

func (*GetGidsByFunctionNameReply) ProtoReflect

func (*GetGidsByFunctionNameReply) Reset

func (x *GetGidsByFunctionNameReply) Reset()

func (*GetGidsByFunctionNameReply) String

func (x *GetGidsByFunctionNameReply) String() string

type GetGidsByFunctionNameReply_Body added in v1.1.0

type GetGidsByFunctionNameReply_Body struct {
	Gid           uint64 `protobuf:"varint,1,opt,name=gid,proto3" json:"gid,omitempty"`
	InitialFunc   string `protobuf:"bytes,2,opt,name=initialFunc,proto3" json:"initialFunc,omitempty"`
	Depth         int32  `protobuf:"varint,3,opt,name=depth,proto3" json:"depth,omitempty"`                // 调用深度
	ExecutionTime string `protobuf:"bytes,4,opt,name=executionTime,proto3" json:"executionTime,omitempty"` // 执行时间
	IsFinished    bool   `protobuf:"varint,5,opt,name=isFinished,proto3" json:"isFinished,omitempty"`      // 是否完成
	// contains filtered or unexported fields
}

func (*GetGidsByFunctionNameReply_Body) Descriptor deprecated added in v1.1.0

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

Deprecated: Use GetGidsByFunctionNameReply_Body.ProtoReflect.Descriptor instead.

func (*GetGidsByFunctionNameReply_Body) GetDepth added in v1.1.0

func (x *GetGidsByFunctionNameReply_Body) GetDepth() int32

func (*GetGidsByFunctionNameReply_Body) GetExecutionTime added in v1.1.0

func (x *GetGidsByFunctionNameReply_Body) GetExecutionTime() string

func (*GetGidsByFunctionNameReply_Body) GetGid added in v1.1.0

func (*GetGidsByFunctionNameReply_Body) GetInitialFunc added in v1.1.0

func (x *GetGidsByFunctionNameReply_Body) GetInitialFunc() string

func (*GetGidsByFunctionNameReply_Body) GetIsFinished added in v1.1.1

func (x *GetGidsByFunctionNameReply_Body) GetIsFinished() bool

func (*GetGidsByFunctionNameReply_Body) ProtoMessage added in v1.1.0

func (*GetGidsByFunctionNameReply_Body) ProtoMessage()

func (*GetGidsByFunctionNameReply_Body) ProtoReflect added in v1.1.0

func (*GetGidsByFunctionNameReply_Body) Reset added in v1.1.0

func (*GetGidsByFunctionNameReply_Body) String added in v1.1.0

type GetGidsByFunctionNameReq

type GetGidsByFunctionNameReq struct {
	FunctionName   string `protobuf:"bytes,1,opt,name=functionName,proto3" json:"functionName,omitempty"`
	Path           string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	IncludeMetrics bool   `protobuf:"varint,3,opt,name=includeMetrics,proto3" json:"includeMetrics,omitempty"` // 是否包含调用深度和执行时间等指标
	// contains filtered or unexported fields
}

func (*GetGidsByFunctionNameReq) Descriptor deprecated

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

Deprecated: Use GetGidsByFunctionNameReq.ProtoReflect.Descriptor instead.

func (*GetGidsByFunctionNameReq) GetFunctionName

func (x *GetGidsByFunctionNameReq) GetFunctionName() string

func (*GetGidsByFunctionNameReq) GetIncludeMetrics added in v1.1.0

func (x *GetGidsByFunctionNameReq) GetIncludeMetrics() bool

func (*GetGidsByFunctionNameReq) GetPath added in v1.1.0

func (x *GetGidsByFunctionNameReq) GetPath() string

func (*GetGidsByFunctionNameReq) ProtoMessage

func (*GetGidsByFunctionNameReq) ProtoMessage()

func (*GetGidsByFunctionNameReq) ProtoReflect

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

func (*GetGidsByFunctionNameReq) Reset

func (x *GetGidsByFunctionNameReq) Reset()

func (*GetGidsByFunctionNameReq) String

func (x *GetGidsByFunctionNameReq) String() string

type GetGoroutineStatsReply added in v1.1.0

type GetGoroutineStatsReply struct {
	Active   int32  `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"`     // 活跃Goroutine数量
	AvgTime  string `protobuf:"bytes,2,opt,name=avgTime,proto3" json:"avgTime,omitempty"`    // 平均执行时间
	MaxDepth int32  `protobuf:"varint,3,opt,name=maxDepth,proto3" json:"maxDepth,omitempty"` // 最大调用深度
	// contains filtered or unexported fields
}

GetGoroutineStatsReply 获取Goroutine统计信息的响应

func (*GetGoroutineStatsReply) Descriptor deprecated added in v1.1.0

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

Deprecated: Use GetGoroutineStatsReply.ProtoReflect.Descriptor instead.

func (*GetGoroutineStatsReply) GetActive added in v1.1.0

func (x *GetGoroutineStatsReply) GetActive() int32

func (*GetGoroutineStatsReply) GetAvgTime added in v1.1.0

func (x *GetGoroutineStatsReply) GetAvgTime() string

func (*GetGoroutineStatsReply) GetMaxDepth added in v1.1.0

func (x *GetGoroutineStatsReply) GetMaxDepth() int32

func (*GetGoroutineStatsReply) ProtoMessage added in v1.1.0

func (*GetGoroutineStatsReply) ProtoMessage()

func (*GetGoroutineStatsReply) ProtoReflect added in v1.1.0

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

func (*GetGoroutineStatsReply) Reset added in v1.1.0

func (x *GetGoroutineStatsReply) Reset()

func (*GetGoroutineStatsReply) String added in v1.1.0

func (x *GetGoroutineStatsReply) String() string

type GetGoroutineStatsReq added in v1.1.0

type GetGoroutineStatsReq struct {
	Dbpath string `protobuf:"bytes,1,opt,name=dbpath,proto3" json:"dbpath,omitempty"` // 数据库路径
	// contains filtered or unexported fields
}

GetGoroutineStatsReq 获取Goroutine统计信息的请求

func (*GetGoroutineStatsReq) Descriptor deprecated added in v1.1.0

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

Deprecated: Use GetGoroutineStatsReq.ProtoReflect.Descriptor instead.

func (*GetGoroutineStatsReq) GetDbpath added in v1.1.0

func (x *GetGoroutineStatsReq) GetDbpath() string

func (*GetGoroutineStatsReq) ProtoMessage added in v1.1.0

func (*GetGoroutineStatsReq) ProtoMessage()

func (*GetGoroutineStatsReq) ProtoReflect added in v1.1.0

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

func (*GetGoroutineStatsReq) Reset added in v1.1.0

func (x *GetGoroutineStatsReq) Reset()

func (*GetGoroutineStatsReq) String added in v1.1.0

func (x *GetGoroutineStatsReq) String() string

type GetHotFunctionsReply added in v1.1.0

type GetHotFunctionsReply struct {
	Functions []*GetHotFunctionsReply_HotFunction `protobuf:"bytes,1,rep,name=functions,proto3" json:"functions,omitempty"` // 热点函数列表
	// contains filtered or unexported fields
}

GetHotFunctionsReply 获取热点函数的响应

func (*GetHotFunctionsReply) Descriptor deprecated added in v1.1.0

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

Deprecated: Use GetHotFunctionsReply.ProtoReflect.Descriptor instead.

func (*GetHotFunctionsReply) GetFunctions added in v1.1.0

func (*GetHotFunctionsReply) ProtoMessage added in v1.1.0

func (*GetHotFunctionsReply) ProtoMessage()

func (*GetHotFunctionsReply) ProtoReflect added in v1.1.0

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

func (*GetHotFunctionsReply) Reset added in v1.1.0

func (x *GetHotFunctionsReply) Reset()

func (*GetHotFunctionsReply) String added in v1.1.0

func (x *GetHotFunctionsReply) String() string

type GetHotFunctionsReply_HotFunction added in v1.1.0

type GetHotFunctionsReply_HotFunction struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`                             // 函数名称
	Package   string `protobuf:"bytes,2,opt,name=package,proto3" json:"package,omitempty"`                       // 包名
	CallCount int32  `protobuf:"varint,3,opt,name=call_count,json=callCount,proto3" json:"call_count,omitempty"` // 调用次数
	TotalTime string `protobuf:"bytes,4,opt,name=total_time,json=totalTime,proto3" json:"total_time,omitempty"`  // 总耗时
	AvgTime   string `protobuf:"bytes,5,opt,name=avg_time,json=avgTime,proto3" json:"avg_time,omitempty"`        // 平均耗时
	// contains filtered or unexported fields
}

func (*GetHotFunctionsReply_HotFunction) Descriptor deprecated added in v1.1.0

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

Deprecated: Use GetHotFunctionsReply_HotFunction.ProtoReflect.Descriptor instead.

func (*GetHotFunctionsReply_HotFunction) GetAvgTime added in v1.1.0

func (x *GetHotFunctionsReply_HotFunction) GetAvgTime() string

func (*GetHotFunctionsReply_HotFunction) GetCallCount added in v1.1.0

func (x *GetHotFunctionsReply_HotFunction) GetCallCount() int32

func (*GetHotFunctionsReply_HotFunction) GetName added in v1.1.0

func (*GetHotFunctionsReply_HotFunction) GetPackage added in v1.1.0

func (x *GetHotFunctionsReply_HotFunction) GetPackage() string

func (*GetHotFunctionsReply_HotFunction) GetTotalTime added in v1.1.0

func (x *GetHotFunctionsReply_HotFunction) GetTotalTime() string

func (*GetHotFunctionsReply_HotFunction) ProtoMessage added in v1.1.0

func (*GetHotFunctionsReply_HotFunction) ProtoMessage()

func (*GetHotFunctionsReply_HotFunction) ProtoReflect added in v1.1.0

func (*GetHotFunctionsReply_HotFunction) Reset added in v1.1.0

func (*GetHotFunctionsReply_HotFunction) String added in v1.1.0

type GetHotFunctionsReq added in v1.1.0

type GetHotFunctionsReq struct {
	SortBy string `protobuf:"bytes,1,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"` // 排序方式: "calls" 或 "time"
	Dbpath string `protobuf:"bytes,2,opt,name=dbpath,proto3" json:"dbpath,omitempty"`               // 数据库路径
	// contains filtered or unexported fields
}

GetHotFunctionsReq 获取热点函数的请求

func (*GetHotFunctionsReq) Descriptor deprecated added in v1.1.0

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

Deprecated: Use GetHotFunctionsReq.ProtoReflect.Descriptor instead.

func (*GetHotFunctionsReq) GetDbpath added in v1.1.0

func (x *GetHotFunctionsReq) GetDbpath() string

func (*GetHotFunctionsReq) GetSortBy added in v1.1.0

func (x *GetHotFunctionsReq) GetSortBy() string

func (*GetHotFunctionsReq) ProtoMessage added in v1.1.0

func (*GetHotFunctionsReq) ProtoMessage()

func (*GetHotFunctionsReq) ProtoReflect added in v1.1.0

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

func (*GetHotFunctionsReq) Reset added in v1.1.0

func (x *GetHotFunctionsReq) Reset()

func (*GetHotFunctionsReq) String added in v1.1.0

func (x *GetHotFunctionsReq) String() string

type GetParamsByIDReply

type GetParamsByIDReply struct {
	Params []*TraceParams `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*GetParamsByIDReply) Descriptor deprecated

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

Deprecated: Use GetParamsByIDReply.ProtoReflect.Descriptor instead.

func (*GetParamsByIDReply) GetParams

func (x *GetParamsByIDReply) GetParams() []*TraceParams

func (*GetParamsByIDReply) ProtoMessage

func (*GetParamsByIDReply) ProtoMessage()

func (*GetParamsByIDReply) ProtoReflect

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

func (*GetParamsByIDReply) Reset

func (x *GetParamsByIDReply) Reset()

func (*GetParamsByIDReply) String

func (x *GetParamsByIDReply) String() string

type GetParamsByIDReq

type GetParamsByIDReq struct {
	Id     int32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Dbpath string `protobuf:"bytes,2,opt,name=dbpath,proto3" json:"dbpath,omitempty"` // 数据库路径
	// contains filtered or unexported fields
}

func (*GetParamsByIDReq) Descriptor deprecated

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

Deprecated: Use GetParamsByIDReq.ProtoReflect.Descriptor instead.

func (*GetParamsByIDReq) GetDbpath added in v1.1.0

func (x *GetParamsByIDReq) GetDbpath() string

func (*GetParamsByIDReq) GetId

func (x *GetParamsByIDReq) GetId() int32

func (*GetParamsByIDReq) ProtoMessage

func (*GetParamsByIDReq) ProtoMessage()

func (*GetParamsByIDReq) ProtoReflect

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

func (*GetParamsByIDReq) Reset

func (x *GetParamsByIDReq) Reset()

func (*GetParamsByIDReq) String

func (x *GetParamsByIDReq) String() string

type GetParentFunctionsReply added in v1.1.3

type GetParentFunctionsReply struct {
	Functions []*FunctionNode `protobuf:"bytes,1,rep,name=functions,proto3" json:"functions,omitempty"`
	// contains filtered or unexported fields
}

func (*GetParentFunctionsReply) Descriptor deprecated added in v1.1.3

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

Deprecated: Use GetParentFunctionsReply.ProtoReflect.Descriptor instead.

func (*GetParentFunctionsReply) GetFunctions added in v1.1.3

func (x *GetParentFunctionsReply) GetFunctions() []*FunctionNode

func (*GetParentFunctionsReply) ProtoMessage added in v1.1.3

func (*GetParentFunctionsReply) ProtoMessage()

func (*GetParentFunctionsReply) ProtoReflect added in v1.1.3

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

func (*GetParentFunctionsReply) Reset added in v1.1.3

func (x *GetParentFunctionsReply) Reset()

func (*GetParentFunctionsReply) String added in v1.1.3

func (x *GetParentFunctionsReply) String() string

type GetParentFunctionsReq added in v1.1.3

type GetParentFunctionsReq struct {
	Dbpath       string `protobuf:"bytes,1,opt,name=dbpath,proto3" json:"dbpath,omitempty"`             // 数据库路径
	FunctionName string `protobuf:"bytes,2,opt,name=functionName,proto3" json:"functionName,omitempty"` // 函数名称
	// contains filtered or unexported fields
}

func (*GetParentFunctionsReq) Descriptor deprecated added in v1.1.3

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

Deprecated: Use GetParentFunctionsReq.ProtoReflect.Descriptor instead.

func (*GetParentFunctionsReq) GetDbpath added in v1.1.3

func (x *GetParentFunctionsReq) GetDbpath() string

func (*GetParentFunctionsReq) GetFunctionName added in v1.1.3

func (x *GetParentFunctionsReq) GetFunctionName() string

func (*GetParentFunctionsReq) ProtoMessage added in v1.1.3

func (*GetParentFunctionsReq) ProtoMessage()

func (*GetParentFunctionsReq) ProtoReflect added in v1.1.3

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

func (*GetParentFunctionsReq) Reset added in v1.1.3

func (x *GetParentFunctionsReq) Reset()

func (*GetParentFunctionsReq) String added in v1.1.3

func (x *GetParentFunctionsReq) String() string

type GetPerformanceAnomaliesReply added in v1.1.2

type GetPerformanceAnomaliesReply struct {
	Anomalies []*PerformanceAnomaly `protobuf:"bytes,1,rep,name=anomalies,proto3" json:"anomalies,omitempty"` // 性能异常列表
	// contains filtered or unexported fields
}

获取性能异常检测响应

func (*GetPerformanceAnomaliesReply) Descriptor deprecated added in v1.1.2

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

Deprecated: Use GetPerformanceAnomaliesReply.ProtoReflect.Descriptor instead.

func (*GetPerformanceAnomaliesReply) GetAnomalies added in v1.1.2

func (x *GetPerformanceAnomaliesReply) GetAnomalies() []*PerformanceAnomaly

func (*GetPerformanceAnomaliesReply) ProtoMessage added in v1.1.2

func (*GetPerformanceAnomaliesReply) ProtoMessage()

func (*GetPerformanceAnomaliesReply) ProtoReflect added in v1.1.2

func (*GetPerformanceAnomaliesReply) Reset added in v1.1.2

func (x *GetPerformanceAnomaliesReply) Reset()

func (*GetPerformanceAnomaliesReply) String added in v1.1.2

type GetPerformanceAnomaliesReq added in v1.1.2

type GetPerformanceAnomaliesReq struct {
	DbPath       string  `protobuf:"bytes,1,opt,name=dbPath,proto3" json:"dbPath,omitempty"`             // 数据库路径
	FunctionName string  `protobuf:"bytes,2,opt,name=functionName,proto3" json:"functionName,omitempty"` // 函数名称(可选,不提供则检测所有函数)
	Threshold    float64 `protobuf:"fixed64,3,opt,name=threshold,proto3" json:"threshold,omitempty"`     // 异常阈值(标准差倍数),默认为2.0
	// contains filtered or unexported fields
}

获取性能异常检测请求

func (*GetPerformanceAnomaliesReq) Descriptor deprecated added in v1.1.2

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

Deprecated: Use GetPerformanceAnomaliesReq.ProtoReflect.Descriptor instead.

func (*GetPerformanceAnomaliesReq) GetDbPath added in v1.1.2

func (x *GetPerformanceAnomaliesReq) GetDbPath() string

func (*GetPerformanceAnomaliesReq) GetFunctionName added in v1.1.2

func (x *GetPerformanceAnomaliesReq) GetFunctionName() string

func (*GetPerformanceAnomaliesReq) GetThreshold added in v1.1.2

func (x *GetPerformanceAnomaliesReq) GetThreshold() float64

func (*GetPerformanceAnomaliesReq) ProtoMessage added in v1.1.2

func (*GetPerformanceAnomaliesReq) ProtoMessage()

func (*GetPerformanceAnomaliesReq) ProtoReflect added in v1.1.2

func (*GetPerformanceAnomaliesReq) Reset added in v1.1.2

func (x *GetPerformanceAnomaliesReq) Reset()

func (*GetPerformanceAnomaliesReq) String added in v1.1.2

func (x *GetPerformanceAnomaliesReq) String() string

type GetTraceGraphReply added in v1.0.1

type GetTraceGraphReply 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 (*GetTraceGraphReply) Descriptor deprecated added in v1.0.1

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

Deprecated: Use GetTraceGraphReply.ProtoReflect.Descriptor instead.

func (*GetTraceGraphReply) GetEdges added in v1.0.1

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

func (*GetTraceGraphReply) GetNodes added in v1.0.1

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

func (*GetTraceGraphReply) ProtoMessage added in v1.0.1

func (*GetTraceGraphReply) ProtoMessage()

func (*GetTraceGraphReply) ProtoReflect added in v1.0.1

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

func (*GetTraceGraphReply) Reset added in v1.0.1

func (x *GetTraceGraphReply) Reset()

func (*GetTraceGraphReply) String added in v1.0.1

func (x *GetTraceGraphReply) String() string

type GetTraceGraphReq added in v1.0.1

type GetTraceGraphReq struct {
	Gid    uint64 `protobuf:"varint,1,opt,name=gid,proto3" json:"gid,omitempty"`
	Dbpath string `protobuf:"bytes,2,opt,name=dbpath,proto3" json:"dbpath,omitempty"` // 数据库路径
	// contains filtered or unexported fields
}

func (*GetTraceGraphReq) Descriptor deprecated added in v1.0.1

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

Deprecated: Use GetTraceGraphReq.ProtoReflect.Descriptor instead.

func (*GetTraceGraphReq) GetDbpath added in v1.1.0

func (x *GetTraceGraphReq) GetDbpath() string

func (*GetTraceGraphReq) GetGid added in v1.0.1

func (x *GetTraceGraphReq) GetGid() uint64

func (*GetTraceGraphReq) ProtoMessage added in v1.0.1

func (*GetTraceGraphReq) ProtoMessage()

func (*GetTraceGraphReq) ProtoReflect added in v1.0.1

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

func (*GetTraceGraphReq) Reset added in v1.0.1

func (x *GetTraceGraphReq) Reset()

func (*GetTraceGraphReq) String added in v1.0.1

func (x *GetTraceGraphReq) String() string

type GetTracesByParentFuncReply added in v1.1.0

type GetTracesByParentFuncReply struct {
	TraceData []*GetTracesByParentFuncReply_TraceData `protobuf:"bytes,1,rep,name=traceData,proto3" json:"traceData,omitempty"`
	// contains filtered or unexported fields
}

GetTracesByParentFuncReply 根据父函数名称获取函数调用的响应

func (*GetTracesByParentFuncReply) Descriptor deprecated added in v1.1.0

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

Deprecated: Use GetTracesByParentFuncReply.ProtoReflect.Descriptor instead.

func (*GetTracesByParentFuncReply) GetTraceData added in v1.1.0

func (*GetTracesByParentFuncReply) ProtoMessage added in v1.1.0

func (*GetTracesByParentFuncReply) ProtoMessage()

func (*GetTracesByParentFuncReply) ProtoReflect added in v1.1.0

func (*GetTracesByParentFuncReply) Reset added in v1.1.0

func (x *GetTracesByParentFuncReply) Reset()

func (*GetTracesByParentFuncReply) String added in v1.1.0

func (x *GetTracesByParentFuncReply) String() string

type GetTracesByParentFuncReply_TraceData added in v1.1.0

type GetTracesByParentFuncReply_TraceData struct {
	Id         int32          `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name       string         `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Gid        int32          `protobuf:"varint,3,opt,name=gid,proto3" json:"gid,omitempty"`
	Indent     int32          `protobuf:"varint,4,opt,name=indent,proto3" json:"indent,omitempty"`
	Params     []*TraceParams `protobuf:"bytes,5,rep,name=params,proto3" json:"params,omitempty"`
	ParamCount int32          `protobuf:"varint,6,opt,name=paramCount,proto3" json:"paramCount,omitempty"`
	TimeCost   string         `protobuf:"bytes,7,opt,name=timeCost,proto3" json:"timeCost,omitempty"`
	ParentId   int64          `protobuf:"varint,8,opt,name=parentId,proto3" json:"parentId,omitempty"` // 父函数ID
	// contains filtered or unexported fields
}

func (*GetTracesByParentFuncReply_TraceData) Descriptor deprecated added in v1.1.0

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

Deprecated: Use GetTracesByParentFuncReply_TraceData.ProtoReflect.Descriptor instead.

func (*GetTracesByParentFuncReply_TraceData) GetGid added in v1.1.0

func (*GetTracesByParentFuncReply_TraceData) GetId added in v1.1.0

func (*GetTracesByParentFuncReply_TraceData) GetIndent added in v1.1.0

func (*GetTracesByParentFuncReply_TraceData) GetName added in v1.1.0

func (*GetTracesByParentFuncReply_TraceData) GetParamCount added in v1.1.0

func (x *GetTracesByParentFuncReply_TraceData) GetParamCount() int32

func (*GetTracesByParentFuncReply_TraceData) GetParams added in v1.1.0

func (*GetTracesByParentFuncReply_TraceData) GetParentId added in v1.1.1

func (*GetTracesByParentFuncReply_TraceData) GetTimeCost added in v1.1.0

func (*GetTracesByParentFuncReply_TraceData) ProtoMessage added in v1.1.0

func (*GetTracesByParentFuncReply_TraceData) ProtoMessage()

func (*GetTracesByParentFuncReply_TraceData) ProtoReflect added in v1.1.0

func (*GetTracesByParentFuncReply_TraceData) Reset added in v1.1.0

func (*GetTracesByParentFuncReply_TraceData) String added in v1.1.0

type GetTracesByParentFuncReq added in v1.1.0

type GetTracesByParentFuncReq struct {
	ParentId int64  `protobuf:"varint,1,opt,name=parentId,proto3" json:"parentId,omitempty"`
	Dbpath   string `protobuf:"bytes,2,opt,name=dbpath,proto3" json:"dbpath,omitempty"` // 数据库路径
	// contains filtered or unexported fields
}

GetTracesByParentFuncReq 根据父函数ID获取函数调用的请求

func (*GetTracesByParentFuncReq) Descriptor deprecated added in v1.1.0

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

Deprecated: Use GetTracesByParentFuncReq.ProtoReflect.Descriptor instead.

func (*GetTracesByParentFuncReq) GetDbpath added in v1.1.0

func (x *GetTracesByParentFuncReq) GetDbpath() string

func (*GetTracesByParentFuncReq) GetParentId added in v1.1.1

func (x *GetTracesByParentFuncReq) GetParentId() int64

func (*GetTracesByParentFuncReq) ProtoMessage added in v1.1.0

func (*GetTracesByParentFuncReq) ProtoMessage()

func (*GetTracesByParentFuncReq) ProtoReflect added in v1.1.0

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

func (*GetTracesByParentFuncReq) Reset added in v1.1.0

func (x *GetTracesByParentFuncReq) Reset()

func (*GetTracesByParentFuncReq) String added in v1.1.0

func (x *GetTracesByParentFuncReq) String() string

type GetTreeGraphByGIDReply added in v1.1.2

type GetTreeGraphByGIDReply struct {
	Trees []*TreeNode `protobuf:"bytes,1,rep,name=trees,proto3" json:"trees,omitempty"` // 多棵树
	// contains filtered or unexported fields
}

根据GID获取树状图响应 - 返回多棵树

func (*GetTreeGraphByGIDReply) Descriptor deprecated added in v1.1.2

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

Deprecated: Use GetTreeGraphByGIDReply.ProtoReflect.Descriptor instead.

func (*GetTreeGraphByGIDReply) GetTrees added in v1.1.2

func (x *GetTreeGraphByGIDReply) GetTrees() []*TreeNode

func (*GetTreeGraphByGIDReply) ProtoMessage added in v1.1.2

func (*GetTreeGraphByGIDReply) ProtoMessage()

func (*GetTreeGraphByGIDReply) ProtoReflect added in v1.1.2

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

func (*GetTreeGraphByGIDReply) Reset added in v1.1.2

func (x *GetTreeGraphByGIDReply) Reset()

func (*GetTreeGraphByGIDReply) String added in v1.1.2

func (x *GetTreeGraphByGIDReply) String() string

type GetTreeGraphByGIDReq added in v1.1.2

type GetTreeGraphByGIDReq struct {
	DbPath string `protobuf:"bytes,1,opt,name=dbPath,proto3" json:"dbPath,omitempty"` // 数据库路径
	Gid    uint64 `protobuf:"varint,2,opt,name=gid,proto3" json:"gid,omitempty"`      // Goroutine ID
	// contains filtered or unexported fields
}

根据GID获取树状图请求

func (*GetTreeGraphByGIDReq) Descriptor deprecated added in v1.1.2

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

Deprecated: Use GetTreeGraphByGIDReq.ProtoReflect.Descriptor instead.

func (*GetTreeGraphByGIDReq) GetDbPath added in v1.1.2

func (x *GetTreeGraphByGIDReq) GetDbPath() string

func (*GetTreeGraphByGIDReq) GetGid added in v1.1.2

func (x *GetTreeGraphByGIDReq) GetGid() uint64

func (*GetTreeGraphByGIDReq) ProtoMessage added in v1.1.2

func (*GetTreeGraphByGIDReq) ProtoMessage()

func (*GetTreeGraphByGIDReq) ProtoReflect added in v1.1.2

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

func (*GetTreeGraphByGIDReq) Reset added in v1.1.2

func (x *GetTreeGraphByGIDReq) Reset()

func (*GetTreeGraphByGIDReq) String added in v1.1.2

func (x *GetTreeGraphByGIDReq) String() string

type GetTreeGraphReply added in v1.1.2

type GetTreeGraphReply struct {
	Trees []*TreeNode `protobuf:"bytes,1,rep,name=trees,proto3" json:"trees,omitempty"` // 多棵树
	// contains filtered or unexported fields
}

获取树状图响应

func (*GetTreeGraphReply) Descriptor deprecated added in v1.1.2

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

Deprecated: Use GetTreeGraphReply.ProtoReflect.Descriptor instead.

func (*GetTreeGraphReply) GetTrees added in v1.1.2

func (x *GetTreeGraphReply) GetTrees() []*TreeNode

func (*GetTreeGraphReply) ProtoMessage added in v1.1.2

func (*GetTreeGraphReply) ProtoMessage()

func (*GetTreeGraphReply) ProtoReflect added in v1.1.2

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

func (*GetTreeGraphReply) Reset added in v1.1.2

func (x *GetTreeGraphReply) Reset()

func (*GetTreeGraphReply) String added in v1.1.2

func (x *GetTreeGraphReply) String() string

type GetTreeGraphReq added in v1.1.2

type GetTreeGraphReq struct {
	DbPath       string `protobuf:"bytes,1,opt,name=dbPath,proto3" json:"dbPath,omitempty"`             // 数据库路径
	FunctionName string `protobuf:"bytes,2,opt,name=functionName,proto3" json:"functionName,omitempty"` // 函数名称
	ChainType    string `protobuf:"bytes,3,opt,name=chainType,proto3" json:"chainType,omitempty"`       // 链路类型: "upstream"(上游调用), "downstream"(下游调用), "full"(全链路)
	Depth        int32  `protobuf:"varint,4,opt,name=depth,proto3" json:"depth,omitempty"`              // 深度
	// contains filtered or unexported fields
}

获取树状图请求

func (*GetTreeGraphReq) Descriptor deprecated added in v1.1.2

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

Deprecated: Use GetTreeGraphReq.ProtoReflect.Descriptor instead.

func (*GetTreeGraphReq) GetChainType added in v1.1.2

func (x *GetTreeGraphReq) GetChainType() string

func (*GetTreeGraphReq) GetDbPath added in v1.1.2

func (x *GetTreeGraphReq) GetDbPath() string

func (*GetTreeGraphReq) GetDepth added in v1.1.3

func (x *GetTreeGraphReq) GetDepth() int32

func (*GetTreeGraphReq) GetFunctionName added in v1.1.2

func (x *GetTreeGraphReq) GetFunctionName() string

func (*GetTreeGraphReq) ProtoMessage added in v1.1.2

func (*GetTreeGraphReq) ProtoMessage()

func (*GetTreeGraphReq) ProtoReflect added in v1.1.2

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

func (*GetTreeGraphReq) Reset added in v1.1.2

func (x *GetTreeGraphReq) Reset()

func (*GetTreeGraphReq) String added in v1.1.2

func (x *GetTreeGraphReq) String() string

type GetUnfinishedFunctionsReply added in v1.1.1

type GetUnfinishedFunctionsReply struct {
	Functions []*GetUnfinishedFunctionsReply_UnfinishedFunction `protobuf:"bytes,1,rep,name=functions,proto3" json:"functions,omitempty"` // 未完成函数列表
	Total     int32                                             `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`        // 总数
	// contains filtered or unexported fields
}

GetUnfinishedFunctions 响应

func (*GetUnfinishedFunctionsReply) Descriptor deprecated added in v1.1.1

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

Deprecated: Use GetUnfinishedFunctionsReply.ProtoReflect.Descriptor instead.

func (*GetUnfinishedFunctionsReply) GetFunctions added in v1.1.1

func (*GetUnfinishedFunctionsReply) GetTotal added in v1.1.1

func (x *GetUnfinishedFunctionsReply) GetTotal() int32

func (*GetUnfinishedFunctionsReply) ProtoMessage added in v1.1.1

func (*GetUnfinishedFunctionsReply) ProtoMessage()

func (*GetUnfinishedFunctionsReply) ProtoReflect added in v1.1.1

func (*GetUnfinishedFunctionsReply) Reset added in v1.1.1

func (x *GetUnfinishedFunctionsReply) Reset()

func (*GetUnfinishedFunctionsReply) String added in v1.1.1

func (x *GetUnfinishedFunctionsReply) String() string

type GetUnfinishedFunctionsReply_UnfinishedFunction added in v1.1.1

type GetUnfinishedFunctionsReply_UnfinishedFunction struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`               // 函数名称
	Gid         uint64 `protobuf:"varint,2,opt,name=gid,proto3" json:"gid,omitempty"`                // goroutine ID
	RunningTime string `protobuf:"bytes,3,opt,name=runningTime,proto3" json:"runningTime,omitempty"` // 运行时间
	IsBlocking  bool   `protobuf:"varint,4,opt,name=isBlocking,proto3" json:"isBlocking,omitempty"`  // 是否阻塞
	FunctionId  int64  `protobuf:"varint,5,opt,name=functionId,proto3" json:"functionId,omitempty"`  // 函数ID
	// contains filtered or unexported fields
}

func (*GetUnfinishedFunctionsReply_UnfinishedFunction) Descriptor deprecated added in v1.1.1

Deprecated: Use GetUnfinishedFunctionsReply_UnfinishedFunction.ProtoReflect.Descriptor instead.

func (*GetUnfinishedFunctionsReply_UnfinishedFunction) GetFunctionId added in v1.1.1

func (*GetUnfinishedFunctionsReply_UnfinishedFunction) GetGid added in v1.1.1

func (*GetUnfinishedFunctionsReply_UnfinishedFunction) GetIsBlocking added in v1.1.1

func (*GetUnfinishedFunctionsReply_UnfinishedFunction) GetName added in v1.1.1

func (*GetUnfinishedFunctionsReply_UnfinishedFunction) GetRunningTime added in v1.1.1

func (*GetUnfinishedFunctionsReply_UnfinishedFunction) ProtoMessage added in v1.1.1

func (*GetUnfinishedFunctionsReply_UnfinishedFunction) ProtoReflect added in v1.1.1

func (*GetUnfinishedFunctionsReply_UnfinishedFunction) Reset added in v1.1.1

func (*GetUnfinishedFunctionsReply_UnfinishedFunction) String added in v1.1.1

type GetUnfinishedFunctionsReq added in v1.1.1

type GetUnfinishedFunctionsReq struct {
	Dbpath    string `protobuf:"bytes,1,opt,name=dbpath,proto3" json:"dbpath,omitempty"`        // 数据库路径
	Threshold int64  `protobuf:"varint,2,opt,name=threshold,proto3" json:"threshold,omitempty"` // 阻塞时间阈值(毫秒)
	Page      int32  `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`           // 当前页码
	Limit     int32  `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`         // 每页数量
	// contains filtered or unexported fields
}

GetUnfinishedFunctions 请求

func (*GetUnfinishedFunctionsReq) Descriptor deprecated added in v1.1.1

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

Deprecated: Use GetUnfinishedFunctionsReq.ProtoReflect.Descriptor instead.

func (*GetUnfinishedFunctionsReq) GetDbpath added in v1.1.1

func (x *GetUnfinishedFunctionsReq) GetDbpath() string

func (*GetUnfinishedFunctionsReq) GetLimit added in v1.1.1

func (x *GetUnfinishedFunctionsReq) GetLimit() int32

func (*GetUnfinishedFunctionsReq) GetPage added in v1.1.1

func (x *GetUnfinishedFunctionsReq) GetPage() int32

func (*GetUnfinishedFunctionsReq) GetThreshold added in v1.1.1

func (x *GetUnfinishedFunctionsReq) GetThreshold() int64

func (*GetUnfinishedFunctionsReq) ProtoMessage added in v1.1.1

func (*GetUnfinishedFunctionsReq) ProtoMessage()

func (*GetUnfinishedFunctionsReq) ProtoReflect added in v1.1.1

func (*GetUnfinishedFunctionsReq) Reset added in v1.1.1

func (x *GetUnfinishedFunctionsReq) Reset()

func (*GetUnfinishedFunctionsReq) String added in v1.1.1

func (x *GetUnfinishedFunctionsReq) String() string

type GraphEdge added in v1.0.1

type GraphEdge struct {
	Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	Label  string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
	Count  int32  `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` // 调用次数
	// contains filtered or unexported fields
}

func (*GraphEdge) Descriptor deprecated added in v1.0.1

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

Deprecated: Use GraphEdge.ProtoReflect.Descriptor instead.

func (*GraphEdge) GetCount added in v1.1.0

func (x *GraphEdge) GetCount() int32

func (*GraphEdge) GetLabel added in v1.0.1

func (x *GraphEdge) GetLabel() string

func (*GraphEdge) GetSource added in v1.0.1

func (x *GraphEdge) GetSource() string

func (*GraphEdge) GetTarget added in v1.0.1

func (x *GraphEdge) GetTarget() string

func (*GraphEdge) ProtoMessage added in v1.0.1

func (*GraphEdge) ProtoMessage()

func (*GraphEdge) ProtoReflect added in v1.0.1

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

func (*GraphEdge) Reset added in v1.0.1

func (x *GraphEdge) Reset()

func (*GraphEdge) String added in v1.0.1

func (x *GraphEdge) String() string

type GraphNode added in v1.0.1

type GraphNode struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	CallCount int32  `protobuf:"varint,3,opt,name=callCount,proto3" json:"callCount,omitempty"`
	Package   string `protobuf:"bytes,4,opt,name=package,proto3" json:"package,omitempty"`   // 包名
	TimeCost  string `protobuf:"bytes,5,opt,name=timeCost,proto3" json:"timeCost,omitempty"` // 执行耗时
	// contains filtered or unexported fields
}

func (*GraphNode) Descriptor deprecated added in v1.0.1

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

Deprecated: Use GraphNode.ProtoReflect.Descriptor instead.

func (*GraphNode) GetCallCount added in v1.0.1

func (x *GraphNode) GetCallCount() int32

func (*GraphNode) GetId added in v1.0.1

func (x *GraphNode) GetId() string

func (*GraphNode) GetName added in v1.0.1

func (x *GraphNode) GetName() string

func (*GraphNode) GetPackage added in v1.1.0

func (x *GraphNode) GetPackage() string

func (*GraphNode) GetTimeCost added in v1.1.0

func (x *GraphNode) GetTimeCost() string

func (*GraphNode) ProtoMessage added in v1.0.1

func (*GraphNode) ProtoMessage()

func (*GraphNode) ProtoReflect added in v1.0.1

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

func (*GraphNode) Reset added in v1.0.1

func (x *GraphNode) Reset()

func (*GraphNode) String added in v1.0.1

func (x *GraphNode) String() string

type HotFunction added in v1.1.0

type HotFunction struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	CallCount int32  `protobuf:"varint,2,opt,name=call_count,json=callCount,proto3" json:"call_count,omitempty"`
	// contains filtered or unexported fields
}

热点函数

func (*HotFunction) Descriptor deprecated added in v1.1.0

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

Deprecated: Use HotFunction.ProtoReflect.Descriptor instead.

func (*HotFunction) GetCallCount added in v1.1.0

func (x *HotFunction) GetCallCount() int32

func (*HotFunction) GetName added in v1.1.0

func (x *HotFunction) GetName() string

func (*HotFunction) ProtoMessage added in v1.1.0

func (*HotFunction) ProtoMessage()

func (*HotFunction) ProtoReflect added in v1.1.0

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

func (*HotFunction) Reset added in v1.1.0

func (x *HotFunction) Reset()

func (*HotFunction) String added in v1.1.0

func (x *HotFunction) String() string

type InstrumentProjectReply added in v1.1.0

type InstrumentProjectReply struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // 是否成功
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`  // 消息
	// contains filtered or unexported fields
}

插桩响应

func (*InstrumentProjectReply) Descriptor deprecated added in v1.1.0

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

Deprecated: Use InstrumentProjectReply.ProtoReflect.Descriptor instead.

func (*InstrumentProjectReply) GetMessage added in v1.1.0

func (x *InstrumentProjectReply) GetMessage() string

func (*InstrumentProjectReply) GetSuccess added in v1.1.0

func (x *InstrumentProjectReply) GetSuccess() bool

func (*InstrumentProjectReply) ProtoMessage added in v1.1.0

func (*InstrumentProjectReply) ProtoMessage()

func (*InstrumentProjectReply) ProtoReflect added in v1.1.0

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

func (*InstrumentProjectReply) Reset added in v1.1.0

func (x *InstrumentProjectReply) Reset()

func (*InstrumentProjectReply) String added in v1.1.0

func (x *InstrumentProjectReply) String() string

type InstrumentProjectReq added in v1.1.0

type InstrumentProjectReq struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // 项目路径
	// contains filtered or unexported fields
}

插桩请求

func (*InstrumentProjectReq) Descriptor deprecated added in v1.1.0

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

Deprecated: Use InstrumentProjectReq.ProtoReflect.Descriptor instead.

func (*InstrumentProjectReq) GetPath added in v1.1.0

func (x *InstrumentProjectReq) GetPath() string

func (*InstrumentProjectReq) ProtoMessage added in v1.1.0

func (*InstrumentProjectReq) ProtoMessage()

func (*InstrumentProjectReq) ProtoReflect added in v1.1.0

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

func (*InstrumentProjectReq) Reset added in v1.1.0

func (x *InstrumentProjectReq) Reset()

func (*InstrumentProjectReq) String added in v1.1.0

func (x *InstrumentProjectReq) String() string

type PackageDependency added in v1.1.0

type PackageDependency struct {
	Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	Count  int32  `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

包依赖关系

func (*PackageDependency) Descriptor deprecated added in v1.1.0

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

Deprecated: Use PackageDependency.ProtoReflect.Descriptor instead.

func (*PackageDependency) GetCount added in v1.1.0

func (x *PackageDependency) GetCount() int32

func (*PackageDependency) GetSource added in v1.1.0

func (x *PackageDependency) GetSource() string

func (*PackageDependency) GetTarget added in v1.1.0

func (x *PackageDependency) GetTarget() string

func (*PackageDependency) ProtoMessage added in v1.1.0

func (*PackageDependency) ProtoMessage()

func (*PackageDependency) ProtoReflect added in v1.1.0

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

func (*PackageDependency) Reset added in v1.1.0

func (x *PackageDependency) Reset()

func (*PackageDependency) String added in v1.1.0

func (x *PackageDependency) String() string

type PerformanceAnomaly added in v1.1.2

type PerformanceAnomaly struct {
	Name        string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`               // 函数名称
	Package     string            `protobuf:"bytes,2,opt,name=package,proto3" json:"package,omitempty"`         // 包名
	AnomalyType string            `protobuf:"bytes,3,opt,name=anomalyType,proto3" json:"anomalyType,omitempty"` // 异常类型: "time_variance"(时间波动), "depth_anomaly"(调用深度异常), "frequency_anomaly"(调用频率异常)
	Description string            `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // 异常描述
	Severity    float64           `protobuf:"fixed64,5,opt,name=severity,proto3" json:"severity,omitempty"`     // 严重程度 (0.0-1.0)
	Details     map[string]string ``                                                                            // 详细信息
	/* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

性能异常信息

func (*PerformanceAnomaly) Descriptor deprecated added in v1.1.2

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

Deprecated: Use PerformanceAnomaly.ProtoReflect.Descriptor instead.

func (*PerformanceAnomaly) GetAnomalyType added in v1.1.2

func (x *PerformanceAnomaly) GetAnomalyType() string

func (*PerformanceAnomaly) GetDescription added in v1.1.2

func (x *PerformanceAnomaly) GetDescription() string

func (*PerformanceAnomaly) GetDetails added in v1.1.2

func (x *PerformanceAnomaly) GetDetails() map[string]string

func (*PerformanceAnomaly) GetName added in v1.1.2

func (x *PerformanceAnomaly) GetName() string

func (*PerformanceAnomaly) GetPackage added in v1.1.2

func (x *PerformanceAnomaly) GetPackage() string

func (*PerformanceAnomaly) GetSeverity added in v1.1.2

func (x *PerformanceAnomaly) GetSeverity() float64

func (*PerformanceAnomaly) ProtoMessage added in v1.1.2

func (*PerformanceAnomaly) ProtoMessage()

func (*PerformanceAnomaly) ProtoReflect added in v1.1.2

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

func (*PerformanceAnomaly) Reset added in v1.1.2

func (x *PerformanceAnomaly) Reset()

func (*PerformanceAnomaly) String added in v1.1.2

func (x *PerformanceAnomaly) String() string

type SearchFunctionsReply added in v1.1.3

type SearchFunctionsReply struct {
	Functions []*SearchFunctionsReply_FunctionInfo `protobuf:"bytes,1,rep,name=functions,proto3" json:"functions,omitempty"` // 搜索到的函数列表
	Total     int32                                `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`        // 总匹配数量
	// contains filtered or unexported fields
}

函数搜索结果

func (*SearchFunctionsReply) Descriptor deprecated added in v1.1.3

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

Deprecated: Use SearchFunctionsReply.ProtoReflect.Descriptor instead.

func (*SearchFunctionsReply) GetFunctions added in v1.1.3

func (*SearchFunctionsReply) GetTotal added in v1.1.3

func (x *SearchFunctionsReply) GetTotal() int32

func (*SearchFunctionsReply) ProtoMessage added in v1.1.3

func (*SearchFunctionsReply) ProtoMessage()

func (*SearchFunctionsReply) ProtoReflect added in v1.1.3

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

func (*SearchFunctionsReply) Reset added in v1.1.3

func (x *SearchFunctionsReply) Reset()

func (*SearchFunctionsReply) String added in v1.1.3

func (x *SearchFunctionsReply) String() string

type SearchFunctionsReply_FunctionInfo added in v1.1.3

type SearchFunctionsReply_FunctionInfo struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`            // 函数名称
	Package   string `protobuf:"bytes,2,opt,name=package,proto3" json:"package,omitempty"`      // 包名
	CallCount int32  `protobuf:"varint,3,opt,name=callCount,proto3" json:"callCount,omitempty"` // 调用次数
	AvgTime   string `protobuf:"bytes,4,opt,name=avgTime,proto3" json:"avgTime,omitempty"`      // 平均执行时间
	// contains filtered or unexported fields
}

func (*SearchFunctionsReply_FunctionInfo) Descriptor deprecated added in v1.1.3

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

Deprecated: Use SearchFunctionsReply_FunctionInfo.ProtoReflect.Descriptor instead.

func (*SearchFunctionsReply_FunctionInfo) GetAvgTime added in v1.1.3

func (x *SearchFunctionsReply_FunctionInfo) GetAvgTime() string

func (*SearchFunctionsReply_FunctionInfo) GetCallCount added in v1.1.3

func (x *SearchFunctionsReply_FunctionInfo) GetCallCount() int32

func (*SearchFunctionsReply_FunctionInfo) GetName added in v1.1.3

func (*SearchFunctionsReply_FunctionInfo) GetPackage added in v1.1.3

func (x *SearchFunctionsReply_FunctionInfo) GetPackage() string

func (*SearchFunctionsReply_FunctionInfo) ProtoMessage added in v1.1.3

func (*SearchFunctionsReply_FunctionInfo) ProtoMessage()

func (*SearchFunctionsReply_FunctionInfo) ProtoReflect added in v1.1.3

func (*SearchFunctionsReply_FunctionInfo) Reset added in v1.1.3

func (*SearchFunctionsReply_FunctionInfo) String added in v1.1.3

type SearchFunctionsReq added in v1.1.3

type SearchFunctionsReq struct {
	Dbpath string `protobuf:"bytes,1,opt,name=dbpath,proto3" json:"dbpath,omitempty"` // 项目路径
	Query  string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`   // 搜索关键词
	Limit  int32  `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`  // 返回结果数量限制
	// contains filtered or unexported fields
}

搜索函数请求

func (*SearchFunctionsReq) Descriptor deprecated added in v1.1.3

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

Deprecated: Use SearchFunctionsReq.ProtoReflect.Descriptor instead.

func (*SearchFunctionsReq) GetDbpath added in v1.1.3

func (x *SearchFunctionsReq) GetDbpath() string

func (*SearchFunctionsReq) GetLimit added in v1.1.3

func (x *SearchFunctionsReq) GetLimit() int32

func (*SearchFunctionsReq) GetQuery added in v1.1.3

func (x *SearchFunctionsReq) GetQuery() string

func (*SearchFunctionsReq) ProtoMessage added in v1.1.3

func (*SearchFunctionsReq) ProtoMessage()

func (*SearchFunctionsReq) ProtoReflect added in v1.1.3

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

func (*SearchFunctionsReq) Reset added in v1.1.3

func (x *SearchFunctionsReq) Reset()

func (*SearchFunctionsReq) String added in v1.1.3

func (x *SearchFunctionsReq) String() string

type TraceParams

type TraceParams struct {
	Pos   int32  `protobuf:"varint,1,opt,name=pos,proto3" json:"pos,omitempty"`
	Param string `protobuf:"bytes,2,opt,name=param,proto3" json:"param,omitempty"`
	// contains filtered or unexported fields
}

func (*TraceParams) Descriptor deprecated

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

Deprecated: Use TraceParams.ProtoReflect.Descriptor instead.

func (*TraceParams) GetParam

func (x *TraceParams) GetParam() string

func (*TraceParams) GetPos

func (x *TraceParams) GetPos() int32

func (*TraceParams) ProtoMessage

func (*TraceParams) ProtoMessage()

func (*TraceParams) ProtoReflect

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

func (*TraceParams) Reset

func (x *TraceParams) Reset()

func (*TraceParams) String

func (x *TraceParams) String() string

type TreeNode added in v1.1.2

type TreeNode struct {
	Name      string      `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`            // 节点名称
	Value     int64       `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`         // 值,只在tooltip中显示
	Collapsed bool        `protobuf:"varint,3,opt,name=collapsed,proto3" json:"collapsed,omitempty"` // 是否默认折叠
	Children  []*TreeNode `protobuf:"bytes,4,rep,name=children,proto3" json:"children,omitempty"`    // 子节点
	// contains filtered or unexported fields
}

树状图节点

func (*TreeNode) Descriptor deprecated added in v1.1.2

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

Deprecated: Use TreeNode.ProtoReflect.Descriptor instead.

func (*TreeNode) GetChildren added in v1.1.2

func (x *TreeNode) GetChildren() []*TreeNode

func (*TreeNode) GetCollapsed added in v1.1.2

func (x *TreeNode) GetCollapsed() bool

func (*TreeNode) GetName added in v1.1.2

func (x *TreeNode) GetName() string

func (*TreeNode) GetValue added in v1.1.2

func (x *TreeNode) GetValue() int64

func (*TreeNode) ProtoMessage added in v1.1.2

func (*TreeNode) ProtoMessage()

func (*TreeNode) ProtoReflect added in v1.1.2

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

func (*TreeNode) Reset added in v1.1.2

func (x *TreeNode) Reset()

func (*TreeNode) String added in v1.1.2

func (x *TreeNode) String() string

type UnimplementedAnalysisServer

type UnimplementedAnalysisServer struct {
}

UnimplementedAnalysisServer must be embedded to have forward compatible implementations.

func (UnimplementedAnalysisServer) GetAllFunctionName

func (UnimplementedAnalysisServer) GetAllGIDs

func (UnimplementedAnalysisServer) GetAnalysis

func (UnimplementedAnalysisServer) GetAnalysisByGID

func (UnimplementedAnalysisServer) GetChildFunctions added in v1.1.0

func (UnimplementedAnalysisServer) GetFunctionAnalysis added in v1.1.0

func (UnimplementedAnalysisServer) GetFunctionCallStats added in v1.1.2

func (UnimplementedAnalysisServer) GetGidsByFunctionName

func (UnimplementedAnalysisServer) GetGoroutineStats added in v1.1.0

func (UnimplementedAnalysisServer) GetHotFunctions added in v1.1.0

func (UnimplementedAnalysisServer) GetParamsByID

func (UnimplementedAnalysisServer) GetParentFunctions added in v1.1.3

func (UnimplementedAnalysisServer) GetPerformanceAnomalies added in v1.1.2

func (UnimplementedAnalysisServer) GetTracesByParentFunc added in v1.1.0

func (UnimplementedAnalysisServer) GetTreeGraph added in v1.1.2

func (UnimplementedAnalysisServer) GetTreeGraphByGID added in v1.1.2

func (UnimplementedAnalysisServer) GetUnfinishedFunctions added in v1.1.1

func (UnimplementedAnalysisServer) InstrumentProject added in v1.1.0

func (UnimplementedAnalysisServer) SearchFunctions added in v1.1.3

func (UnimplementedAnalysisServer) VerifyProjectPath added in v1.0.1

type UnsafeAnalysisServer

type UnsafeAnalysisServer interface {
	// contains filtered or unexported methods
}

UnsafeAnalysisServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AnalysisServer will result in compilation errors.

type VerifyProjectPathReply added in v1.0.1

type VerifyProjectPathReply struct {
	Verified bool `protobuf:"varint,1,opt,name=verified,proto3" json:"verified,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyProjectPathReply) Descriptor deprecated added in v1.0.1

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

Deprecated: Use VerifyProjectPathReply.ProtoReflect.Descriptor instead.

func (*VerifyProjectPathReply) GetVerified added in v1.0.1

func (x *VerifyProjectPathReply) GetVerified() bool

func (*VerifyProjectPathReply) ProtoMessage added in v1.0.1

func (*VerifyProjectPathReply) ProtoMessage()

func (*VerifyProjectPathReply) ProtoReflect added in v1.0.1

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

func (*VerifyProjectPathReply) Reset added in v1.0.1

func (x *VerifyProjectPathReply) Reset()

func (*VerifyProjectPathReply) String added in v1.0.1

func (x *VerifyProjectPathReply) String() string

type VerifyProjectPathReq added in v1.0.1

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

func (*VerifyProjectPathReq) Descriptor deprecated added in v1.0.1

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

Deprecated: Use VerifyProjectPathReq.ProtoReflect.Descriptor instead.

func (*VerifyProjectPathReq) GetPath added in v1.0.1

func (x *VerifyProjectPathReq) GetPath() string

func (*VerifyProjectPathReq) ProtoMessage added in v1.0.1

func (*VerifyProjectPathReq) ProtoMessage()

func (*VerifyProjectPathReq) ProtoReflect added in v1.0.1

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

func (*VerifyProjectPathReq) Reset added in v1.0.1

func (x *VerifyProjectPathReq) Reset()

func (*VerifyProjectPathReq) String added in v1.0.1

func (x *VerifyProjectPathReq) String() string

Jump to

Keyboard shortcuts

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