Documentation ¶
Overview ¶
Package dockerstats implements an OpenTelemetry receiver that periodically scrapes stats for docker containers from the docker API and expose them as metrics.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory() component.ReceiverFactory
NewFactory creates and returns a factory for the docker stats receiver.
Types ¶
type Config ¶
type Config struct { config.ReceiverSettings `mapstructure:",squash"` // ScrapeInterval controls how often docker stats are scraped from docker API. ScrapeInterval time.Duration `mapstructure:"scrape_interval"` }
Config defines the configuration for dockerstats receiver.
Click to show internal directories.
Click to hide internal directories.