writefailures

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cfg

type Cfg struct {
	LogRate flagext.ByteSize `yaml:"rate"`

	AddInsightsLabel bool `yaml:"add_insights_label"`
}

func (*Cfg) RegisterFlagsWithPrefix

func (cfg *Cfg) RegisterFlagsWithPrefix(prefix string, fs *flag.FlagSet)

RegisterFlags registers distributor-related flags.

type Manager

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

func NewManager

func NewManager(logger log.Logger, reg prometheus.Registerer, cfg Cfg, tenants *runtime.TenantConfigs, subsystem string) *Manager

func (*Manager) Log

func (m *Manager) Log(tenantID string, err error)

Jump to

Keyboard shortcuts

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