You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SysCPUUserRatio: promauto.NewGaugeVec(opts("system_cpu_user_ratio", "System CPU time spent in user mode fraction (1=100%)", instanceLabels), sysLabels),
80
-
SysCPUSystemRatio: promauto.NewGaugeVec(opts("system_cpu_system_ratio", "System CPU time spent in kernel/system mode fraction (1=100%)", instanceLabels), sysLabels),
81
-
SysCPUWaitRatio: promauto.NewGaugeVec(opts("system_cpu_wait_ratio", "System CPU time spent waiting for I/O fraction (1=100%)", instanceLabels), sysLabels),
82
-
SysMemoryUsedBytes: promauto.NewGaugeVec(opts("system_memory_used_bytes", "System memory used in bytes", instanceLabels), sysLabels),
83
-
SysMemoryUsageRatio: promauto.NewGaugeVec(opts("system_memory_usage_ratio", "System memory used as a fraction of total (1=100%)", instanceLabels), sysLabels),
84
-
SysSwapUsedBytes: promauto.NewGaugeVec(opts("system_swap_used_bytes", "System swap used in bytes", instanceLabels), sysLabels),
85
-
SysSwapUsageRatio: promauto.NewGaugeVec(opts("system_swap_usage_ratio", "System swap used as a fraction of total (1=100%)", instanceLabels), sysLabels),
86
-
SysCollectedTimestampSeconds: promauto.NewGaugeVec(opts("system_collected_timestamp_seconds", "System data collection time as Unix timestamp (seconds).", instanceLabels), sysLabels),
68
+
SysStatusInfo: promauto.NewGaugeVec(opts("system_status_info", "System status info (e.g., running, monitored)", instanceLabels), []string{monitMonitoringStatusLabel, monitServiceStatusLabel}),
SysCPURatio: promauto.NewGaugeVec(opts("system_cpu_ratio", "System CPU time spent in the mode fraction (1=100%)", instanceLabels), []string{monitCPUModeLabel}),
73
+
SysMemoryUsedBytes: promauto.NewGaugeVec(opts("system_memory_used_bytes", "System memory used in bytes", instanceLabels), []string{}),
74
+
SysMemoryUsageRatio: promauto.NewGaugeVec(opts("system_memory_usage_ratio", "System memory used as a fraction of total (1=100%)", instanceLabels), []string{}),
75
+
SysSwapUsedBytes: promauto.NewGaugeVec(opts("system_swap_used_bytes", "System swap used in bytes", instanceLabels), []string{}),
76
+
SysSwapUsageRatio: promauto.NewGaugeVec(opts("system_swap_usage_ratio", "System swap used as a fraction of total (1=100%)", instanceLabels), []string{}),
77
+
SysCollectedTimestampSeconds: promauto.NewGaugeVec(opts("system_collected_timestamp_seconds", "System data collection time as Unix timestamp (seconds).", instanceLabels), []string{}),
87
78
88
79
// Process metrics
89
-
ProcStatusInfo: promauto.NewGaugeVec(opts("process_status_info", "Monit process and monitoring status information", instanceLabels), procLabels),
90
-
ProcUptime: promauto.NewGaugeVec(opts("process_uptime_seconds", "Monit process uptime since last start (seconds)", instanceLabels), procInfoLabels),
91
-
ProcChildrenCount: promauto.NewGaugeVec(opts("process_children_count", "Number of child processes", instanceLabels), procInfoLabels),
92
-
ProcMemoryUsedBytes: promauto.NewGaugeVec(opts("process_memory_used_bytes", "Process memory used in bytes", instanceLabels), procInfoLabels),
93
-
ProcMemoryUsedBytesTotal: promauto.NewGaugeVec(opts("process_memory_used_bytes_total", "Total process (with subprocesses) memory used in bytes", instanceLabels), procInfoLabels),
ProcCPUUsageRatio: promauto.NewGaugeVec(opts("process_cpu_usage_ratio", "Process CPU usage fraction (1=100%)", instanceLabels), procInfoLabels),
97
-
ProcCPUUsageRatioTotal: promauto.NewGaugeVec(opts("process_cpu_usage_ratio_total", "Total process (with subprocesses) CPU usage fraction (1=100%)", instanceLabels), procInfoLabels),
98
-
ProcCollectedTimestampSeconds: promauto.NewGaugeVec(opts("process_collected_timestamp_seconds", "Process data collection time as Unix timestamp (seconds).", instanceLabels), procInfoLabels),
80
+
ProcStatusInfo: promauto.NewGaugeVec(opts("process_status_info", "Monit process and monitoring status information", instanceLabels), procInfoLabels),
81
+
ProcUptime: promauto.NewGaugeVec(opts("process_uptime_seconds", "Monit process uptime since last start (seconds)", instanceLabels), procLabels),
82
+
ProcChildrenCount: promauto.NewGaugeVec(opts("process_children_count", "Number of child processes", instanceLabels), procLabels),
83
+
ProcMemoryUsedBytes: promauto.NewGaugeVec(opts("process_memory_used_bytes", "Process memory used in bytes", instanceLabels), procLabels),
84
+
ProcMemoryUsedBytesTotal: promauto.NewGaugeVec(opts("process_memory_used_bytes_total", "Total process (with subprocesses) memory used in bytes", instanceLabels), procLabels),
ProcCPUUsageRatio: promauto.NewGaugeVec(opts("process_cpu_usage_ratio", "Process CPU usage fraction (1=100%)", instanceLabels), procLabels),
88
+
ProcCPUUsageRatioTotal: promauto.NewGaugeVec(opts("process_cpu_usage_ratio_total", "Total process (with subprocesses) CPU usage fraction (1=100%)", instanceLabels), procLabels),
89
+
ProcCollectedTimestampSeconds: promauto.NewGaugeVec(opts("process_collected_timestamp_seconds", "Process data collection time as Unix timestamp (seconds).", instanceLabels), procLabels),
0 commit comments