SigNoz / signoz

SigNoz is an open-source observability platform native to OpenTelemetry with logs, traces and metrics in a single application. An open-source alternative to DataDog, NewRelic, etc. 🔥 🖥. 👉 Open source Application Performance Monitoring (APM) & Observability tool
https://signoz.io
Other
19.45k stars 1.31k forks source link

Signoz Cleanup #4308

Open kmantresh opened 10 months ago

kmantresh commented 10 months ago

Is your feature request related to a problem?

Please describe.

Describe the solution you'd like

Is there any cli option for signoz cleanup ? something like: docker compose exec signoz cleanup --days

Describe alternatives you've considered

If not then can we do it with any other command?

Additional context

Add any other context or screenshots about the feature request here.

We are using docker compose.

Thank you for your feature request – we love each and every one!

welcome[bot] commented 10 months ago

Thanks for opening this issue. A team member should give feedback soon. In the meantime, feel free to check out the contributing guidelines.

srikanthccv commented 10 months ago

There is no such tool exists as of now. What are you specifically trying to achieve? The old data gets removed eventually with the TTL.

kmantresh commented 10 months ago
Screenshot 2024-01-10 at 6 38 40 PM

When the retention period is already set to 3 days then why it is showing "failed"? Disk usage is also reduced. But why this message?

srikanthccv commented 10 months ago

How much did it reduce, if the status is failed then the effective TTL is not changed.

kmantresh commented 10 months ago

reduced from 54% usage to 37% usage. Again the same thing is happening.

Screenshot 2024-01-11 at 10 41 47 AM