Add support for float values for time_multiplier in web_log
Ali Borhani committed
Jul 25, 2018 at 11:14 UTC
fdecdc186c672aed994a7a3a4cf7ae102994eb89
1 file changed
+1
-1
python.d/web_log.chart.py
+1
-1
@@ -629,7 +629,7 @@ class Web:
629
630
resp_time_func = self.configuration.get('custom_log_format', dict()).get('time_multiplier') or 0
631
632
- if not isinstance(resp_time_func, int):
632
+ if not isinstance(resp_time_func, (int, float)):
633
return find_regex_return(msg='Custom log: "time_multiplier" is not an integer')
634
635
try: