remote

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RemoteWriteClient

type RemoteWriteClient interface {
	Write(ctx context.Context, wr *prompb.WriteRequest) error
	CloseIdleConnections()
}

func NopCloser

func NopCloser(r RequestWriter) RemoteWriteClient

type RequestWriter

type RequestWriter interface {
	// Write writes the time series to the correct peer.
	Write(ctx context.Context, wr *prompb.WriteRequest) error
}

Jump to

Keyboard shortcuts

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