You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started multiple processes in the production environment over time 'PROMETHEUS_ MULTIPROC_ ‘ There will be more and more files under dir. How can I establish cleaning rules and the volume of responses returned by the 'metrics' endpoint will eventually exceed the connection time. Any help would be greatly appreciated.
That is really up to you and how your system works. Ideally whatever starts your service can delete all of the files inside of the directory before starting your service. Another idea is to create a temporary directory for each service and let the host clean them up when restarting.
Activity
csmarchbanks commentedon Jul 5, 2023
That is really up to you and how your system works. Ideally whatever starts your service can delete all of the files inside of the directory before starting your service. Another idea is to create a temporary directory for each service and let the host clean them up when restarting.