Replies: 4 comments 1 reply
-
Timescale schema doesn't use partitions. Next time, please, create a separate issues for different topics |
Beta Was this translation helpful? Give feedback.
-
"psutil" is known to behave differently depending on the used version and operating system, so if getting errors please adjust to your needs. "psutil" documentation here: https://psutil.readthedocs.io/en/latest/ You need to adjust this function: CREATE OR REPLACE FUNCTION get_psutil_disk_io_total(
OUT read_count float8, OUT write_count float8, OUT read_bytes float8, OUT write_bytes float8
)
LANGUAGE plpython3u
AS $FUNCTION$
from psutil import disk_io_counters
dc = disk_io_counters(perdisk=False)
if dc:
return dc.read_count, dc.write_count, dc.read_bytes, dc.write_bytes
else:
return None, None, None, None
$FUNCTION$; |
Beta Was this translation helpful? Give feedback.
-
@pashagolub , May I know which place to adjust, because I'm new to it. I'm using on Redhat 8 with package: python3-psutil.x86_64 version:5.4.3-11.el8 thanks before hand. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hello, I'm getting error when I add my server for testing
below are the ERROR Log:
Beta Was this translation helpful? Give feedback.
All reactions