sanke1
ccda13d7e8
Grafana url to config #114 ( #337 )
6 years ago
rozetko
d300362b49
Fix threshold detector ( #331 )
6 years ago
rozetko
68f47f78f7
Threshold detector #324 ( #330 )
6 years ago
Coin de Gamma
e32b1ad2e0
No detections after fresh learning #298
6 years ago
rozetko
a27344ff2b
Fix grammar
6 years ago
rozetko
d32b4ec479
Handle sendWebhook errors ( #306 )
6 years ago
rozetko
77fbde6fa3
Error: detect missing cache #299 ( #302 )
...
* Pass cache to detect
* rename AnalyticUnitCache to ModelCache
* Send .data from cache
* Drop nans from bucket && set window size from cache && check cache None
* Read proper payload on DETECT message
6 years ago
rozetko
053e1a4e9d
Update Data Puller state #294 ( #295 )
...
* Get analytic unit from db each puller tick
* Use async iterator to pull and push data
* Fix webpack config for proper babel-polyfill usage
* Add MetricDataChunk type
* Add pattern field to payload
6 years ago
Evgeny Smyshlyaev
d4f6783652
Pull / push data from Grafana to analytics #267 ( #290 )
...
* add data puller
* Do not send response on PUSH event
* Stub analytics PUSH message handling
6 years ago
rozetko
bfeb0df9c2
Restore hooks API #149 ( #287 )
...
* Add webhook settings to config
* Update notification service
* Remove alerts controller
* Remove alerts router
* Add alert field to analytic unit
* Add endpoints:
- GET analyticUnits/units
- PATCH analyticUnits/alert
* Rename sendNotification -> sendWebhook
* Change webhook payload
* Send webhook on detection
6 years ago
rozetko
96b33f46ed
Error: Missing lastPredictionTime in result #285 ( #286 )
6 years ago
Evgeny Smyshlyaev
c02be4cbfc
Rename predict to detect #279 ( #284 )
...
* dummy rename
* fixes
* renaming in analytics
6 years ago
Alexey Velikiy
4f4b25d9a3
Analytic unit predict event #277 ( #280 )
6 years ago
Alexey Velikiy
ce8523fafa
Cancel learning on analytic unit deletion #266 ( #269 )
...
* basic cancelation in analytics
* cancelation task on node
* basic cancelation in analytics
6 years ago
Evgeny Smyshlyaev
826c39c749
Improve timerange logging ( #232 )
6 years ago
Evgeny Smyshlyaev
fa7a7b86c5
Tests for old segments deleting #209 ( #220 )
6 years ago
Evgeny Smyshlyaev
c1ae1a9b19
Server logs improvements #48 ( #205 )
...
improve logs
6 years ago
Evgeny Smyshlyaev
c3ca05f1f8
Old segments are not deleted #198 ( #204 )
...
fix Old segments are not deleted #198
6 years ago
Evgeny Smyshlyaev
840cc1a035
WIP: Server info v2 #167 ( #194 )
...
improve server info
6 years ago
Evgeny Smyshlyaev
df4866ce29
Anti-segments do not fall into analytics #181 ( #190 )
6 years ago
amper43
4234a97475
concat deleted segments
6 years ago
rozetko
7ffb712561
Adjust to new queryByMetric return type ( #163 )
6 years ago
Alexey Velikiy
dffcb94489
Integrate grafana datasource kit #158 ( #159 )
...
* add grafana-datasource-kit to deps
* usage of grafana-datasource-kit
6 years ago
rozetko
74ea83c0b6
Reduce amount of required labeled segments for learning #147 ( #153 )
...
* rm labeled segments amount check && change query range algorithm
* review fix
* typo fix
* minor fix
6 years ago
rozetko
504283d918
Anti-segments #142 ( #150 )
...
Node.js part of #142
- Merge segments while inserting
- Add deleted flag to segments
6 years ago
sanke1
cb0140381e
use current date instead if last labeled segment + diff ( #143 )
6 years ago
rozetko
d1ca327b0d
Improve all models
6 years ago
rozetko
264c6cb103
Change Grafana query range from 10% of segments diff to 100%
6 years ago
rozetko
c2c3925979
Make all models work && add reverse peak model ( #124 )
...
- Subtract min value from dataset before passing to model
- Rename StepModel -> DropModel
- Use cache to save state in all models
- Return `Segment { 'from': <timestamp>, 'to': <timestamp>}` instead of `Segment { 'from': <index>, 'to': <index>}` in all models
- Integrate new peaks model (from https://github.com/hastic/hastic-server/pull/123 )
- Integrate new reverse-peaks model (from https://github.com/hastic/hastic-server/pull/123 )
- Refactor: make `predict` method in `Model` not abstract and remove it from all children
- Refactor: add abstract `do_predict` method to models
6 years ago
rozetko
9b3a68d4cd
Make drops work ( #121 )
6 years ago
Alexey Velikiy
21ae735c54
Analytic unit cache v2 ( #122 )
6 years ago
Alexey Velikiy
955f2821e3
Analytic unit cache start #117 ( #120 )
6 years ago
rozetko
e884015587
Fix prediction ( #118 )
6 years ago
rozetko
6420f16c3d
Fix learning ( #116 )
6 years ago
Coin de Gamma
7c559046c1
grafana influx quering
6 years ago
Coin de Gamma
1698f4b640
improve error handling from grafana_service
6 years ago
rozetko
d50a9d901e
Fix node Error: TaskResut [id] has no resolver
6 years ago
rozetko
a8a8220cf7
WIP: Query grafana from node ( #109 )
...
* Fix: analytic_unit_worker get_model -> get_predictor
* Fix analyticUnit.fromObject arguments order
* Make Grafana querying work
6 years ago
Coin de Gamma
e249a8e6b2
grafana service continue
6 years ago
Coin de Gamma
bc9041daa5
pending status to controller & pretty code
6 years ago
Coin de Gamma
12fdb9d179
mv updateSegments to controller and pending status
6 years ago
Coin de Gamma
13df2b4349
taskresolver type + metric._id
6 years ago
Coin de Gamma
6395bcc26e
_taskId -> id and runTask++
6 years ago
Coin de Gamma
69c3de355b
learning++ and better models
6 years ago
Coin de Gamma
b2c48242c9
Task definition + some refactorings
6 years ago
Coin de Gamma
de68788c8d
task model + tsconfig checksfix + segments parse++
6 years ago
Coin de Gamma
590f3fdf76
strict any checks
6 years ago
Alexey Velikiy
1d35992384
models++
6 years ago
Alexey Velikiy
dc6c120261
serments / metrics models refactoring
6 years ago
Alexey Velikiy
8a49e2dba2
big models refactoring
6 years ago