Versions in this module Expand all Collapse all v1 v1.0.2 Mar 22, 2024 v1.0.1 Nov 9, 2023 Changes in this version + const SamplerService_DelSampler_FullMethodName + const SamplerService_GetSamplerV2_FullMethodName + const SamplerService_GetSampler_FullMethodName + const SamplerService_JudgeSampler_FullMethodName + const SamplerService_SetSamplerV2_FullMethodName + const SamplerService_SetSampler_FullMethodName + var File_opentelemetry_ext_proto_sampler_sampler_proto protoreflect.FileDescriptor + var SamplerService_ServiceDesc = grpc.ServiceDesc + func RegisterSamplerServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterSamplerServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SamplerServiceClient) error + func RegisterSamplerServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterSamplerServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SamplerServiceServer) error + func RegisterSamplerServiceServer(s grpc.ServiceRegistrar, srv SamplerServiceServer) + type DelSamplerRequest struct + Key string + Value string + func (*DelSamplerRequest) Descriptor() ([]byte, []int) + func (*DelSamplerRequest) ProtoMessage() + func (x *DelSamplerRequest) GetKey() string + func (x *DelSamplerRequest) GetValue() string + func (x *DelSamplerRequest) ProtoReflect() protoreflect.Message + func (x *DelSamplerRequest) Reset() + func (x *DelSamplerRequest) String() string + type DelSamplerResponse struct + func (*DelSamplerResponse) Descriptor() ([]byte, []int) + func (*DelSamplerResponse) ProtoMessage() + func (x *DelSamplerResponse) ProtoReflect() protoreflect.Message + func (x *DelSamplerResponse) Reset() + func (x *DelSamplerResponse) String() string + type GetSamplerRequest struct + func (*GetSamplerRequest) Descriptor() ([]byte, []int) + func (*GetSamplerRequest) ProtoMessage() + func (x *GetSamplerRequest) ProtoReflect() protoreflect.Message + func (x *GetSamplerRequest) Reset() + func (x *GetSamplerRequest) String() string + type GetSamplerResponse struct + Attributes []*KeyValues + func (*GetSamplerResponse) Descriptor() ([]byte, []int) + func (*GetSamplerResponse) ProtoMessage() + func (x *GetSamplerResponse) GetAttributes() []*KeyValues + func (x *GetSamplerResponse) ProtoReflect() protoreflect.Message + func (x *GetSamplerResponse) Reset() + func (x *GetSamplerResponse) String() string + type GetSamplerV2Request struct + func (*GetSamplerV2Request) Descriptor() ([]byte, []int) + func (*GetSamplerV2Request) ProtoMessage() + func (x *GetSamplerV2Request) ProtoReflect() protoreflect.Message + func (x *GetSamplerV2Request) Reset() + func (x *GetSamplerV2Request) String() string + type GetSamplerV2Response struct + Attributes []*KeyValue + func (*GetSamplerV2Response) Descriptor() ([]byte, []int) + func (*GetSamplerV2Response) ProtoMessage() + func (x *GetSamplerV2Response) GetAttributes() []*KeyValue + func (x *GetSamplerV2Response) ProtoReflect() protoreflect.Message + func (x *GetSamplerV2Response) Reset() + func (x *GetSamplerV2Response) String() string + type JudgeSamplerRequest struct + Key string + Value string + func (*JudgeSamplerRequest) Descriptor() ([]byte, []int) + func (*JudgeSamplerRequest) ProtoMessage() + func (x *JudgeSamplerRequest) GetKey() string + func (x *JudgeSamplerRequest) GetValue() string + func (x *JudgeSamplerRequest) ProtoReflect() protoreflect.Message + func (x *JudgeSamplerRequest) Reset() + func (x *JudgeSamplerRequest) String() string + type JudgeSamplerResponse struct + Deadline int64 + Sampled bool + func (*JudgeSamplerResponse) Descriptor() ([]byte, []int) + func (*JudgeSamplerResponse) ProtoMessage() + func (x *JudgeSamplerResponse) GetDeadline() int64 + func (x *JudgeSamplerResponse) GetSampled() bool + func (x *JudgeSamplerResponse) ProtoReflect() protoreflect.Message + func (x *JudgeSamplerResponse) Reset() + func (x *JudgeSamplerResponse) String() string + type KeyValue struct + Comment string + Deadline int64 + Key string + Sampled bool + Value string + func (*KeyValue) Descriptor() ([]byte, []int) + func (*KeyValue) ProtoMessage() + func (x *KeyValue) GetComment() string + func (x *KeyValue) GetDeadline() int64 + func (x *KeyValue) GetKey() string + func (x *KeyValue) GetSampled() bool + func (x *KeyValue) GetValue() string + func (x *KeyValue) ProtoReflect() protoreflect.Message + func (x *KeyValue) Reset() + func (x *KeyValue) String() string + type KeyValues struct + Key string + Values []string + func (*KeyValues) Descriptor() ([]byte, []int) + func (*KeyValues) ProtoMessage() + func (x *KeyValues) GetKey() string + func (x *KeyValues) GetValues() []string + func (x *KeyValues) ProtoReflect() protoreflect.Message + func (x *KeyValues) Reset() + func (x *KeyValues) String() string + type SamplerServiceClient interface + DelSampler func(ctx context.Context, in *DelSamplerRequest, opts ...grpc.CallOption) (*DelSamplerResponse, error) + GetSampler func(ctx context.Context, in *GetSamplerRequest, opts ...grpc.CallOption) (*GetSamplerResponse, error) + GetSamplerV2 func(ctx context.Context, in *GetSamplerV2Request, opts ...grpc.CallOption) (*GetSamplerV2Response, error) + JudgeSampler func(ctx context.Context, in *JudgeSamplerRequest, opts ...grpc.CallOption) (*JudgeSamplerResponse, error) + SetSampler func(ctx context.Context, in *SetSamplerRequest, opts ...grpc.CallOption) (*SetSamplerResponse, error) + SetSamplerV2 func(ctx context.Context, in *SetSamplerV2Request, opts ...grpc.CallOption) (*SetSamplerV2Response, error) + func NewSamplerServiceClient(cc grpc.ClientConnInterface) SamplerServiceClient + type SamplerServiceServer interface + DelSampler func(context.Context, *DelSamplerRequest) (*DelSamplerResponse, error) + GetSampler func(context.Context, *GetSamplerRequest) (*GetSamplerResponse, error) + GetSamplerV2 func(context.Context, *GetSamplerV2Request) (*GetSamplerV2Response, error) + JudgeSampler func(context.Context, *JudgeSamplerRequest) (*JudgeSamplerResponse, error) + SetSampler func(context.Context, *SetSamplerRequest) (*SetSamplerResponse, error) + SetSamplerV2 func(context.Context, *SetSamplerV2Request) (*SetSamplerV2Response, error) + type SetSamplerRequest struct + Attributes []*KeyValues + func (*SetSamplerRequest) Descriptor() ([]byte, []int) + func (*SetSamplerRequest) ProtoMessage() + func (x *SetSamplerRequest) GetAttributes() []*KeyValues + func (x *SetSamplerRequest) ProtoReflect() protoreflect.Message + func (x *SetSamplerRequest) Reset() + func (x *SetSamplerRequest) String() string + type SetSamplerResponse struct + func (*SetSamplerResponse) Descriptor() ([]byte, []int) + func (*SetSamplerResponse) ProtoMessage() + func (x *SetSamplerResponse) ProtoReflect() protoreflect.Message + func (x *SetSamplerResponse) Reset() + func (x *SetSamplerResponse) String() string + type SetSamplerV2Request struct + Attributes []*KeyValue + func (*SetSamplerV2Request) Descriptor() ([]byte, []int) + func (*SetSamplerV2Request) ProtoMessage() + func (x *SetSamplerV2Request) GetAttributes() []*KeyValue + func (x *SetSamplerV2Request) ProtoReflect() protoreflect.Message + func (x *SetSamplerV2Request) Reset() + func (x *SetSamplerV2Request) String() string + type SetSamplerV2Response struct + func (*SetSamplerV2Response) Descriptor() ([]byte, []int) + func (*SetSamplerV2Response) ProtoMessage() + func (x *SetSamplerV2Response) ProtoReflect() protoreflect.Message + func (x *SetSamplerV2Response) Reset() + func (x *SetSamplerV2Response) String() string + type UnimplementedSamplerServiceServer struct + func (UnimplementedSamplerServiceServer) DelSampler(context.Context, *DelSamplerRequest) (*DelSamplerResponse, error) + func (UnimplementedSamplerServiceServer) GetSampler(context.Context, *GetSamplerRequest) (*GetSamplerResponse, error) + func (UnimplementedSamplerServiceServer) GetSamplerV2(context.Context, *GetSamplerV2Request) (*GetSamplerV2Response, error) + func (UnimplementedSamplerServiceServer) JudgeSampler(context.Context, *JudgeSamplerRequest) (*JudgeSamplerResponse, error) + func (UnimplementedSamplerServiceServer) SetSampler(context.Context, *SetSamplerRequest) (*SetSamplerResponse, error) + func (UnimplementedSamplerServiceServer) SetSamplerV2(context.Context, *SetSamplerV2Request) (*SetSamplerV2Response, error) + type UnsafeSamplerServiceServer interface