Skip to content

Commit

Permalink
Fixed bug - was sending ratio instead of percent to sys_mem_used
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Studer committed Aug 30, 2015
1 parent 037c756 commit a41a02d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VTMAgent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ private void PollGlobal()
ReportMetric("global/bytes_in", "bytes/sec", processors["global_bytes_in"].Process(globalStats.total_bytes_in));
ReportMetric("global/bytes_out", "bytes/sec", processors["global_bytes_out"].Process(globalStats.total_bytes_out));
ReportMetric("global/current_conn", "connections", globalStats.total_current_conn);
ReportMetric("global/sys_mem_used", "percent", (globalStats.sys_mem_in_use/globalStats.sys_mem_total));
ReportMetric("global/sys_mem_used", "percent", ((globalStats.sys_mem_in_use/globalStats.sys_mem_total)*100));
ReportMetric("global/sys_cpu_busy_percent", "percent", globalStats.sys_cpu_busy_percent);
}
catch
Expand Down

0 comments on commit a41a02d

Please sign in to comment.