Documentation ¶
Index ¶
Constants ¶
View Source
const (
ModuleName = "dockerstats"
)
Variables ¶
This section is empty.
Functions ¶
func InitHandler ¶
func InitHandler(confraw *config.ConfigRaw) (retconf config.TypeInputConfig, err error)
Types ¶
type ErrorContainerLoopRunning ¶
type ErrorContainerLoopRunning struct {
ID string
}
func (*ErrorContainerLoopRunning) Error ¶
func (t *ErrorContainerLoopRunning) Error() string
type InputConfig ¶
type InputConfig struct { config.InputConfig DockerURL string `json:"dockerurl"` IncludePatterns []string `json:"include_patterns"` ExcludePatterns []string `json:"exclude_patterns"` StatInterval int `json:"stat_interval"` ConnectionRetryInterval int `json:"connection_retry_interval,omitempty"` ZeroHierarchicalMemoryLimit bool `json:"zero_hierarchical_memory_limit,omitempty"` // contains filtered or unexported fields }
func DefaultInputConfig ¶
func DefaultInputConfig() InputConfig
func (*InputConfig) Start ¶
func (t *InputConfig) Start()
Click to show internal directories.
Click to hide internal directories.