Logflare / logflare

Never get surprised by a logging bill again. Centralized structured logging for Cloudflare, Vercel, Elixir and Javascript.
https://logflare.app
Apache License 2.0
820 stars 43 forks source link

fix: remove saved search counters usage #2181

Closed Ziinc closed 1 month ago

Ziinc commented 1 month ago

This PR removes usage of the SavedSearchCounters, which is causing db timeouts when deleting a source (due to the very large table that builds up over time).

This table and the related analytics dashboard is obsolete and increases maintenance burden, it is easier to do something with telemetry if we want to analyze LQL usage, which is currently not a business concern.

The underlying db table is left intact, but all application code using it will be removed.

Ziinc commented 1 month ago

@chasers FYI