Documentation ¶
Index ¶
- Constants
- func New(ctx context.Context, gatewayCfg *gwTY.Config) (providerTY.Plugin, error)
- type Provider
- func (p *Provider) Close() error
- func (p *Provider) ConvertToMessages(rawMsg *msgTY.RawMessage) ([]*msgTY.Message, error)
- func (p *Provider) HostID() (string, error)
- func (p *Provider) Name() string
- func (p *Provider) Post(msg *msgTY.Message) error
- func (p *Provider) Start(rxMessageFunc func(rawMsg *msgTY.RawMessage) error) error
Constants ¶
View Source
const ( KiB = 1 << (10 * (iota + 1)) // Kibibytes MiB = 1 << (10 * (iota + 1)) // Mibibytes GiB = 1 << (10 * (iota + 1)) // Gibibytes TiB = 1 << (10 * (iota + 1)) // Tebibytes PiB = 1 << (10 * (iota + 1)) // Pebibytes EiB = 1 << (10 * (iota + 1)) // Exbibytes )
View Source
const (
NodeDetailMetricInterval = "5m"
)
View Source
const (
PluginSystemMonitoring = "system_monitoring"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.