mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-10-28 03:23:25 +08:00
add hostmetrics
This commit is contained in:
@@ -79,7 +79,6 @@ func (m *SHostMetricsCollector) runMain() {
|
||||
|
||||
func (m *SHostMetricsCollector) runMonitor() {
|
||||
reportData := m.collectReportData()
|
||||
log.Errorln(reportData)
|
||||
if options.HostOptions.EnableTelegraf && len(reportData) > 0 {
|
||||
m.reportUsageToTelegraf(reportData)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user