otel: go.opentelemetry.io/otel/exporters/otlp/internal/opentelemetry-proto-gen/collector/metrics/v1 Index | Files

package v1

import "go.opentelemetry.io/otel/exporters/otlp/internal/opentelemetry-proto-gen/collector/metrics/v1"

Index

Package Files

metrics_service.pb.go

Variables

var (
    ErrInvalidLengthMetricsService        = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowMetricsService          = fmt.Errorf("proto: integer overflow")
    ErrUnexpectedEndOfGroupMetricsService = fmt.Errorf("proto: unexpected end of group")
)

func RegisterMetricsServiceServer Uses

func RegisterMetricsServiceServer(s *grpc.Server, srv MetricsServiceServer)

type ExportMetricsServiceRequest Uses

type ExportMetricsServiceRequest struct {
    // An array of ResourceMetrics.
    // For data coming from a single resource this array will typically contain one
    // element. Intermediary nodes (such as OpenTelemetry Collector) that receive
    // data from multiple origins typically batch the data before forwarding further and
    // in that case this array will contain multiple elements.
    ResourceMetrics      []*v1.ResourceMetrics `protobuf:"bytes,1,rep,name=resource_metrics,json=resourceMetrics,proto3" json:"resource_metrics,omitempty"`
    XXX_NoUnkeyedLiteral struct{}              `json:"-"`
    XXX_unrecognized     []byte                `json:"-"`
    XXX_sizecache        int32                 `json:"-"`
}

func (*ExportMetricsServiceRequest) Descriptor Uses

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

func (*ExportMetricsServiceRequest) GetResourceMetrics Uses

func (m *ExportMetricsServiceRequest) GetResourceMetrics() []*v1.ResourceMetrics

func (*ExportMetricsServiceRequest) Marshal Uses

func (m *ExportMetricsServiceRequest) Marshal() (dAtA []byte, err error)

func (*ExportMetricsServiceRequest) MarshalTo Uses

func (m *ExportMetricsServiceRequest) MarshalTo(dAtA []byte) (int, error)

func (*ExportMetricsServiceRequest) MarshalToSizedBuffer Uses

func (m *ExportMetricsServiceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExportMetricsServiceRequest) ProtoMessage Uses

func (*ExportMetricsServiceRequest) ProtoMessage()

func (*ExportMetricsServiceRequest) Reset Uses

func (m *ExportMetricsServiceRequest) Reset()

func (*ExportMetricsServiceRequest) Size Uses

func (m *ExportMetricsServiceRequest) Size() (n int)

func (*ExportMetricsServiceRequest) String Uses

func (m *ExportMetricsServiceRequest) String() string

func (*ExportMetricsServiceRequest) Unmarshal Uses

func (m *ExportMetricsServiceRequest) Unmarshal(dAtA []byte) error

func (*ExportMetricsServiceRequest) XXX_DiscardUnknown Uses

func (m *ExportMetricsServiceRequest) XXX_DiscardUnknown()

func (*ExportMetricsServiceRequest) XXX_Marshal Uses

func (m *ExportMetricsServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExportMetricsServiceRequest) XXX_Merge Uses

func (m *ExportMetricsServiceRequest) XXX_Merge(src proto.Message)

func (*ExportMetricsServiceRequest) XXX_Size Uses

func (m *ExportMetricsServiceRequest) XXX_Size() int

func (*ExportMetricsServiceRequest) XXX_Unmarshal Uses

func (m *ExportMetricsServiceRequest) XXX_Unmarshal(b []byte) error

type ExportMetricsServiceResponse Uses

type ExportMetricsServiceResponse struct {
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*ExportMetricsServiceResponse) Descriptor Uses

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

func (*ExportMetricsServiceResponse) Marshal Uses

func (m *ExportMetricsServiceResponse) Marshal() (dAtA []byte, err error)

func (*ExportMetricsServiceResponse) MarshalTo Uses

func (m *ExportMetricsServiceResponse) MarshalTo(dAtA []byte) (int, error)

func (*ExportMetricsServiceResponse) MarshalToSizedBuffer Uses

func (m *ExportMetricsServiceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExportMetricsServiceResponse) ProtoMessage Uses

func (*ExportMetricsServiceResponse) ProtoMessage()

func (*ExportMetricsServiceResponse) Reset Uses

func (m *ExportMetricsServiceResponse) Reset()

func (*ExportMetricsServiceResponse) Size Uses

func (m *ExportMetricsServiceResponse) Size() (n int)

func (*ExportMetricsServiceResponse) String Uses

func (m *ExportMetricsServiceResponse) String() string

func (*ExportMetricsServiceResponse) Unmarshal Uses

func (m *ExportMetricsServiceResponse) Unmarshal(dAtA []byte) error

func (*ExportMetricsServiceResponse) XXX_DiscardUnknown Uses

func (m *ExportMetricsServiceResponse) XXX_DiscardUnknown()

func (*ExportMetricsServiceResponse) XXX_Marshal Uses

func (m *ExportMetricsServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExportMetricsServiceResponse) XXX_Merge Uses

func (m *ExportMetricsServiceResponse) XXX_Merge(src proto.Message)

func (*ExportMetricsServiceResponse) XXX_Size Uses

func (m *ExportMetricsServiceResponse) XXX_Size() int

func (*ExportMetricsServiceResponse) XXX_Unmarshal Uses

func (m *ExportMetricsServiceResponse) XXX_Unmarshal(b []byte) error

type MetricsServiceClient Uses

type MetricsServiceClient interface {
    // For performance reasons, it is recommended to keep this RPC
    // alive for the entire life of the application.
    Export(ctx context.Context, in *ExportMetricsServiceRequest, opts ...grpc.CallOption) (*ExportMetricsServiceResponse, error)
}

MetricsServiceClient is the client API for MetricsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMetricsServiceClient Uses

func NewMetricsServiceClient(cc *grpc.ClientConn) MetricsServiceClient

type MetricsServiceServer Uses

type MetricsServiceServer interface {
    // For performance reasons, it is recommended to keep this RPC
    // alive for the entire life of the application.
    Export(context.Context, *ExportMetricsServiceRequest) (*ExportMetricsServiceResponse, error)
}

MetricsServiceServer is the server API for MetricsService service.

type UnimplementedMetricsServiceServer Uses

type UnimplementedMetricsServiceServer struct {
}

UnimplementedMetricsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedMetricsServiceServer) Export Uses

func (*UnimplementedMetricsServiceServer) Export(ctx context.Context, req *ExportMetricsServiceRequest) (*ExportMetricsServiceResponse, error)

Package v1 imports 10 packages (graph) and is imported by 1 packages. Updated 2020-08-26. Refresh now. Tools for package owners.