)]}'
{"conf.d/cpu.yaml":[{"author":{"_account_id":11809,"name":"Craig Bryant","email":"craig.bryant@hpe.com","username":"craig-bryant"},"change_message_id":"5b45136a822c047baf9d2e1eb32bb67cdb57021c","unresolved":false,"context_lines":[{"line_number":16,"context_line":""},{"line_number":17,"context_line":"      # Ordinarily (Default \u003d 1) the frequency information is stored in cpu.frequency_mhz."},{"line_number":18,"context_line":"      # That is unsuitable for use in grafana (has Hz Y axis, no MHz)."},{"line_number":19,"context_line":"      # When frequency_multiplier is to anything, but 1, the value is multiplied by this constant"},{"line_number":20,"context_line":"      # and stored in cpu.frequency instead."},{"line_number":21,"context_line":"      #frequency_multiplier: 1000000"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"5a74a57a_63daeae9","line":19,"range":{"start_line":19,"start_character":34,"end_line":19,"end_character":39},"updated":"2016-11-28 03:25:37.000000000","message":"is set to?","commit_id":"2af3f37180957d440e123709a105c921eb6ad582"}],"docs/Plugins.md":[{"author":{"_account_id":11809,"name":"Craig Bryant","email":"craig.bryant@hpe.com","username":"craig-bryant"},"change_message_id":"5b45136a822c047baf9d2e1eb32bb67cdb57021c","unresolved":false,"context_lines":[{"line_number":340,"context_line":"This section documents the system metrics that are sent by the Agent."},{"line_number":341,"context_line":""},{"line_number":342,"context_line":"### CPU"},{"line_number":343,"context_line":"With `send_detailed_stats: False` (default)"},{"line_number":344,"context_line":""},{"line_number":345,"context_line":"| Metric Name | Dimensions | Semantics |"},{"line_number":346,"context_line":"| ----------- | ---------- | --------- |"}],"source_content_type":"text/x-markdown","patch_set":4,"id":"5a74a57a_c332de0f","line":343,"range":{"start_line":343,"start_character":0,"end_line":343,"end_character":43},"updated":"2016-11-28 03:25:37.000000000","message":"I don\u0027t think I like the fact that send_detailed_stats changes how the values are computed for metrics like cpu.user_perc. There will be no way for the user looking at the metric values to know how cpu.user_perc was set and thus no way to compare different system\u0027s values of metrics like cpu.user_perc","commit_id":"2af3f37180957d440e123709a105c921eb6ad582"},{"author":{"_account_id":24322,"name":"Tomáš Zvala","email":"tomas@zvala.cz","username":"tzvala"},"change_message_id":"cdc6b13ffe5771476b3e1f8ae1ad8d8ae0465619","unresolved":false,"context_lines":[{"line_number":340,"context_line":"This section documents the system metrics that are sent by the Agent."},{"line_number":341,"context_line":""},{"line_number":342,"context_line":"### CPU"},{"line_number":343,"context_line":"With `send_detailed_stats: False` (default)"},{"line_number":344,"context_line":""},{"line_number":345,"context_line":"| Metric Name | Dimensions | Semantics |"},{"line_number":346,"context_line":"| ----------- | ---------- | --------- |"}],"source_content_type":"text/x-markdown","patch_set":4,"id":"5a74a57a_de760b05","line":343,"range":{"start_line":343,"start_character":0,"end_line":343,"end_character":43},"in_reply_to":"5a74a57a_c332de0f","updated":"2016-11-28 19:57:41.000000000","message":"I agree. I have been thinking about this quite a bit, but have no perfect solution. On one hand I didn\u0027t want to change the metric names (and break timelines) for current users. On the other there is this issue of not being able to tell one way of reporting from another. One more thing is - I\u0027d actually like to have a one grafana chart being able to display both types of reporting. \n\nI\u0027d welcome any suggestions on how to deal with it clean...","commit_id":"2af3f37180957d440e123709a105c921eb6ad582"},{"author":{"_account_id":16168,"name":"Tomasz Trębski","email":"kornicameister@gmail.com","username":"trebskit"},"change_message_id":"273133bd00c4ee0a84de6e9b32fce0aacb0ab785","unresolved":false,"context_lines":[{"line_number":340,"context_line":"This section documents the system metrics that are sent by the Agent."},{"line_number":341,"context_line":""},{"line_number":342,"context_line":"### CPU"},{"line_number":343,"context_line":"With `send_detailed_stats: False` (default)"},{"line_number":344,"context_line":""},{"line_number":345,"context_line":"| Metric Name | Dimensions | Semantics |"},{"line_number":346,"context_line":"| ----------- | ---------- | --------- |"}],"source_content_type":"text/x-markdown","patch_set":4,"id":"dfeb2761_b4fa28ba","line":343,"range":{"start_line":343,"start_character":0,"end_line":343,"end_character":43},"in_reply_to":"5a74a57a_de760b05","updated":"2017-04-04 22:12:25.000000000","message":"Why not simply add more metrics if detailed is set to true.\nSend old set still, but if user wants to know more let him set this to true and have it.","commit_id":"2af3f37180957d440e123709a105c921eb6ad582"}],"monasca_agent/collector/checks_d/cpu.py":[{"author":{"_account_id":16168,"name":"Tomasz Trębski","email":"kornicameister@gmail.com","username":"trebskit"},"change_message_id":"1da9cbffc61af3709a15af366054b3bc90a86bb3","unresolved":false,"context_lines":[{"line_number":48,"context_line":"                    \u0027cpu.user_time\u0027: cpu_times.user + cpu_times.nice,"},{"line_number":49,"context_line":"                    \u0027cpu.system_time\u0027: cpu_times.system + cpu_times.irq + cpu_times.softirq,"},{"line_number":50,"context_line":"                    \u0027cpu.guest_time\u0027: cpu_times.guest + cpu_times.guest_nice}"},{"line_number":51,"context_line":"            if \u0027guest\u0027 in cpu_stats._fields and \u0027guest_nice\u0027 in cpu_stats._fields:"},{"line_number":52,"context_line":"                data[\u0027cpu.guest_perc\u0027] \u003d cpu_stats.guest + cpu_stats.guest_nice"},{"line_number":53,"context_line":"                data[\u0027cpu.user_perc\u0027] \u003d cpu_stats.user + cpu_stats.nice - cpu_stats.guest - cpu_stats.guest_nice"},{"line_number":54,"context_line":"                data[\u0027cpu.guest_time\u0027] \u003d cpu_times.guest + cpu_times.guest_nice"}],"source_content_type":"text/x-python","patch_set":3,"id":"5a74a57a_f40d0d3f","line":51,"updated":"2016-11-25 05:15:58.000000000","message":"I would create new function \n\n  add_guest_metrics\n\nand do the if condition + all rest in there.","commit_id":"9759d0cb44bdd792f9238a1006da7b51c0df8f9c"}]}
