opentelemetry_collector/receiver/dockerstats/config.go (9 lines of code) (raw):

package dockerstats import ( "time" "go.opentelemetry.io/collector/config" ) // Config defines the configuration for dockerstats receiver. type Config struct { config.ReceiverSettings `mapstructure:",squash"` // ScrapeInterval controls how often docker stats are scraped from docker API. ScrapeInterval time.Duration `mapstructure:"scrape_interval"` }