opentelemetry

package
v1.8.8 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPServerSettings

type HTTPServerSettings struct {
	Endpoint              string
	MaxRequestBodySizeMiB int
	ReadTimeoutSec        int
	ShutdownTimeoutSec    int
}

type Protocals

type Protocals struct {
	GRPC *helper.GRPCServerSettings
	HTTP *HTTPServerSettings
}

type Server

type Server struct {
	Protocals Protocals
	// contains filtered or unexported fields
}

Server implements ServiceInputV1 and ServiceInputV2

func (*Server) Description

func (s *Server) Description() string

Description ...

func (*Server) Init

func (s *Server) Init(context pipeline.Context) (int, error)

Init ...

func (*Server) Start

func (s *Server) Start(c pipeline.Collector) error

Start ...

func (*Server) StartService

func (s *Server) StartService(ctx pipeline.PipelineContext) error

StartService(PipelineContext) error

func (*Server) Stop

func (s *Server) Stop() error

Stop stops the services and closes any necessary channels and connections

Jump to

Keyboard shortcuts

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