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
Log Drains are only available on Pro and Enterprise plans. Existing Hobby customers may continue to use Log Drains as configured, but no further usage or configuration is available.
This means we cannot create a new log drain for the IrvineHacks 2025 project on Vercel. We could try and swap with last year's project, but there's no guarantee that will work cleanly with renaming the projects, and that doesn't seem like a sustainable long-term solution (maybe Vercel forcefully disables the existing log drains in the future).
We previously used Axiom which has a Personal plan providing log retention for 30 days along with nice monitoring features such as streaming, querying, and alerting. Perhaps it might be good to invest in another solution with more permanent log retention, but Axiom was decently convenient and free to use. To continue using this with new Vercel projects, we'll need to manually connect Axiom's integrations to the Next.js app and the Python serverless function for the API.
For the Next.js app
Install next-axiom and add the necessary middleware
Include the AxiomWebVitals component in the root layout
Update: considering just temporarily paying for Vercel Pro tier for two months since the interim approach from #487 needs some more work to get nicer contextual data.
Decided for now we'll just swap back the two projects (new and last year's) since we still have the previously created log drain (for now, who knows for how much longer). For next year, would be convenient to just consider paying for good logs during the two months we need them.
Back in May 2024, Vercel announced that Log Drains are now generally available and restricted the usage on Hobby plans
This means we cannot create a new log drain for the IrvineHacks 2025 project on Vercel. We could try and swap with last year's project, but there's no guarantee that will work cleanly with renaming the projects, and that doesn't seem like a sustainable long-term solution (maybe Vercel forcefully disables the existing log drains in the future).
We previously used Axiom which has a Personal plan providing log retention for 30 days along with nice monitoring features such as streaming, querying, and alerting. Perhaps it might be good to invest in another solution with more permanent log retention, but Axiom was decently convenient and free to use. To continue using this with new Vercel projects, we'll need to manually connect Axiom's integrations to the Next.js app and the Python serverless function for the API.
For the Next.js app
AxiomWebVitals
component in the root layoutconsole.error
message ingetUserIdentity.ts
to use aLogger
from next-axiomFor the Python API
AxiomHandler
as a handler to the root logger inindex.py
The text was updated successfully, but these errors were encountered: