metric

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricRecorder

type MetricRecorder interface {
	SynchronizeTelemetry() error
}

MetricRecorder interface

func NewRecorderSingle

func NewRecorderSingle(
	metricStorage storage.MetricsStorageConsumer,
	metricRecorder service.MetricsRecorder,
	metadata dtos.Metadata,
) MetricRecorder

NewRecorderSingle creates new metric synchronizer for posting metrics

type RecorderSingle

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

RecorderSingle struct for metric sync

func (*RecorderSingle) SynchronizeTelemetry

func (m *RecorderSingle) SynchronizeTelemetry() error

SynchronizeTelemetry syncs telemetry

Jump to

Keyboard shortcuts

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