Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Model = resource.NewModel("viam", "viam-sensor", "telegrafsensor")
)
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { resource.TriviallyValidateConfig DisableCpu bool `json:"disable_cpu"` DisableDisk bool `json:"disable_disk"` DisableDiskIo bool `json:"disable_disk_io"` DisableKernel bool `json:"disable_kernel"` DisableMem bool `json:"disable_mem"` DisableNet bool `json:"disable_net"` DisableNetstat bool `json:"disable_netstat"` DisableProcesses bool `json:"disable_processes"` DisableSwap bool `json:"disable_swap"` DisableSystem bool `json:"disable_system"` DisableTemp bool `json:"disable_temp,omitempty"` DisableWireless bool `json:"disable_wireless,omitempty"` }
type TelegrafSensor ¶
type TelegrafSensor struct { resource.Named resource.AlwaysRebuild resource.TriviallyCloseable // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.