Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWriteClient ¶
func NewWriteClient(conf *ClientConfig) (remote.WriteClient, error)
Types ¶
type ClientConfig ¶
type ClientConfig = remote.ClientConfig
type Write ¶
type Write struct { // BatchSize is the amount of samples that are aggregated into a single // remote write request BatchSize int // BatchMaxDelay is the maximum delay acceptable for a batch to wait to // reach the BatchSize BatchMaxDelay time.Duration // contains filtered or unexported fields }
func (*Write) Run ¶
func (w *Write) Run(ctx context.Context, sampleCh chan pulsar.ReceivedSample, client remote.WriteClient) error
Click to show internal directories.
Click to hide internal directories.