sender

package
v0.0.0-...-7c0796b Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricsSender

type MetricsSender struct {
	MetricsStorageClient *client.MetricsStorageClient
	Address              string
	IsGzip               bool
	Interval             int
	IsRunning            bool
	IsBatch              bool
	NumberOfWorkers      int
}

func New

func New(metricsStorageClient *client.MetricsStorageClient, conf *config.Config) *MetricsSender

func (*MetricsSender) Report

func (msnd *MetricsSender) Report(memStatsPtr *metric.MetricsSet)

Jump to

Keyboard shortcuts

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