compat

package
v0.0.0-...-6cb6b35 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_browser_BrowserPerfCompat_proto protoreflect.FileDescriptor
View Source
var File_language_agent_CLRMetricCompat_proto protoreflect.FileDescriptor
View Source
var File_language_agent_JVMMetricCompat_proto protoreflect.FileDescriptor
View Source
var File_language_agent_MeterCompat_proto protoreflect.FileDescriptor
View Source
var File_language_agent_TracingCompat_proto protoreflect.FileDescriptor

Functions

func RegisterBrowserPerfServiceServer

func RegisterBrowserPerfServiceServer(s grpc.ServiceRegistrar, srv BrowserPerfServiceServer)

func RegisterCLRMetricReportServiceServer

func RegisterCLRMetricReportServiceServer(s grpc.ServiceRegistrar, srv CLRMetricReportServiceServer)

func RegisterJVMMetricReportServiceServer

func RegisterJVMMetricReportServiceServer(s grpc.ServiceRegistrar, srv JVMMetricReportServiceServer)

func RegisterMeterReportServiceServer

func RegisterMeterReportServiceServer(s grpc.ServiceRegistrar, srv MeterReportServiceServer)

func RegisterTraceSegmentReportServiceServer

func RegisterTraceSegmentReportServiceServer(s grpc.ServiceRegistrar, srv TraceSegmentReportServiceServer)

Types

type BrowserPerfServiceClient

type BrowserPerfServiceClient interface {
	// report once per page
	CollectPerfData(ctx context.Context, in *v3.BrowserPerfData, opts ...grpc.CallOption) (*v31.Commands, error)
	// report one or more error logs for pages, could report multiple times.
	CollectErrorLogs(ctx context.Context, opts ...grpc.CallOption) (BrowserPerfService_CollectErrorLogsClient, error)
}

BrowserPerfServiceClient is the client API for BrowserPerfService 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.

type BrowserPerfServiceServer

type BrowserPerfServiceServer interface {
	// report once per page
	CollectPerfData(context.Context, *v3.BrowserPerfData) (*v31.Commands, error)
	// report one or more error logs for pages, could report multiple times.
	CollectErrorLogs(BrowserPerfService_CollectErrorLogsServer) error
	// contains filtered or unexported methods
}

BrowserPerfServiceServer is the server API for BrowserPerfService service. All implementations must embed UnimplementedBrowserPerfServiceServer for forward compatibility

type BrowserPerfService_CollectErrorLogsClient

type BrowserPerfService_CollectErrorLogsClient interface {
	Send(*v3.BrowserErrorLog) error
	CloseAndRecv() (*v31.Commands, error)
	grpc.ClientStream
}

type BrowserPerfService_CollectErrorLogsServer

type BrowserPerfService_CollectErrorLogsServer interface {
	SendAndClose(*v31.Commands) error
	Recv() (*v3.BrowserErrorLog, error)
	grpc.ServerStream
}

type CLRMetricReportServiceClient

type CLRMetricReportServiceClient interface {
	Collect(ctx context.Context, in *v3.CLRMetricCollection, opts ...grpc.CallOption) (*v31.Commands, error)
}

CLRMetricReportServiceClient is the client API for CLRMetricReportService 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.

type CLRMetricReportServiceServer

type CLRMetricReportServiceServer interface {
	Collect(context.Context, *v3.CLRMetricCollection) (*v31.Commands, error)
	// contains filtered or unexported methods
}

CLRMetricReportServiceServer is the server API for CLRMetricReportService service. All implementations must embed UnimplementedCLRMetricReportServiceServer for forward compatibility

type JVMMetricReportServiceClient

type JVMMetricReportServiceClient interface {
	Collect(ctx context.Context, in *v3.JVMMetricCollection, opts ...grpc.CallOption) (*v31.Commands, error)
}

JVMMetricReportServiceClient is the client API for JVMMetricReportService 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.

type JVMMetricReportServiceServer

type JVMMetricReportServiceServer interface {
	Collect(context.Context, *v3.JVMMetricCollection) (*v31.Commands, error)
	// contains filtered or unexported methods
}

JVMMetricReportServiceServer is the server API for JVMMetricReportService service. All implementations must embed UnimplementedJVMMetricReportServiceServer for forward compatibility

type MeterReportServiceClient

type MeterReportServiceClient interface {
	// Meter data is reported in a certain period. The agent/SDK should report all
	// collected metrics in this period through one stream.
	Collect(ctx context.Context, opts ...grpc.CallOption) (MeterReportService_CollectClient, error)
}

MeterReportServiceClient is the client API for MeterReportService 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.

type MeterReportServiceServer

type MeterReportServiceServer interface {
	// Meter data is reported in a certain period. The agent/SDK should report all
	// collected metrics in this period through one stream.
	Collect(MeterReportService_CollectServer) error
	// contains filtered or unexported methods
}

MeterReportServiceServer is the server API for MeterReportService service. All implementations must embed UnimplementedMeterReportServiceServer for forward compatibility

type MeterReportService_CollectClient

type MeterReportService_CollectClient interface {
	Send(*v3.MeterData) error
	CloseAndRecv() (*v31.Commands, error)
	grpc.ClientStream
}

type MeterReportService_CollectServer

type MeterReportService_CollectServer interface {
	SendAndClose(*v31.Commands) error
	Recv() (*v3.MeterData, error)
	grpc.ServerStream
}

type TraceSegmentReportServiceClient

type TraceSegmentReportServiceClient interface {
	// Recommended trace segment report channel.
	// gRPC streaming provides better performance.
	// All language agents should choose this.
	Collect(ctx context.Context, opts ...grpc.CallOption) (TraceSegmentReportService_CollectClient, error)
	// An alternative for trace report by using gRPC unary
	// This is provided for some 3rd-party integration, if and only if they prefer
	// the unary mode somehow. The performance of SkyWalking OAP server would be
	// very similar with streaming report, the performance of the network and
	// client side are affected
	CollectInSync(ctx context.Context, in *v3.SegmentCollection, opts ...grpc.CallOption) (*v31.Commands, error)
}

TraceSegmentReportServiceClient is the client API for TraceSegmentReportService 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.

type TraceSegmentReportServiceServer

type TraceSegmentReportServiceServer interface {
	// Recommended trace segment report channel.
	// gRPC streaming provides better performance.
	// All language agents should choose this.
	Collect(TraceSegmentReportService_CollectServer) error
	// An alternative for trace report by using gRPC unary
	// This is provided for some 3rd-party integration, if and only if they prefer
	// the unary mode somehow. The performance of SkyWalking OAP server would be
	// very similar with streaming report, the performance of the network and
	// client side are affected
	CollectInSync(context.Context, *v3.SegmentCollection) (*v31.Commands, error)
	// contains filtered or unexported methods
}

TraceSegmentReportServiceServer is the server API for TraceSegmentReportService service. All implementations must embed UnimplementedTraceSegmentReportServiceServer for forward compatibility

type TraceSegmentReportService_CollectClient

type TraceSegmentReportService_CollectClient interface {
	Send(*v3.SegmentObject) error
	CloseAndRecv() (*v31.Commands, error)
	grpc.ClientStream
}

type TraceSegmentReportService_CollectServer

type TraceSegmentReportService_CollectServer interface {
	SendAndClose(*v31.Commands) error
	Recv() (*v3.SegmentObject, error)
	grpc.ServerStream
}

type UnimplementedBrowserPerfServiceServer

type UnimplementedBrowserPerfServiceServer struct {
}

UnimplementedBrowserPerfServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedBrowserPerfServiceServer) CollectErrorLogs

func (UnimplementedBrowserPerfServiceServer) CollectPerfData

type UnimplementedCLRMetricReportServiceServer

type UnimplementedCLRMetricReportServiceServer struct {
}

UnimplementedCLRMetricReportServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedCLRMetricReportServiceServer) Collect

type UnimplementedJVMMetricReportServiceServer

type UnimplementedJVMMetricReportServiceServer struct {
}

UnimplementedJVMMetricReportServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedJVMMetricReportServiceServer) Collect

type UnimplementedMeterReportServiceServer

type UnimplementedMeterReportServiceServer struct {
}

UnimplementedMeterReportServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedMeterReportServiceServer) Collect

type UnimplementedTraceSegmentReportServiceServer

type UnimplementedTraceSegmentReportServiceServer struct {
}

UnimplementedTraceSegmentReportServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedTraceSegmentReportServiceServer) Collect

func (UnimplementedTraceSegmentReportServiceServer) CollectInSync

type UnsafeBrowserPerfServiceServer

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

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

type UnsafeCLRMetricReportServiceServer

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

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

type UnsafeJVMMetricReportServiceServer

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

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

type UnsafeMeterReportServiceServer

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

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

type UnsafeTraceSegmentReportServiceServer

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

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

Jump to

Keyboard shortcuts

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