awscontainerinsightreceiver

package module
v0.0.0-...-6224894 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	logger *zap.Logger,
	config *Config,
	nextConsumer consumer.Metrics) (component.MetricsReceiver, error)

New creates the aws container insight receiver with the given parameters.

func NewFactory

func NewFactory() component.ReceiverFactory

NewFactory creates a factory for AWS container insight receiver

Types

type Config

type Config struct {
	config.ReceiverSettings `mapstructure:",squash"`

	// CollectionInterval is the interval at which metrics should be collected. The default is 60 second.
	CollectionInterval time.Duration `mapstructure:"collection_interval"`

	//ContainerOrchestrator is the type of container orchestration service, e.g. eks or ecs. The default is eks.
	ContainerOrchestrator string `mapstructure:"container_orchestrator"`
}

Config defines configuration for aws ecs container metrics receiver.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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