ingester

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ingester

type Ingester interface {
	StoreMetrics(ctx context.Context, series ddstructs.Series) error
	StoreHostTags(ctx context.Context, hostname string, systemTags []string) error
	StoreCheckRun(ctx context.Context, checks ddstructs.ServiceChecks) error
}

func New

func New(
	hostTagStorage htstorage.Storage,
	metricsRecorder Recorder,
	client remotewrite.Client,
) Ingester

func NewDisabled

func NewDisabled() Ingester

type Recorder

type Recorder interface {
	// contains filtered or unexported methods
}

func NewRecorder

func NewRecorder(reg prometheus.Registerer) Recorder

NewRecorder returns a new Prometheus metrics Recorder. It ensures that the ingester metrics are properly registered.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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