writefailures

package
v1.6.2-0...-8a36637 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 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" category:"experimental"`

	AddInsightsLabel bool `yaml:"add_insights_label" category:"experimental"`
}

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