loudml
loudml copied to clipboard
Duplicate anomaly entries in InfluxDB?
Hi,
I am running several anomaly detection jobs. When I look into InfluxDB, it seems that when is_anomaly changes status, two records are created for that timestamp. See records 2 and 3 below.
Is that behaviour expected?
time model model_name mean_failure_mode_1 score is_anomaly anomaly_status
---- ----- ---------- ------------------- ----- ---------- --------------
1580403600000000000 aim-node-46723882__ch2__failure_mode_1 0.3775120148114921 100 True 1
1580407200000000000 aim-node-46723882__ch2__failure_mode_1 0.38008717751257814 100 False 0
1580407200000000000 aim-node-46723882__ch2__failure_mode_1 0.38008717751257814 100 True 1
1580410800000000000 aim-node-46723882__ch2__failure_mode_1 0.3795956704750215 0 False 0
1580414400000000000 aim-node-46723882__ch2__failure_mode_1 0.37737991024554374 0 False 0
1580418000000000000 aim-node-46723882__ch2__failure_mode_1 0.37274638874854527 0 False 0
1580421600000000000 aim-node-46723882__ch2__failure_mode_1 0.3605105217292659 0 False 0
Please let me know if I can assist with debugging.
Strange. The model-name should be a tag. In fact, every data point written to the TSDB should be tagged with the model-name and this should avoid duplication.