Documentation ¶
Index ¶
- type PushAPIServer
- func (s *PushAPIServer) Run() error
- func (s *PushAPIServer) ServerConfig() fnet.ServerConfig
- func (s *PushAPIServer) SetKeepTimestamp(keepTimestamp bool)
- func (s *PushAPIServer) SetLabels(labels model.LabelSet)
- func (s *PushAPIServer) SetRelabelRules(rules frelabel.Rules)
- func (s *PushAPIServer) Shutdown()
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()
Click to show internal directories.
Click to hide internal directories.