grpc

package
v1.66.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

Handler is sampling strategy handler for gRPC.

func NewHandler

func NewHandler(provider samplingstrategy.Provider) Handler

NewHandler creates a handler that controls sampling strategies for services.

func (Handler) GetSamplingStrategy

GetSamplingStrategy returns sampling decision from store.

Jump to

Keyboard shortcuts

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