QBH-insist opened a new issue, #3647: URL: https://github.com/apache/hertzbeat/issues/3647
### Is there an existing issue for this? - [x] I have searched the existing issues ### Current Behavior I modified the slow SQL monitoring settings in the built-in PostgreSQL monitoring template. After restarting, the actual monitoring effect remained as it was before the modification. However, the modified content was not lost, and I had to save and apply it again for it to work properly. I am using an external PostgreSQL database, and the following is the mounting status. <img width="180" height="129" alt="Image" src="https://github.com/user-attachments/assets/2a859d60-f595-4a18-ab2a-90783c9f739d" /> Normal: > I restrict SQL to only query slow SQLs that take more than 5000ms.  UnNormal:  ### Expected Behavior After restarting, the monitoring remains normal. ### Steps To Reproduce Modify the slow SQL module of PostgreSQL, and change the SQL to: > select * from pg_stat_statements WHERE calls > 0 and mean_exec_time > 5000 and query NOT ILIKE '%pg_backup_start%' ORDER BY mean_exec_time DESC; ### Environment ```markdown HertzBeat version(s): 1.7.2 ``` ### Debug logs _No response_ ### Anything else? I see that there is a similar issue for this problem, and the associated task has been completed. Has this fix not been merged into the 1.7.2 branch? https://github.com/apache/hertzbeat/issues/3277 https://github.com/apache/hertzbeat/issues/3279 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@hertzbeat.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@hertzbeat.apache.org For additional commands, e-mail: notifications-h...@hertzbeat.apache.org
