servers

package
v1.108.1-cluster Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMaxUniqueTimeSeries

func GetMaxUniqueTimeSeries() int

GetMaxUniqueTimeSeries returns the max metrics limit calculated by available resources. The calculation is split into calculateMaxUniqueTimeSeriesForResource for unit testing.

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