Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Duplicate entry for the last date in db while running Anomaly Detection daily #451

Closed
Amatullah opened this issue Dec 1, 2021 · 0 comments
Assignees
Labels
🛠️ backend 🐛 bug Something isn't working

Comments

@Amatullah
Copy link
Member

Describe the bug

While running Anomaly Detection daily for a KPI, we get a duplicate entry for the last date that is stored in the database.

Explain the environment

  • Chaos Genius version: 0.1.3-alpha
  • OS Version / Instance: AWS EC2
  • Deployment type: setup from scratch

Current behavior

For example: we set up a KPI and for the first time and Anomaly Detection runs until Nov 23. Then next day when anomaly runs, we'll predict confidence intervals for Nov 24th but will also add the Nov 23rd entry again. The next day we predict for Nov 25th but also will add an entry for Nov 24th again and so on....

Expected behavior

Duplicate entries for the last date in the database should not exist.

Screenshots

Screenshot from 2021-12-01 12-45-30

@Amatullah Amatullah added 🐛 bug Something isn't working 🛠️ backend labels Dec 1, 2021
@Amatullah Amatullah self-assigned this Dec 1, 2021
kartikay-bagla added a commit that referenced this issue Jan 19, 2022
fix(anomaly): Fix multiple entries in db for anomaly + Resolves #451
@varunp2k varunp2k assigned varunp2k and unassigned Amatullah Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🛠️ backend 🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants