All entities stopped recording and plots show flatlines

I just woke up to my Home assistant not showing the history graphs properly after a certain time tonight

Some examples

image
image
image

my versions

image

image

What are you expecting, exactly?
That someone tells you to check the log? Consider it done.

the records stop at 2.29 15/05/2023

See the “recorder backlog queue” error, it’s the one related to your issue.
Maybe DB corruption, maybe disk full, …

how do I know that the problem is? I have 35GB available so the SD card is not full

This had started working again after restart; tonight it stopped working again

some errors in the core log

Error doing job: Exception in callback SerialTransport._call_connection_lost(SerialExcepti...eset by peer'))
2:27:03 AM – (ERROR) util/async_.py - message first occurred at May 18, 2023 at 12:55:06 PM and shows up 11 times
Watchdog heartbeat timeout:
2:27:03 AM – (WARNING) /usr/local/lib/python3.9/site-packages/bellows/zigbee/application.py - message first occurred at May 18, 2023 at 12:54:29 PM and shows up 42 times
Timeout fetching ShellyVintage-3494546EFD6D data
2:26:19 AM – (ERROR) Shelly - message first occurred at May 18, 2023 at 12:55:07 PM and shows up 44 times
Logger: homeassistant.components.shelly
Source: helpers/update_coordinator.py:197
Integration: Shelly (documentation, issues)
First occurred: May 18, 2023 at 12:55:07 PM (44 occurrences)
Last logged: 2:26:19 AM

Timeout fetching ShellyVintage-3494546EFD6D data
Logger: bellows.zigbee.application
Source: /usr/local/lib/python3.9/site-packages/bellows/zigbee/application.py:735
First occurred: May 18, 2023 at 12:54:29 PM (42 occurrences)
Last logged: 2:27:03 AM

Watchdog heartbeat timeout:
Watchdog heartbeat timeout: EZSP is not running
Logger: homeassistant
Source: util/async_.py:135
First occurred: May 18, 2023 at 12:55:06 PM (11 occurrences)
Last logged: 2:27:03 AM

Error doing job: Exception in callback SerialTransport._call_connection_lost(SerialExcepti...eset by peer'))
Error doing job: Exception in callback SerialTransport._call_connection_lost(SerialExcepti...disconnected'))
Error doing job: Exception in callback SerialTransport._call_connection_lost(None)
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.9/site-packages/serial_asyncio/__init__.py", line 417, in _call_connection_lost
    self._serial.close()
  File "/usr/local/lib/python3.9/site-packages/serial/urlhandler/protocol_socket.py", line 104, in close
    time.sleep(0.3)
  File "/usr/src/homeassistant/homeassistant/util/async_.py", line 173, in protected_loop_func
    check_loop(func, strict=strict)
  File "/usr/src/homeassistant/homeassistant/util/async_.py", line 135, in check_loop
    raise RuntimeError(
RuntimeError: Detected blocking call to sleep inside the event loop. This is causing stability issues. Please report issue

following as have the same.