Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Systemd ¶
type Systemd struct { config.PluginConfig Enable bool `toml:"enable"` UnitInclude string `toml:"unit_include"` UnitExclude string `toml:"unit_exclude"` SystemdPrivate bool `toml:"systemd_private"` EnableTaskMetrics bool `toml:"enable_task_metrics"` EnableRestartMetrics bool `toml:"enable_restarts_metrics"` EnableStartTimeMetrics bool `toml:"enable_start_time_metrics"` // contains filtered or unexported fields }
func (*Systemd) Gather ¶
func (s *Systemd) Gather(slist *types.SampleList)
Gather gathers metrics from systemd. Dbus collection is done in parallel to reduce wait time for responses.
Click to show internal directories.
Click to hide internal directories.