gmond/python_modules/conf.d/cpu_stats.pyconf
raw| 1 | modules { |
| 2 | module { |
| 3 | name = "cpu_stats" |
| 4 | language = "python" |
| 5 | } |
| 6 | } |
| 7 | |
| 8 | collection_group { |
| 9 | collect_every = 10 |
| 10 | time_threshold = 45 |
| 11 | |
| 12 | metric { |
| 13 | name = "procs_blocked" |
| 14 | title = "Processes blocked" |
| 15 | value_threshold = 0.0 |
| 16 | } |
| 17 | metric { |
| 18 | name = "procs_created" |
| 19 | title = "Processes/Threads created" |
| 20 | value_threshold = 0.0 |
| 21 | } |
| 22 | metric { |
| 23 | name_match = "softirq_(.+)" |
| 24 | value_threshold = 1.0 |
| 25 | } |
| 26 | metric { |
| 27 | name_match = "cpu_(.+)" |
| 28 | value_threshold = 1.0 |
| 29 | } |
| 30 | } |