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
Alexey Velikiy
e412642ac2
rm alarting
6 years ago
Alexey Velikiy
0414ff4256
fix Server is stopping only after second Ctrl-C #96
6 years ago
Alexey Velikiy
1c473d129d
upperase literals + server start bugfix
6 years ago
Alexey Velikiy
753b7a0589
Zmq basic fs #97 ( #104 )
...
* async fs context manager
* ServerMessage class and using it
* handle resps
* requests to node & file saving ++
* fx FILE_GET -> FILE_LOAD
* ds usage
* basic files saving
6 years ago
Alexey Velikiy
42356821ad
Missing communication between analytics and server in production #91 ( #95 )
...
* analytics ipc config via env vs dev mode
* binding to zmq before child python start
* better usage of ipc and handling server process stopping
* ipc via /tmp
* ZQM_DEV_PORT to config
7 years ago
Alexey Velikiy
95b5f69788
config paths fixs
7 years ago
Alexey Velikiy
081b9607cb
Use anomaly IDs #42
7 years ago
Alexey Velikiy
821ce12912
_taskId missed once
7 years ago
Alexey Velikiy
56969bdb9d
__task_id -> _taskId
7 years ago
Alexey Velikiy
811ffb7d5f
Return analytic status #71
7 years ago
Alexey Velikiy
e605d699ba
some renamings
7 years ago
Alexey Velikiy
1943785db9
more refactoring
7 years ago
Alexey Velikiy
1d7b0e1d8d
services vs controllers refactoring
7 years ago
Alexey Velikiy
9e11c9e34a
services->controllers
7 years ago