N
Neon2mo ago
fascinating-indigo

Hello, I am currently on the free plan

Hello, I am currently on the free plan and I can see that the compute usage for my main branch is 12 hours and staging branch is less than 1 hour. However my overall compute usage in my dashboard is showing up as 35 hours for the month of July. Morever, from the metrics I can see that the compute is currently active even though there is no usage on my app. Could you please help? Thanks in advance!
8 Replies
deep-jade
deep-jade2mo ago
Hi, did you have any branches that you used and removed? Those could have used compute hours. Regarding your compute being active, do you have any clients, apps, or integrations that might be pinging your compute and keeping it active?
wise-white
wise-white2mo ago
Hello. I never had any branches other than main and staging. I don't have any clients pinging my compute except for perhaps the neon dashboard which I was checking frequently to look at the metrics to see if the compute is still active or not. I am using Vercel if that helps
deep-jade
deep-jade2mo ago
In Vercel, are you using the preview branch feature (creating a Neon branch with each PR)? One thing you might check is your System operations page to see when computes are being started and suspended: https://neon.com/docs/manage/operations#view-operations
Neon
System operations - Neon Docs
An operation is an action performed by the Neon Control Plane on a Neon object or resource. Operations are typically initiated by user actions, such as creating a branch or deleting a database. Other ...
wise-white
wise-white2mo ago
Yes, I do use the preview branch feature. Although I have only had 2 branches until just now when I created and commited a new branch. My previous commit was a week ago. I did take a look at system operations and I do see a lot of start and stop compute operations but I am unable to figure out what is causing them I can see even now that the compute is active but I can't see any vistors on my website as per my internal analytics. Is there a way for me to know who is the client pining the server?
deep-jade
deep-jade2mo ago
Try taking a look at active queries & query history: https://neon.com/docs/introduction/monitor-active-queries
Neon
Monitor active queries - Neon Docs
You can monitor active queries for your Neon project from the Monitoring page in the Neon Console. 1. In the Neon Console, select a project. 2. Go to Monitoring. 3. Select the Active Queries tab. The ...
deep-jade
deep-jade2mo ago
By default, computes should go idle (scale to zero) after 5 minutes of inactivity
wise-white
wise-white2mo ago
Hi, I see some queries being run by Neon itself to gather metrics for reporting the health, etc. Does this get counted towards the compute hours as well? If yes, would it possible to share an approximate number as to how much compute Neon internally uses?
deep-jade
deep-jade2mo ago
can you post a screen cap of what you are seeing, assuming no sensitive information?

Did you find this page helpful?