Documentation ¶
Index ¶
- Variables
- func RegisterBrowserPerfServiceServer(s grpc.ServiceRegistrar, srv BrowserPerfServiceServer)
- func RegisterCLRMetricReportServiceServer(s grpc.ServiceRegistrar, srv CLRMetricReportServiceServer)
- func RegisterJVMMetricReportServiceServer(s grpc.ServiceRegistrar, srv JVMMetricReportServiceServer)
- func RegisterMeterReportServiceServer(s grpc.ServiceRegistrar, srv MeterReportServiceServer)
- func RegisterTraceSegmentReportServiceServer(s grpc.ServiceRegistrar, srv TraceSegmentReportServiceServer)
- type BrowserPerfServiceClient
- type BrowserPerfServiceServer
- type BrowserPerfService_CollectErrorLogsClient
- type BrowserPerfService_CollectErrorLogsServer
- type CLRMetricReportServiceClient
- type CLRMetricReportServiceServer
- type JVMMetricReportServiceClient
- type JVMMetricReportServiceServer
- type MeterReportServiceClient
- type MeterReportServiceServer
- type MeterReportService_CollectClient
- type MeterReportService_CollectServer
- type TraceSegmentReportServiceClient
- type TraceSegmentReportServiceServer
- type TraceSegmentReportService_CollectClient
- type TraceSegmentReportService_CollectServer
- type UnimplementedBrowserPerfServiceServer
- type UnimplementedCLRMetricReportServiceServer
- type UnimplementedJVMMetricReportServiceServer
- type UnimplementedMeterReportServiceServer
- type UnimplementedTraceSegmentReportServiceServer
- type UnsafeBrowserPerfServiceServer
- type UnsafeCLRMetricReportServiceServer
- type UnsafeJVMMetricReportServiceServer
- type UnsafeMeterReportServiceServer
- type UnsafeTraceSegmentReportServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_browser_BrowserPerfCompat_proto protoreflect.FileDescriptor
var File_language_agent_CLRMetricCompat_proto protoreflect.FileDescriptor
var File_language_agent_JVMMetricCompat_proto protoreflect.FileDescriptor
var File_language_agent_MeterCompat_proto protoreflect.FileDescriptor
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.
func NewBrowserPerfServiceClient ¶
func NewBrowserPerfServiceClient(cc grpc.ClientConnInterface) BrowserPerfServiceClient
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.
func NewCLRMetricReportServiceClient ¶
func NewCLRMetricReportServiceClient(cc grpc.ClientConnInterface) CLRMetricReportServiceClient
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.
func NewJVMMetricReportServiceClient ¶
func NewJVMMetricReportServiceClient(cc grpc.ClientConnInterface) JVMMetricReportServiceClient
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.
func NewMeterReportServiceClient ¶
func NewMeterReportServiceClient(cc grpc.ClientConnInterface) MeterReportServiceClient
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 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.
func NewTraceSegmentReportServiceClient ¶
func NewTraceSegmentReportServiceClient(cc grpc.ClientConnInterface) TraceSegmentReportServiceClient
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) CollectErrorLogs(BrowserPerfService_CollectErrorLogsServer) error
func (UnimplementedBrowserPerfServiceServer) CollectPerfData ¶
func (UnimplementedBrowserPerfServiceServer) CollectPerfData(context.Context, *v3.BrowserPerfData) (*v31.Commands, error)
type UnimplementedCLRMetricReportServiceServer ¶
type UnimplementedCLRMetricReportServiceServer struct { }
UnimplementedCLRMetricReportServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCLRMetricReportServiceServer) Collect ¶
func (UnimplementedCLRMetricReportServiceServer) Collect(context.Context, *v3.CLRMetricCollection) (*v31.Commands, error)
type UnimplementedJVMMetricReportServiceServer ¶
type UnimplementedJVMMetricReportServiceServer struct { }
UnimplementedJVMMetricReportServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedJVMMetricReportServiceServer) Collect ¶
func (UnimplementedJVMMetricReportServiceServer) Collect(context.Context, *v3.JVMMetricCollection) (*v31.Commands, error)
type UnimplementedMeterReportServiceServer ¶
type UnimplementedMeterReportServiceServer struct { }
UnimplementedMeterReportServiceServer must be embedded to have forward compatible implementations.
type UnimplementedTraceSegmentReportServiceServer ¶
type UnimplementedTraceSegmentReportServiceServer struct { }
UnimplementedTraceSegmentReportServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedTraceSegmentReportServiceServer) CollectInSync ¶
func (UnimplementedTraceSegmentReportServiceServer) CollectInSync(context.Context, *v3.SegmentCollection) (*v31.Commands, error)
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.