servers

package
v1.85.0-cluster Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewVMSelectServer

func NewVMSelectServer(addr string, s *storage.Storage) (*vmselectapi.Server, error)

NewVMSelectServer starts new server at the given addr, which serves vmselect requests from the given s.

Types

type VMInsertServer

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

VMInsertServer processes connections from vminsert.

func NewVMInsertServer

func NewVMInsertServer(addr string, storage *storage.Storage) (*VMInsertServer, error)

NewVMInsertServer starts VMInsertServer at the given addr serving the given storage.

func (*VMInsertServer) MustStop

func (s *VMInsertServer) MustStop()

MustStop gracefully stops s so it no longer touches s.storage after returning.

Jump to

Keyboard shortcuts

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