Hello,
This is probably my first post here. I been using HA for a few years now and i have reached the max size (16GB) of the sqlite db for my HA on synology docker.
my question is:
how can i apply the storage folder and retentionperiod to victoriametrics that is running in docker (not docker-compose) under synology? has anyone tried that before?
Currently, its running but the retention period is just 1 which i assume is a month. i am able to send data to it and i can see it using grafana.
but i am unable to find where the db is located and also at a loss at how to update the config since i cant find the folder it resides in.
if this is not tenable, please point me to a guide that can help me do the proper install?
edit*
i searched for hours before writing here, in both HA and synology forums to no avail. i tried various key words in various combinations. but it always just leads back to the victoriametrics doc and docker compose. (but not docker-compose. Whats the difference?) i have an older NAS DS1515+ so i guess i have older software running? and maybe thats my limitation? all the samples i’ve seen uses docker compose but not synology docker so i’m stuck…
end of edit*
Thank You!
ps. if this is the wrong category. apologees and please let me know which to use?
-retentionPeriod value
Data with timestamps outside the retentionPeriod is automatically deleted. The minimum retentionPeriod is 24h or 1d. See also -retentionFilter
The following optional suffixes are supported: s (second), h (hour), d (day), w (week), y (year). If suffix isn't set, then the duration is counted in months (default 1)
You can set it by adding this flag to the docker-compose.yml at the command section. For example: