Documentation ¶
Overview ¶
Package process_exporter embeds https://github.com/ncabatoff/process-exporter
Package process_exporter embeds https://github.com/ncabatoff/process-exporter
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Common config.Common `yaml:",inline"` ProcessExporter exporter_config.MatcherRules `yaml:"process_names"` ProcFSPath string `yaml:"procfs_path"` Children bool `yaml:"track_children"` Threads bool `yaml:"track_threads"` SMaps bool `yaml:"gather_smaps"` Recheck bool `yaml:"recheck_on_scrape"` }
Config controls the process_exporter integration.
func (*Config) CommonConfig ¶
func (*Config) NewIntegration ¶ added in v0.10.0
func (c *Config) NewIntegration(l log.Logger) (integrations.Integration, error)
func (*Config) UnmarshalYAML ¶
type Integration ¶
type Integration struct {
// contains filtered or unexported fields
}
Integration is the process_exporter integration. The integration scrapes metrics based on information in the /proc filesystem for Linux. Agent's own metrics.
func (*Integration) RegisterRoutes ¶
func (i *Integration) RegisterRoutes(r *mux.Router) error
RegisterRoutes satisfies Integration.RegisterRoutes.
func (*Integration) Run ¶
func (i *Integration) Run(ctx context.Context) error
Run satisfies Integration.Run.
func (*Integration) ScrapeConfigs ¶
func (i *Integration) ScrapeConfigs() []config.ScrapeConfig
ScrapeConfigs satisfies Integration.ScrapeConfigs.
Click to show internal directories.
Click to hide internal directories.