sync

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricsSyncer

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

MetricsSyncer defines the metrics syncer.

func NewMetricsSyncer

func NewMetricsSyncer(config util.Config, metricsCollectors []types.MetricsCollector, metricsPusher types.MetricsPusher) *MetricsSyncer

NewMetricsSyncer creates a new metrics syncer.

func (*MetricsSyncer) Start

func (s *MetricsSyncer) Start(ctx context.Context, cancelFunc context.CancelFunc)

Start calls each collector to collect cloudflare metrics then pushes them to aws cloudwatch metrics.

Jump to

Keyboard shortcuts

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