Log warning(s) when write delays

Hi Experts,

Is it possible to configure and log warning messages when write delays?
For example, I want influxdb to generate the warnings when write delays by 1 second.
I’d like to be notified when write delays occurr.
I’m using influxdb v1.7.9 on CentOS7.

Many thanks in advance,