Documentation
¶
Overview ¶
Package hostmetricsreceiver reads metrics like CPU usage, disk usage, and network usage from the host.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
NewFactory creates a new factory for host metrics receiver.
Types ¶
type Config ¶
type Config struct {
scraperhelper.ControllerConfig `mapstructure:",squash"`
Scrapers map[component.Type]component.Config `mapstructure:"-"`
// RootPath is the host's root directory (linux only).
RootPath string `mapstructure:"root_path"`
// Collection interval for metadata.
// Metadata of the particular entity is collected when the entity changes.
// In addition metadata of all entities is collected periodically even if no changes happen.
// Setting the duration to 0 will disable periodic collection (however will not impact
// metadata collection on changes).
MetadataCollectionInterval time.Duration `mapstructure:"metadata_collection_interval"`
}
Config defines configuration for HostMetrics receiver.
Directories
¶
| Path | Synopsis |
|---|---|
|
metadata
Package metadata contains the autogenerated telemetry and build information for the receiver/host_metrics component.
|
Package metadata contains the autogenerated telemetry and build information for the receiver/host_metrics component. |
|
scraper/cpuscraper/internal/metadata
Package metadata contains the autogenerated telemetry and build information for the scraper/cpu component.
|
Package metadata contains the autogenerated telemetry and build information for the scraper/cpu component. |
|
scraper/diskscraper/internal/metadata
Package metadata contains the autogenerated telemetry and build information for the scraper/disk component.
|
Package metadata contains the autogenerated telemetry and build information for the scraper/disk component. |
|
scraper/filesystemscraper/internal/metadata
Package metadata contains the autogenerated telemetry and build information for the scraper/filesystem component.
|
Package metadata contains the autogenerated telemetry and build information for the scraper/filesystem component. |
|
scraper/loadscraper/internal/metadata
Package metadata contains the autogenerated telemetry and build information for the scraper/load component.
|
Package metadata contains the autogenerated telemetry and build information for the scraper/load component. |
|
scraper/memoryscraper/internal/metadata
Package metadata contains the autogenerated telemetry and build information for the scraper/memory component.
|
Package metadata contains the autogenerated telemetry and build information for the scraper/memory component. |
|
scraper/networkscraper/internal/metadata
Package metadata contains the autogenerated telemetry and build information for the scraper/network component.
|
Package metadata contains the autogenerated telemetry and build information for the scraper/network component. |
|
scraper/nfsscraper/internal/metadata
Package metadata contains the autogenerated telemetry and build information for the scraper/nfs component.
|
Package metadata contains the autogenerated telemetry and build information for the scraper/nfs component. |
|
scraper/pagingscraper/internal/metadata
Package metadata contains the autogenerated telemetry and build information for the scraper/paging component.
|
Package metadata contains the autogenerated telemetry and build information for the scraper/paging component. |
|
scraper/processesscraper/internal/metadata
Package metadata contains the autogenerated telemetry and build information for the scraper/processes component.
|
Package metadata contains the autogenerated telemetry and build information for the scraper/processes component. |
|
scraper/processscraper/internal/metadata
Package metadata contains the autogenerated telemetry and build information for the scraper/process component.
|
Package metadata contains the autogenerated telemetry and build information for the scraper/process component. |
|
scraper/systemscraper/internal/metadata
Package metadata contains the autogenerated telemetry and build information for the scraper/system component.
|
Package metadata contains the autogenerated telemetry and build information for the scraper/system component. |
Click to show internal directories.
Click to hide internal directories.