pconf

package
v6.7.3 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pushgw

type Pushgw struct {
	BusiGroupLabelKey   string
	IdentMetrics        []string
	IdentStatsThreshold int
	WriteConcurrency    int
	LabelRewrite        bool
	ForceUseServerTS    bool
	DebugSample         map[string]string
	DropSample          []map[string]string
	WriterOpt           WriterGlobalOpt
	Writers             []WriterOptions
}

func (*Pushgw) PreCheck

func (p *Pushgw) PreCheck()

type RelabelConfig

type RelabelConfig struct {
	SourceLabels  model.LabelNames
	Separator     string
	Regex         string
	RegexCompiled *regexp.Regexp
	Modulus       uint64
	TargetLabel   string
	Replacement   string
	Action        string
}

type WriterGlobalOpt

type WriterGlobalOpt struct {
	QueueMaxSize int
	QueuePopSize int
}

type WriterOptions

type WriterOptions struct {
	Url           string
	BasicAuthUser string
	BasicAuthPass string

	Timeout               int64
	DialTimeout           int64
	TLSHandshakeTimeout   int64
	ExpectContinueTimeout int64
	IdleConnTimeout       int64
	KeepAlive             int64

	MaxConnsPerHost     int
	MaxIdleConns        int
	MaxIdleConnsPerHost int

	Headers []string

	WriteRelabels []*RelabelConfig

	tlsx.ClientConfig
}

Jump to

Keyboard shortcuts

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