Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Parts of returned namespace Vendor = "intel" // Name of plugin Name = "osv" // Version of plugin Version = 4 // Type of plugin Type = plugin.CollectorPluginType )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Osv ¶
type Osv struct { }
Osv struct
func (*Osv) CollectMetrics ¶
func (p *Osv) CollectMetrics(mts []plugin.MetricType) ([]plugin.MetricType, error)
CollectMetrics returns collected metrics
func (*Osv) GetConfigPolicy ¶
func (p *Osv) GetConfigPolicy() (*cpolicy.ConfigPolicy, error)
GetConfigPolicy returns a config policy
func (*Osv) GetMetricTypes ¶
func (p *Osv) GetMetricTypes(cfg plugin.ConfigType) ([]plugin.MetricType, error)
GetMetricTypes returns metric types that can be collected
Click to show internal directories.
Click to hide internal directories.