What happens if I run out of storage?

I read somewhere that influxDb stores every data point. What happens when it runs out of storage? Is there a way to define that max storage space then first in first out?

I’m not sure about restricting disk space as such but you can use retention policies to control how long you keep the data. The oldest data points are deleted as they cross the threshold for the retention policy.

I’d start by looking there

This link is for influx 1.X - I think Influx 2.X uses retention policies as well. I’ve not used it though
https://docs.influxdata.com/influxdb/v1.8/query_language/manage-database/#retention-policy-management