InfluxDB information (database size) as sensor in Home Assistant

You put it in the sensors section of your config. Like this:

It does not work well. It only gives an approximation of the size and often reports zero.