grafana / pyroscope

Continuous Profiling Platform. Debug performance issues down to a single line of code
https://grafana.com/oss/pyroscope/
GNU Affero General Public License v3.0
10.09k stars 610 forks source link

Configuration setup for instant data saving and loading in Pyroscope #3641

Open susaasus1 opened 3 weeks ago

susaasus1 commented 3 weeks ago

Hello guys! Thanks for such a great tool! I have a question: is there a way to configure Pyroscope for instant data saving so that after a reboot, it can immediately load the data once it starts? We have an issue where we run Pyroscope in Docker, and the data and data-compactor directories are set as host volumes. We have a scheduled restart every day at 3 AM, but after the restart, we lose data for about 15 minutes before the restart, meaning from 2:45 to 3:02 there is no data available after the restart. Is there a way to prevent data loss and ensure the data is loaded?"

Example: Image

bryanhuhta commented 1 week ago

@susaasus1 Can you share your config.yaml settings?