Hi ,
Thanks for reaching out to Microsoft Q&A.
The unavailability of metric data for your Azure db for PostgreSQL Single Server, is unlikely to be directly related to the retirement of the Single Server offering. While Azure is transitioning customers to the Flexible Server deployment option, this transition does not typically cause sudden metric data disruptions unless specific migration activities are in progress. The issue might be due to a temporary problem with Azure Monitor or a regional service degradation affecting metric collection. It’s recommended to check the Azure Service Health Dashboard for any ongoing incidents in your region, and verify if the Diagnostic Settings and Monitoring configurations are intact. If the resource itself is running without performance issues, this is likely a monitoring-related issue rather than a database-specific problem. For immediate assistance, consider raising a support request with azure support.
Please feel free to click the 'Upvote' (Thumbs-up) button and 'Accept as Answer'. This helps the community by allowing others with similar queries to easily find the solution.