metrics

package
v5.0.0-beta Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: AGPL-3.0 Imports: 30 Imported by: 0

Documentation

Overview

Package metrics is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	Metrics_CpuMemoryInNamespace_FullMethodName = "/metrics.Metrics/CpuMemoryInNamespace"
	Metrics_CpuMemoryInProject_FullMethodName   = "/metrics.Metrics/CpuMemoryInProject"
	Metrics_TopPod_FullMethodName               = "/metrics.Metrics/TopPod"
	Metrics_StreamTopPod_FullMethodName         = "/metrics.Metrics/StreamTopPod"
)

Variables

View Source
var File_metrics_metrics_proto protoreflect.FileDescriptor
View Source
var Metrics_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "metrics.Metrics",
	HandlerType: (*MetricsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CpuMemoryInNamespace",
			Handler:    _Metrics_CpuMemoryInNamespace_Handler,
		},
		{
			MethodName: "CpuMemoryInProject",
			Handler:    _Metrics_CpuMemoryInProject_Handler,
		},
		{
			MethodName: "TopPod",
			Handler:    _Metrics_TopPod_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "StreamTopPod",
			Handler:       _Metrics_StreamTopPod_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "metrics/metrics.proto",
}

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

Functions

func RegisterMetricsHandler

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

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

func RegisterMetricsHandlerClient

func RegisterMetricsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MetricsClient) error

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

func RegisterMetricsHandlerFromEndpoint

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

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

func RegisterMetricsHandlerServer

func RegisterMetricsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MetricsServer) error

RegisterMetricsHandlerServer registers the http handlers for service Metrics to "mux". UnaryRPC :call MetricsServer 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 RegisterMetricsHandlerFromEndpoint instead.

func RegisterMetricsServer

func RegisterMetricsServer(s grpc.ServiceRegistrar, srv MetricsServer)

Types

type CpuMemoryInNamespaceRequest

type CpuMemoryInNamespaceRequest struct {
	NamespaceId int32 `protobuf:"varint,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CpuMemoryInNamespaceRequest) Descriptor deprecated

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

Deprecated: Use CpuMemoryInNamespaceRequest.ProtoReflect.Descriptor instead.

func (*CpuMemoryInNamespaceRequest) GetNamespaceId

func (x *CpuMemoryInNamespaceRequest) GetNamespaceId() int32

func (*CpuMemoryInNamespaceRequest) ProtoMessage

func (*CpuMemoryInNamespaceRequest) ProtoMessage()

func (*CpuMemoryInNamespaceRequest) ProtoReflect

func (*CpuMemoryInNamespaceRequest) Reset

func (x *CpuMemoryInNamespaceRequest) Reset()

func (*CpuMemoryInNamespaceRequest) String

func (x *CpuMemoryInNamespaceRequest) String() string

func (*CpuMemoryInNamespaceRequest) Validate

func (m *CpuMemoryInNamespaceRequest) Validate() error

Validate checks the field values on CpuMemoryInNamespaceRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CpuMemoryInNamespaceRequest) ValidateAll

func (m *CpuMemoryInNamespaceRequest) ValidateAll() error

ValidateAll checks the field values on CpuMemoryInNamespaceRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CpuMemoryInNamespaceRequestMultiError, or nil if none found.

type CpuMemoryInNamespaceRequestMultiError

type CpuMemoryInNamespaceRequestMultiError []error

CpuMemoryInNamespaceRequestMultiError is an error wrapping multiple validation errors returned by CpuMemoryInNamespaceRequest.ValidateAll() if the designated constraints aren't met.

func (CpuMemoryInNamespaceRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CpuMemoryInNamespaceRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CpuMemoryInNamespaceRequestValidationError

type CpuMemoryInNamespaceRequestValidationError struct {
	// contains filtered or unexported fields
}

CpuMemoryInNamespaceRequestValidationError is the validation error returned by CpuMemoryInNamespaceRequest.Validate if the designated constraints aren't met.

func (CpuMemoryInNamespaceRequestValidationError) Cause

Cause function returns cause value.

func (CpuMemoryInNamespaceRequestValidationError) Error

Error satisfies the builtin error interface

func (CpuMemoryInNamespaceRequestValidationError) ErrorName

ErrorName returns error name.

func (CpuMemoryInNamespaceRequestValidationError) Field

Field function returns field value.

func (CpuMemoryInNamespaceRequestValidationError) Key

Key function returns key value.

func (CpuMemoryInNamespaceRequestValidationError) Reason

Reason function returns reason value.

type CpuMemoryInNamespaceResponse

type CpuMemoryInNamespaceResponse struct {
	Cpu    string `protobuf:"bytes,1,opt,name=cpu,proto3" json:"cpu,omitempty"`
	Memory string `protobuf:"bytes,2,opt,name=memory,proto3" json:"memory,omitempty"`
	// contains filtered or unexported fields
}

func (*CpuMemoryInNamespaceResponse) Descriptor deprecated

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

Deprecated: Use CpuMemoryInNamespaceResponse.ProtoReflect.Descriptor instead.

func (*CpuMemoryInNamespaceResponse) GetCpu

func (*CpuMemoryInNamespaceResponse) GetMemory

func (x *CpuMemoryInNamespaceResponse) GetMemory() string

func (*CpuMemoryInNamespaceResponse) ProtoMessage

func (*CpuMemoryInNamespaceResponse) ProtoMessage()

func (*CpuMemoryInNamespaceResponse) ProtoReflect

func (*CpuMemoryInNamespaceResponse) Reset

func (x *CpuMemoryInNamespaceResponse) Reset()

func (*CpuMemoryInNamespaceResponse) String

func (*CpuMemoryInNamespaceResponse) Validate

func (m *CpuMemoryInNamespaceResponse) Validate() error

Validate checks the field values on CpuMemoryInNamespaceResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CpuMemoryInNamespaceResponse) ValidateAll

func (m *CpuMemoryInNamespaceResponse) ValidateAll() error

ValidateAll checks the field values on CpuMemoryInNamespaceResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CpuMemoryInNamespaceResponseMultiError, or nil if none found.

type CpuMemoryInNamespaceResponseMultiError

type CpuMemoryInNamespaceResponseMultiError []error

CpuMemoryInNamespaceResponseMultiError is an error wrapping multiple validation errors returned by CpuMemoryInNamespaceResponse.ValidateAll() if the designated constraints aren't met.

func (CpuMemoryInNamespaceResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CpuMemoryInNamespaceResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CpuMemoryInNamespaceResponseValidationError

type CpuMemoryInNamespaceResponseValidationError struct {
	// contains filtered or unexported fields
}

CpuMemoryInNamespaceResponseValidationError is the validation error returned by CpuMemoryInNamespaceResponse.Validate if the designated constraints aren't met.

func (CpuMemoryInNamespaceResponseValidationError) Cause

Cause function returns cause value.

func (CpuMemoryInNamespaceResponseValidationError) Error

Error satisfies the builtin error interface

func (CpuMemoryInNamespaceResponseValidationError) ErrorName

ErrorName returns error name.

func (CpuMemoryInNamespaceResponseValidationError) Field

Field function returns field value.

func (CpuMemoryInNamespaceResponseValidationError) Key

Key function returns key value.

func (CpuMemoryInNamespaceResponseValidationError) Reason

Reason function returns reason value.

type CpuMemoryInProjectRequest

type CpuMemoryInProjectRequest struct {
	ProjectId int32 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CpuMemoryInProjectRequest) Descriptor deprecated

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

Deprecated: Use CpuMemoryInProjectRequest.ProtoReflect.Descriptor instead.

func (*CpuMemoryInProjectRequest) GetProjectId

func (x *CpuMemoryInProjectRequest) GetProjectId() int32

func (*CpuMemoryInProjectRequest) ProtoMessage

func (*CpuMemoryInProjectRequest) ProtoMessage()

func (*CpuMemoryInProjectRequest) ProtoReflect

func (*CpuMemoryInProjectRequest) Reset

func (x *CpuMemoryInProjectRequest) Reset()

func (*CpuMemoryInProjectRequest) String

func (x *CpuMemoryInProjectRequest) String() string

func (*CpuMemoryInProjectRequest) Validate

func (m *CpuMemoryInProjectRequest) Validate() error

Validate checks the field values on CpuMemoryInProjectRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CpuMemoryInProjectRequest) ValidateAll

func (m *CpuMemoryInProjectRequest) ValidateAll() error

ValidateAll checks the field values on CpuMemoryInProjectRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CpuMemoryInProjectRequestMultiError, or nil if none found.

type CpuMemoryInProjectRequestMultiError

type CpuMemoryInProjectRequestMultiError []error

CpuMemoryInProjectRequestMultiError is an error wrapping multiple validation errors returned by CpuMemoryInProjectRequest.ValidateAll() if the designated constraints aren't met.

func (CpuMemoryInProjectRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CpuMemoryInProjectRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CpuMemoryInProjectRequestValidationError

type CpuMemoryInProjectRequestValidationError struct {
	// contains filtered or unexported fields
}

CpuMemoryInProjectRequestValidationError is the validation error returned by CpuMemoryInProjectRequest.Validate if the designated constraints aren't met.

func (CpuMemoryInProjectRequestValidationError) Cause

Cause function returns cause value.

func (CpuMemoryInProjectRequestValidationError) Error

Error satisfies the builtin error interface

func (CpuMemoryInProjectRequestValidationError) ErrorName

ErrorName returns error name.

func (CpuMemoryInProjectRequestValidationError) Field

Field function returns field value.

func (CpuMemoryInProjectRequestValidationError) Key

Key function returns key value.

func (CpuMemoryInProjectRequestValidationError) Reason

Reason function returns reason value.

type CpuMemoryInProjectResponse

type CpuMemoryInProjectResponse struct {
	Cpu    string `protobuf:"bytes,1,opt,name=cpu,proto3" json:"cpu,omitempty"`
	Memory string `protobuf:"bytes,2,opt,name=memory,proto3" json:"memory,omitempty"`
	// contains filtered or unexported fields
}

func (*CpuMemoryInProjectResponse) Descriptor deprecated

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

Deprecated: Use CpuMemoryInProjectResponse.ProtoReflect.Descriptor instead.

func (*CpuMemoryInProjectResponse) GetCpu

func (x *CpuMemoryInProjectResponse) GetCpu() string

func (*CpuMemoryInProjectResponse) GetMemory

func (x *CpuMemoryInProjectResponse) GetMemory() string

func (*CpuMemoryInProjectResponse) ProtoMessage

func (*CpuMemoryInProjectResponse) ProtoMessage()

func (*CpuMemoryInProjectResponse) ProtoReflect

func (*CpuMemoryInProjectResponse) Reset

func (x *CpuMemoryInProjectResponse) Reset()

func (*CpuMemoryInProjectResponse) String

func (x *CpuMemoryInProjectResponse) String() string

func (*CpuMemoryInProjectResponse) Validate

func (m *CpuMemoryInProjectResponse) Validate() error

Validate checks the field values on CpuMemoryInProjectResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CpuMemoryInProjectResponse) ValidateAll

func (m *CpuMemoryInProjectResponse) ValidateAll() error

ValidateAll checks the field values on CpuMemoryInProjectResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CpuMemoryInProjectResponseMultiError, or nil if none found.

type CpuMemoryInProjectResponseMultiError

type CpuMemoryInProjectResponseMultiError []error

CpuMemoryInProjectResponseMultiError is an error wrapping multiple validation errors returned by CpuMemoryInProjectResponse.ValidateAll() if the designated constraints aren't met.

func (CpuMemoryInProjectResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CpuMemoryInProjectResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CpuMemoryInProjectResponseValidationError

type CpuMemoryInProjectResponseValidationError struct {
	// contains filtered or unexported fields
}

CpuMemoryInProjectResponseValidationError is the validation error returned by CpuMemoryInProjectResponse.Validate if the designated constraints aren't met.

func (CpuMemoryInProjectResponseValidationError) Cause

Cause function returns cause value.

func (CpuMemoryInProjectResponseValidationError) Error

Error satisfies the builtin error interface

func (CpuMemoryInProjectResponseValidationError) ErrorName

ErrorName returns error name.

func (CpuMemoryInProjectResponseValidationError) Field

Field function returns field value.

func (CpuMemoryInProjectResponseValidationError) Key

Key function returns key value.

func (CpuMemoryInProjectResponseValidationError) Reason

Reason function returns reason value.

type MetricsClient

type MetricsClient interface {
	CpuMemoryInNamespace(ctx context.Context, in *CpuMemoryInNamespaceRequest, opts ...grpc.CallOption) (*CpuMemoryInNamespaceResponse, error)
	CpuMemoryInProject(ctx context.Context, in *CpuMemoryInProjectRequest, opts ...grpc.CallOption) (*CpuMemoryInProjectResponse, error)
	TopPod(ctx context.Context, in *TopPodRequest, opts ...grpc.CallOption) (*TopPodResponse, error)
	StreamTopPod(ctx context.Context, in *TopPodRequest, opts ...grpc.CallOption) (Metrics_StreamTopPodClient, error)
}

MetricsClient is the client API for Metrics 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 NewMetricsClient

func NewMetricsClient(cc grpc.ClientConnInterface) MetricsClient

type MetricsServer

type MetricsServer interface {
	CpuMemoryInNamespace(context.Context, *CpuMemoryInNamespaceRequest) (*CpuMemoryInNamespaceResponse, error)
	CpuMemoryInProject(context.Context, *CpuMemoryInProjectRequest) (*CpuMemoryInProjectResponse, error)
	TopPod(context.Context, *TopPodRequest) (*TopPodResponse, error)
	StreamTopPod(*TopPodRequest, Metrics_StreamTopPodServer) error
	// contains filtered or unexported methods
}

MetricsServer is the server API for Metrics service. All implementations must embed UnimplementedMetricsServer for forward compatibility

type Metrics_StreamTopPodClient

type Metrics_StreamTopPodClient interface {
	Recv() (*TopPodResponse, error)
	grpc.ClientStream
}

type Metrics_StreamTopPodServer

type Metrics_StreamTopPodServer interface {
	Send(*TopPodResponse) error
	grpc.ServerStream
}

type TopPodRequest

type TopPodRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Pod       string `protobuf:"bytes,2,opt,name=pod,proto3" json:"pod,omitempty"`
	// contains filtered or unexported fields
}

func (*TopPodRequest) Descriptor deprecated

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

Deprecated: Use TopPodRequest.ProtoReflect.Descriptor instead.

func (*TopPodRequest) GetNamespace

func (x *TopPodRequest) GetNamespace() string

func (*TopPodRequest) GetPod

func (x *TopPodRequest) GetPod() string

func (*TopPodRequest) ProtoMessage

func (*TopPodRequest) ProtoMessage()

func (*TopPodRequest) ProtoReflect

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

func (*TopPodRequest) Reset

func (x *TopPodRequest) Reset()

func (*TopPodRequest) String

func (x *TopPodRequest) String() string

func (*TopPodRequest) Validate

func (m *TopPodRequest) Validate() error

Validate checks the field values on TopPodRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TopPodRequest) ValidateAll

func (m *TopPodRequest) ValidateAll() error

ValidateAll checks the field values on TopPodRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TopPodRequestMultiError, or nil if none found.

type TopPodRequestMultiError

type TopPodRequestMultiError []error

TopPodRequestMultiError is an error wrapping multiple validation errors returned by TopPodRequest.ValidateAll() if the designated constraints aren't met.

func (TopPodRequestMultiError) AllErrors

func (m TopPodRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TopPodRequestMultiError) Error

func (m TopPodRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TopPodRequestValidationError

type TopPodRequestValidationError struct {
	// contains filtered or unexported fields
}

TopPodRequestValidationError is the validation error returned by TopPodRequest.Validate if the designated constraints aren't met.

func (TopPodRequestValidationError) Cause

Cause function returns cause value.

func (TopPodRequestValidationError) Error

Error satisfies the builtin error interface

func (TopPodRequestValidationError) ErrorName

func (e TopPodRequestValidationError) ErrorName() string

ErrorName returns error name.

func (TopPodRequestValidationError) Field

Field function returns field value.

func (TopPodRequestValidationError) Key

Key function returns key value.

func (TopPodRequestValidationError) Reason

Reason function returns reason value.

type TopPodResponse

type TopPodResponse struct {
	Cpu            float64 `protobuf:"fixed64,1,opt,name=cpu,proto3" json:"cpu,omitempty"`
	Memory         float64 `protobuf:"fixed64,2,opt,name=memory,proto3" json:"memory,omitempty"`
	HumanizeCpu    string  `protobuf:"bytes,3,opt,name=humanize_cpu,json=humanizeCpu,proto3" json:"humanize_cpu,omitempty"`
	HumanizeMemory string  `protobuf:"bytes,4,opt,name=humanize_memory,json=humanizeMemory,proto3" json:"humanize_memory,omitempty"`
	Time           string  `protobuf:"bytes,5,opt,name=time,proto3" json:"time,omitempty"`
	Length         int32   `protobuf:"varint,6,opt,name=length,proto3" json:"length,omitempty"`
	// contains filtered or unexported fields
}

func (*TopPodResponse) Descriptor deprecated

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

Deprecated: Use TopPodResponse.ProtoReflect.Descriptor instead.

func (*TopPodResponse) GetCpu

func (x *TopPodResponse) GetCpu() float64

func (*TopPodResponse) GetHumanizeCpu

func (x *TopPodResponse) GetHumanizeCpu() string

func (*TopPodResponse) GetHumanizeMemory

func (x *TopPodResponse) GetHumanizeMemory() string

func (*TopPodResponse) GetLength

func (x *TopPodResponse) GetLength() int32

func (*TopPodResponse) GetMemory

func (x *TopPodResponse) GetMemory() float64

func (*TopPodResponse) GetTime

func (x *TopPodResponse) GetTime() string

func (*TopPodResponse) ProtoMessage

func (*TopPodResponse) ProtoMessage()

func (*TopPodResponse) ProtoReflect

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

func (*TopPodResponse) Reset

func (x *TopPodResponse) Reset()

func (*TopPodResponse) String

func (x *TopPodResponse) String() string

func (*TopPodResponse) Validate

func (m *TopPodResponse) Validate() error

Validate checks the field values on TopPodResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TopPodResponse) ValidateAll

func (m *TopPodResponse) ValidateAll() error

ValidateAll checks the field values on TopPodResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TopPodResponseMultiError, or nil if none found.

type TopPodResponseMultiError

type TopPodResponseMultiError []error

TopPodResponseMultiError is an error wrapping multiple validation errors returned by TopPodResponse.ValidateAll() if the designated constraints aren't met.

func (TopPodResponseMultiError) AllErrors

func (m TopPodResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TopPodResponseMultiError) Error

func (m TopPodResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TopPodResponseValidationError

type TopPodResponseValidationError struct {
	// contains filtered or unexported fields
}

TopPodResponseValidationError is the validation error returned by TopPodResponse.Validate if the designated constraints aren't met.

func (TopPodResponseValidationError) Cause

Cause function returns cause value.

func (TopPodResponseValidationError) Error

Error satisfies the builtin error interface

func (TopPodResponseValidationError) ErrorName

func (e TopPodResponseValidationError) ErrorName() string

ErrorName returns error name.

func (TopPodResponseValidationError) Field

Field function returns field value.

func (TopPodResponseValidationError) Key

Key function returns key value.

func (TopPodResponseValidationError) Reason

Reason function returns reason value.

type UnimplementedMetricsServer

type UnimplementedMetricsServer struct {
}

UnimplementedMetricsServer must be embedded to have forward compatible implementations.

func (UnimplementedMetricsServer) StreamTopPod

func (UnimplementedMetricsServer) TopPod

type UnsafeMetricsServer

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

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

Jump to

Keyboard shortcuts

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