prom

package
v1.34.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const RemoteWriteTimeout = 30 * time.Second

Variables

This section is empty.

Functions

func StartAgent

func StartAgent(reg *prometheus.Registry, cfg Config, machineId, systemUuid string) error

Types

type Agent added in v1.24.0

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

type Config added in v1.34.0

type Config struct {
	Endpoint       *url.URL
	AuthHeaders    map[string]string
	TLSConfig      *tls.Config
	ScrapeInterval time.Duration
	WalDir         string
	MaxSpoolSize   int64
}

Jump to

Keyboard shortcuts

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