influxdata / influxdata/influxdb
ADTK Anomaly
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
Hello,
Concerning influxdb3.3-core
I try the ADTK Anomaly Detector Plugin. and i have these errors:
2025-08-01 10-04-00 [INFO] finished execution in 157ms 567us 167ns
2025-08-01 10-04-00 [ERROR] [d019b175-badd-4fa0-8360-31934fd3d8ae] No valid detectors applied to _3ddlmlite.co2
2025-08-01 10-04-00 [WARN] [d019b175-badd-4fa0-8360-31934fd3d8ae] Failed to apply detector LevelShiftAD: No numeric types to aggregate
2025-08-01 10-04-00 [INFO] [d019b175-badd-4fa0-8360-31934fd3d8ae] Applying detector LevelShiftAD with params {'window': 1440}
2025-08-01 10-04-00 [WARN] [d019b175-badd-4fa0-8360-31934fd3d8ae] Failed to apply detector QuantileAD: unsupported operand type(s) for -: 'str' and 'str'
2025-08-01 10-04-00 [INFO] [d019b175-badd-4fa0-8360-31934fd3d8ae] Applying detector QuantileAD with params {'high': 0.98}
2025-08-01 10-04-00 [WARN] [d019b175-badd-4fa0-8360-31934fd3d8ae] Failed to apply detector ThresholdAD: 'ThresholdAD' object has no attribute 'fit'
2025-08-01 10-04-00 [INFO] [d019b175-badd-4fa0-8360-31934fd3d8ae] Applying detector ThresholdAD with params {'high': 500}
2025-08-01 10-04-00 [INFO] starting execution with scheduled time 2025-08-01 08:04:00 UTC
My configuration:
Detector_params
{
"ThresholdAD": {
"high": 500
},
"QuantileAD": {
"high": 0.98
},
"LevelShiftAD": {
"window": 1440
}
}
Contributor guide
Research direction
Start by reproducing the reported configuration in influxdb3.3-core using the shown detector_params and the ADTK plugin logs. Inspect how the plugin supplies series values to ThresholdAD, QuantileAD, and LevelShiftAD, and verify detector compatibility with those inputs. Done means the configured detectors run without the listed errors and produce anomaly results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100