falcosecurity / falcosidekick-ui

A simple WebUI with latest events from Falco
Apache License 2.0
113 stars 16 forks source link

Graphs show events with a future date #141

Closed pentago closed 1 month ago

pentago commented 7 months ago

Describe the bug

Graphs can show events with a future date. And it's changing depending on the "Since" period selected.

If I pick "1 month", the graph displays the event as it happened today. (not true) If I pick "1 year", the graph displays the event as it will happen on May 1. (not true)

The actual event occurred like a week ago.

image

image

Actual occurrence date: image

How to reproduce it

Select a time range longer than 24 hours.

Expected behaviour

The graph should display the correct event time.

Environment

Additional context N/A

Issif commented 7 months ago

this is strange, I'll try to create fake data to reproduce the bug. thanks

Issif commented 7 months ago

OK, I found the problem, I need to work on the algorithm I implemented to aggregate the data in buckets. Don't know yet if I can improve it. I'm facing more and more issues with the Redis used as backend and I'm considering more and more to replace it. Will keep you updated anyway.

pentago commented 7 months ago

Amazing, thanks a ton!

poiana commented 3 months ago

Issues go stale after 90d of inactivity.

Mark the issue as fresh with /remove-lifecycle stale.

Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle stale

poiana commented 2 months ago

Stale issues rot after 30d of inactivity.

Mark the issue as fresh with /remove-lifecycle rotten.

Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle rotten

poiana commented 1 month ago

Rotten issues close after 30d of inactivity.

Reopen the issue with /reopen.

Mark the issue as fresh with /remove-lifecycle rotten.

Provide feedback via https://github.com/falcosecurity/community. /close

poiana commented 1 month ago

@poiana: Closing this issue.

In response to [this](https://github.com/falcosecurity/falcosidekick-ui/issues/141#issuecomment-2379627400): >Rotten issues close after 30d of inactivity. > >Reopen the issue with `/reopen`. > >Mark the issue as fresh with `/remove-lifecycle rotten`. > >Provide feedback via https://github.com/falcosecurity/community. >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.