Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Meta ¶
func Meta() *plugin.PluginMeta
Types ¶
type PCM ¶
type PCM struct {
// contains filtered or unexported fields
}
PCM
func NewPCMCollector ¶
func NewPCMCollector() *PCM
func (*PCM) CollectMetrics ¶
func (p *PCM) CollectMetrics(mts []plugin.MetricType) ([]plugin.MetricType, error)
// CollectMetrics returns metrics from pcm
func (*PCM) GetConfigPolicy ¶
func (p *PCM) GetConfigPolicy() (*cpolicy.ConfigPolicy, error)
GetConfigPolicy
func (*PCM) GetMetricTypes ¶
func (p *PCM) GetMetricTypes(_ plugin.ConfigType) ([]plugin.MetricType, error)
GetMetricTypes returns the metric types exposed by pcm
Click to show internal directories.
Click to hide internal directories.