Hello, It's not possible directly.
One possible workaround that comes to mind is using snapshots. You could take periodic snapshots of the Prometheus database and flush them to the filesystem at a lower frequency, say every 5 minutes, as you mentioned. Then you can sync the snapshot to disk. Note: You can decide to snapshot the head or just the blocks. On 12 Mar 15:18, Marian Velez wrote: > Hi! > I need a hand trying to delay I/O flush operations into the hw/filesystem, > due to poor hardware SSD lifetime. > I'm at this time unable to replace the SSD since I'm at a very remote > location, so in term I was thinking on extending it as match as possible by > flushing prometheus synchronous I/O operations into the filesystem like > every 5 minutes or so. > > Initially I was thinking on doing some kind of hybrid thing in which I run > tmpfs and sync it into the proper FS, but the DB keep breaking due to open > files, which is kind of expected. > > On the other hand, I couldn't find any custom Linux filesystem, fuse or > not, that would allow me to control the underlying FS flushing frequency, > so I was trying to see if I had the ability to do that on the prometheus DB > side. > > Do you have any clue if this is achievable? > > Thanks in advance! > > -- > You received this message because you are subscribed to the Google Groups > "Prometheus Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/4ca96afd-e76d-407c-9006-4e7320bcae74n%40googlegroups.com. -- Julien Pivotto @roidelapluie -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/ZA5dz80u%2BQv9ZoHO%40nixos.

