Documentation ¶
Index ¶
- type MetricConfig
- type MetricsModule
- func (module *MetricsModule) CollectAgentMetric()
- func (module *MetricsModule) CollectESMetric()
- func (module *MetricsModule) CollectHostMetric()
- func (module *MetricsModule) Name() string
- func (module *MetricsModule) Setup()
- func (module *MetricsModule) Start() error
- func (module *MetricsModule) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricConfig ¶
type MetricConfig struct { Enabled bool `config:"enabled"` MetricQueue string `config:"queue"` LoggingQueue string `config:"logging_queue"` EventQueue map[string]string `config:"event_queue"` // metadata.name -> queue name InstanceConfig *Config `config:"instance"` NetworkConfig *Config `config:"network"` DiskConfig *Config `config:"disk"` CPUConfig *Config `config:"cpu"` MemoryConfig *Config `config:"memory"` ElasticsearchConfig *Config `config:"elasticsearch"` Tags []string `config:"tags"` Labels map[string]string `config:"labels"` }
type MetricsModule ¶
type MetricsModule struct {
// contains filtered or unexported fields
}
func (*MetricsModule) CollectAgentMetric ¶
func (module *MetricsModule) CollectAgentMetric()
func (*MetricsModule) CollectESMetric ¶
func (module *MetricsModule) CollectESMetric()
func (*MetricsModule) CollectHostMetric ¶
func (module *MetricsModule) CollectHostMetric()
func (*MetricsModule) Name ¶
func (module *MetricsModule) Name() string
func (*MetricsModule) Setup ¶
func (module *MetricsModule) Setup()
func (*MetricsModule) Start ¶
func (module *MetricsModule) Start() error
func (*MetricsModule) Stop ¶
func (module *MetricsModule) Stop() error
Click to show internal directories.
Click to hide internal directories.