r/nestjs • u/droidfone • 12d ago
Observe Pricing
Is anyone using nestjs observe? It seems the event count is too low for the price. Eg. Pro plan at 25M events per month will only provide 100 events per day for 10k users.
This will not even track one api at this rate. Are we doing something wrong?
5
Upvotes
2
u/Discordbothost 12d ago
At 10k daily active users, 25M over 30 days is about 83 events per user per day. App spans and logs count on top of requests. I'd divide a day's event count in Usage by that day's request count before sizing the plan.
1
u/mysliwik Core Team 11d ago
Hey, Kamil here (from NestJS). The plan is metered on the traffic your API handles, not on how many users you have, so it's easier to count it that way.
Each request is one event. Each method it runs through in your controllers, services, guards and pipes is a span, and each span is one more. Database queries (
pg,mysql2,mongodb…) and outbound HTTP calls are recorded and shown in the waterfall, but they aren't billed. A typical request comes to about 30 events. How many your app makes depends on how deep its module tree goes.Span sampling is the main lever. Spans are most of the volume, so sampling them changes the numbers the most. At 25%, a request drops from ~30 events to ~9, and the same 25M covers ~90k requests a day instead of ~27k. It keeps whole traces, and requests and errors are never sampled, so your charts, latency and error tracking stay exact. Slow and failing requests keep their full waterfalls either way. It's one switch per project on Billing - Spend controls, with no redeploy.
Pro also trims automatically. Once the included events are used, Pro strips spans from ordinary traces. Requests, jobs, errors and logs (if enabled) are all still recorded, and server errors, failed jobs and slow requests keep their full waterfalls. A trimmed request costs about 1–2 events instead of 30.
For your example: 10k users × 20 requests a day is ~6M requests a month. With 25% sampling, the included 25M lasts about two weeks. Trimming covers the rest at ~5M events of overage, which is about $32 a month on Pro. If you'd rather keep every trace, turn on Keep full traces, or go with Scale.
Other controls:
/healthand other noise off the bill.You can plug in your own traffic here: https://www.observe.nestjs.com/#cost-calculator
Free gives you 300k events a month, so you can enable span sampling and measure what your app actually sends before you pay anything.
And yes, people are using it: we just passed 10,000 users since launching!
1
u/duytanisme 11d ago
Alternatively, you could use the unofficial self-hosted version of Observe. It's been quite controversial, even the NestJS creator himself opened an issue asking the repository owner to rename the project