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.
Click to show internal directories.
Click to hide internal directories.