Deleting traces and events older than 30 days in Langfuse self-hosted OSS #7460
|
Hello, I'm using the self-hosted OSS version of Langfuse v3 and would like to know if there is any way to delete traces and events that are older than 30 days. Is there a recommended approach or configuration for this in the open-source version? Any guidance would be appreciated. Thank you! |
Replies: 3 comments
|
There isn't a built-in or configurable way to automatically delete traces and events older than 30 days in the self-hosted OSS version of Langfuse. Automated data retention and cleanup are only available in the enterprise edition and require a license key (docs, feature overview). For OSS users, you can manually delete traces using the API: single traces via There are no official or community-provided scripts for this, so you'll need to implement a solution that fits your setup. If you need automated retention, upgrading to the enterprise version is required. To reply, just mention @dosu. Share context across your team and agents. Try Dosu. |
|
Got the same issue here. The storage usage of our self hosted Langfuse is growing quickly. There's no data retention feature for self hosted instances, which is only available for cloud-based plans. |
You can delete by query. https://github.com/orgs/langfuse/discussions/2268#discussioncomment-10201896
Project-level WebUI is still in ee and cannot be deleted on self-hosted systems |
You can delete by query.
https://github.com/orgs/langfuse/discussions/2268#discussioncomment-10201896
Project-level WebUI is still in ee and cannot be deleted on self-hosted systems