Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

[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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🛠️ backend 🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants