lokipush

package
v1.3.0-rc.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PushAPIServer

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

func NewPushAPIServer

func NewPushAPIServer(logger log.Logger,
	serverConfig *fnet.ServerConfig,
	handler loki.EntryHandler,
	registerer prometheus.Registerer,
) (*PushAPIServer, error)

func (*PushAPIServer) Run

func (s *PushAPIServer) Run() error

func (*PushAPIServer) ServerConfig

func (s *PushAPIServer) ServerConfig() fnet.ServerConfig

func (*PushAPIServer) SetKeepTimestamp

func (s *PushAPIServer) SetKeepTimestamp(keepTimestamp bool)

func (*PushAPIServer) SetLabels

func (s *PushAPIServer) SetLabels(labels model.LabelSet)

func (*PushAPIServer) SetRelabelRules

func (s *PushAPIServer) SetRelabelRules(rules frelabel.Rules)

func (*PushAPIServer) Shutdown

func (s *PushAPIServer) Shutdown()

Jump to

Keyboard shortcuts

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