|
32 | 32 | ] |
33 | 33 | }, |
34 | 34 | 'recursion': { |
35 | | - 'options': [None, 'Recursion Timings', 'seconds', 'Unbound', 'unbound.recursion', 'line'], |
| 35 | + 'options': [None, 'Recursion Timings', 'milliseconds', 'Unbound', 'unbound.recursion', 'line'], |
36 | 36 | 'lines': [ |
37 | | - ['recursive_avg', 'average', 'absolute', 1, PRECISION], |
38 | | - ['recursive_med', 'median', 'absolute', 1, PRECISION] |
| 37 | + ['recursive_avg', 'average', 'absolute', 1, 1], |
| 38 | + ['recursive_med', 'median', 'absolute', 1, 1] |
39 | 39 | ] |
40 | 40 | }, |
41 | 41 | 'reqlist': { |
|
83 | 83 | ] |
84 | 84 | }, |
85 | 85 | '_recursion': { |
86 | | - 'options': [None, '{longname} Recursion Timings', 'seconds', 'Recursive Timings', |
| 86 | + 'options': [None, '{longname} Recursion Timings', 'milliseconds', 'Recursive Timings', |
87 | 87 | 'unbound.threads.recursion', 'line'], |
88 | 88 | 'lines': [ |
89 | | - ['{shortname}_recursive_avg', 'average', 'absolute', 1, PRECISION], |
90 | | - ['{shortname}_recursive_med', 'median', 'absolute', 1, PRECISION] |
| 89 | + ['{shortname}_recursive_avg', 'average', 'absolute', 1, 1], |
| 90 | + ['{shortname}_recursive_med', 'median', 'absolute', 1, 1] |
91 | 91 | ] |
92 | 92 | }, |
93 | 93 | '_reqlist': { |
|
117 | 117 | 'total.requestlist.exceeded': ('reqlist_exceeded', 1), |
118 | 118 | 'total.requestlist.current.all': ('reqlist_current', 1), |
119 | 119 | 'total.requestlist.current.user': ('reqlist_user', 1), |
| 120 | + # Unbound reports recursion timings as fractional seconds, but we want to show them as milliseconds. |
120 | 121 | 'total.recursion.time.avg': ('recursive_avg', PRECISION), |
121 | 122 | 'total.recursion.time.median': ('recursive_med', PRECISION), |
122 | 123 | 'msg.cache.count': ('cache_message', 1), |
|
141 | 142 | '{shortname}.requestlist.exceeded': ('{shortname}_reqlist_exceeded', 1), |
142 | 143 | '{shortname}.requestlist.current.all': ('{shortname}_reqlist_current', 1), |
143 | 144 | '{shortname}.requestlist.current.user': ('{shortname}_reqlist_user', 1), |
| 145 | + # Unbound reports recursion timings as fractional seconds, but we want to show them as milliseconds. |
144 | 146 | '{shortname}.recursion.time.avg': ('{shortname}_recursive_avg', PRECISION), |
145 | 147 | '{shortname}.recursion.time.median': ('{shortname}_recursive_med', PRECISION) |
146 | 148 | } |
|
0 commit comments