Logs: let us filter, sample or turn off API gateway (edge_logs) ingest #51817
Unanswered
abdatta
asked this question in
Feature Requests
Replies: 1 comment 5 replies
|
Hi @abdatta, thanks for posting your experience with logs. Appreciate the work you've done to reduce your ingest by 30% and hopefully we're on the right path to deliver something that reduces this problem, with less effort in the future. We've put together a mock of what this could look like in the future. The data in the video is dummy data for demo purposes. Similar to your first idea, you would get a per-project setting to manage your logs ingest. In this mock, we do not keep historical context of your ingest if you are switched "off" or set to "min". While we address feasibility, it would be great to get your thoughts on:
Look forward to hearing your thoughts! debug-mode-public-demo-converted.mp4 |
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
We run a small restaurant point-of-sale app on the Free plan: a few tablets in one shop. Under the new Logs Ingest quota we're on course for about 2 GB a month against 1 GB included. Everything else we use is far inside the free limits.
We measured where it comes from: about 96% is
edge_logs, one ~2.8 KB line per API request (about 30,000 requests a day). Our Postgres settings are already at their quietest defaults, so the levers in the Manage Logs Ingest guide don't apply. Support confirmed there is no setting today that lowers API-gateway log volume. We've already cut our own requests by about 30%, and we're still over.We read these logs only to investigate an incident, and would happily trade detail for volume. Any of these would solve it:
OPTIONS) requests, which are ~9% of ours.Related: #50925 (the pricing announcement, where another team reports Postgres is under 1% of their volume) and #51306 (pooler health-check logs filling a Free plan's quota).
All reactions