worker

package
v5.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TelemetryMultiSyncError

type TelemetryMultiSyncError struct {
	Errors map[dtos.Metadata]error
}

TelemetryMultiSyncError is used to signal errors on multiple calls to telemetry recording apis

func (*TelemetryMultiSyncError) Error

func (t *TelemetryMultiSyncError) Error() string

Error returns the error formatted as a string

type TelemetryMultiWorker

type TelemetryMultiWorker interface {
	SynchronizeStats() error
	SyncrhonizeConfigs() error
}

TelemetryMultiWorker defines the interface for a telemetry syncrhonizer suitable for multiple sdk instances

type TelemetryMultiWorkerImpl

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

TelemetryMultiWorkerImpl is a component used to syncrhonize telemetry posted in redis by sdk into the split servers

func NewTelemetryMultiWorker

NewTelemetryMultiWorker instantes a new telemetry worker

func (*TelemetryMultiWorkerImpl) SynchronizeStats

func (w *TelemetryMultiWorkerImpl) SynchronizeStats() error

SynchronizeStats syncs telemetry stats

func (*TelemetryMultiWorkerImpl) SyncrhonizeConfigs

func (w *TelemetryMultiWorkerImpl) SyncrhonizeConfigs() error

SyncrhonizeConfigs syncs sdk configs

Jump to

Keyboard shortcuts

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