Max values per tag limit exceeded - InfluxDB

I have ran into this issue where my log spits out the following error:

"error":"partial write: max-values-per-tag limit exceeded (100000/100000)

I get what it means and I’ve tried to follow advice from the article below

Max values per tag limit exceeded InfluxDB - Stack Overflow

But i’m missing the files that are required to change in this walkthrough

I’m running:

Home Assistant 2023.8.4
Supervisor 2023.08.1
Operating System 10.5
Frontend 20230802.1 - latest

Please advise, more information available upon request!

Thank you in advance!!!

1 Like

Hello, sorry for replying for old topic but I’ve found how to solve that problem.
Settings → Addons → InfluxDB → Config → In Option section use three dot in right top and use Edit in YAML and add at the end:

envvars:
  - name: INFLUXDB_DATA_MAX_SERIES_PER_DATABASE
    value: "0"
1 Like

For anyone else having the issue, the environment variable is now called INFLUXDB_DATA_MAX_VALUES_PER_TAG (it would be good to figure out how to prune the db, 100K values is definitly not healthy)