Comments (3)
I'm really interested in this. We'll have to abstract the current redata.alerts.base.alert_on_z_score
. For starters, this can be a function/class that accepts:
- the current inputs
- a function of type
(Iterable[Float], Dict[?]) -> Float
- a params argument(which holds thresholds, etc) that is consumed by the function in (2)
This approach should allow for having a library of custom anomaly detectors that anyone can contribute to without worrying about redata itself.
Another interesting thing is to return the values which are anomalous. Not sure how to approach this because it may not be a scalable solution if for example the anomaly detection is backed by SQL and the dataset is huge.
from re-data.
Yep, exactly for abstracting away alerts_on_z_score
. Not sure that function you mentioned should return Float
I mean I expected it will be returning Bool (alerting or not) optionally with some description of alert?
And actually one more thing here for returning values which are anomalous. As I understand this problem of huge datasets should not be appearing here. I mean those datasets which we are looking for anomalies in are already results of some Redata checks. (Like daily number of rows added etc.) so it shouldn't be huge number of those values gathered. (It will be just 1 or 24 (in case of hourly processing) new values per tracked metric added daily. Correct?
from re-data.
Changes in how re_data works make this not actual (but possibly could still be implemented in dbt package)
from re-data.
Related Issues (20)
- [FEATURE] Add a feature to dbt-re-data ignore anomaly by some constrains (for example on weekends)
- [FEATURE] Exposures.yml to Lineage
- [BUG] test names are not display correctly HOT 1
- [BUG] test reports as success when wrong metric is set
- [BUG] save_test_history macro doesn't store compiled_sql after dbt-core>=v1.3.0 HOT 1
- [FEATURE] Customise email notifications title HOT 1
- [BUG] UI fails on dbt exposure
- Upgrade dbt-core to >= 1.6.0 HOT 3
- [FEATURE]
- [FEATURE] Allow personalisation of the anomaly message
- [FEATURE]Support booleans and add count_true and count_false metrics for booleans HOT 1
- [FEATURE] Only create anomaly only on increase or decrease
- [FEATURE] Filter by DBT Tags in the UI
- [FEATURE] thresholds on alerts in the specific metric
- [FEATURE] different granularities for different metrics
- [BUG] Error on overview generate for when using --re-data-target-dir on new DBT versions
- [BUG] Email notification still sent even without test failures
- [BUG] Unable to see table metrics
- [BUG] target-path config in dbt_project.yaml is deprecated
- [BUG] print_list macro does not honor capitalization
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from re-data.