grpc_health_check

package module
v0.99.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 14 Imported by: 0

README

otel-grpc-healthceck

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Type               = component.MustNewType("grpc_health_check")
	ExtensionStability = component.StabilityLevelBeta
)

Functions

func NewFactory

func NewFactory() extension.Factory

Types

type Config

type Config struct {
	Grpc                    configgrpc.ServerConfig `mapstructure:"grpc"`
	HealthCheckHttpEndpoint string                  `mapstructure:"health_check_http_endpoint"`
	StartPeriod             time.Duration           `mapstructure:"start_period"`
	Interval                time.Duration           `mapstructure:"interval"`
}

Jump to

Keyboard shortcuts

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