config.go 492 B

123456789101112131415
  1. // Copyright The OpenTelemetry Authors
  2. // SPDX-License-Identifier: Apache-2.0
  3. package awsecscontainermetricsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsecscontainermetricsreceiver"
  4. import (
  5. "time"
  6. )
  7. // Config defines configuration for aws ecs container metrics receiver.
  8. type Config struct {
  9. // CollectionInterval is the interval at which metrics should be collected
  10. CollectionInterval time.Duration `mapstructure:"collection_interval"`
  11. }