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
Evgeny Smyshlyaev
ec3a3a093a
Analytic unit worker bucket #273 ( #297 )
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
rozetko
ca1ce4610a
Minor fix of PATCH /analyticUnits/alert
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
rozetko
ff60ff64ef
Shorten commit hash
6 years ago
Evgeny Smyshlyaev
826c39c749
Improve timerange logging ( #232 )
6 years ago
Alexey Velikiy
005097dde0
Analytics project structure improvement #215 ( #228 )
...
* bin & analytics folders
* sys path & config relocation
* fix analytics path in node
6 years ago
rozetko
f3e8de3d4d
WIP Synchronize data with panel #224 ( #225 )
...
* start
* Merge master
* Add Panel model
* Minor fixes
* Add panel router
6 years ago
rozetko
dfd2dd3673
Specific error messages #201 ( #222 )
...
* Improve error messages in /analyticUnits
* Improve /segments error messages
6 years ago
Evgeny Smyshlyaev
43b027e470
Unit testing for analytics project #216 ( #223 )
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
de3b64ce95
Decouple processes to different docker containers#187(WIP) ( #188 )
...
analytics and server moved to separate containers, added docker-compose file
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
amper43
aa43bac335
fix analytics restart
6 years ago
amper43
3e51fd027a
fix according review
6 years ago
amper43
8fa210d23f
remove debug logging
6 years ago
amper43
3042ddc81b
fix compose
6 years ago
amper43
f72cc35589
fix ZMQ connection string
6 years ago
amper43
fb53633fed
fix uncommited
6 years ago
amper43
15fd7a2b38
WIP
6 years ago
rozetko
d6d0b9f36a
Support datasource kit interface #176 ( #177 )
...
* Fix indentation in drop model
* Update datasource-kit version
* GrafanaMetric -> Metric
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
Coin de Gamma
b7dcac1099
consistent @types/* and deps versions
6 years ago
Alexey Velikiy
29d6c41bc5
add node env ( #155 )
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
126eec22a5
Add empty config field check
6 years ago
rozetko
34ad34eda6
Change compiled analytics path: dist/worker/worker -> dist/server/server
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
64bbcb8065
better metrics trnslation / quering
6 years ago