sanke1
b4698c82b7
integrate jest ( #139 )
...
add basic test to see if works
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
Coin de Gamma
1698f4b640
improve error handling from grafana_service
6 years ago
rozetko
1299a7eb6e
Fix GET /analyticUnits/status ( #112 )
...
* redo code in getStatus method
6 years ago
rozetko
d50a9d901e
Fix node Error: TaskResut [id] has no resolver
6 years ago
rozetko
fb96cf45ce
Get all data from Grafana's datasource by chunks ( #111 )
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
5c0ad89b61
py payload task into learn/predict + removing grafana_data_provider from py begin
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
2fb4e5a289
uid for task and better messages / tasks sending via analytics service
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
16f3422224
correct saving of segments & removing many
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
Coin de Gamma
1d047087b4
async bugfxs
6 years ago
Coin de Gamma
bacf05da9c
db-many querys & usage in segments
6 years ago
sanke
7dd4f9bf18
make npm run build work
...
rename functions
6 years ago
Alexey Velikiy
1d35992384
models++
6 years ago
Alexey Velikiy
7fde0b3d40
use os.tmp path
6 years ago
Alexey Velikiy
00e09cfe22
metrics db path usage fix
6 years ago
Alexey Velikiy
dc6c120261
serments / metrics models refactoring
6 years ago
Alexey Velikiy
8a49e2dba2
big models refactoring
6 years ago
rozetko
fb04315755
nedb using begin
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
6 years ago
rozetko
7f03d3fafd
NeDB integration #85 ( #87 )
...
* Add module
* Add database paths
* Initialize databases
6 years ago
rozetko
c39da06c6a
Learning error: Can't find Analytic Unit with id undefined #83 ( #84 )
6 years ago
sanke1
b023611e0d
Return version of server#66 ( #76 )
...
* Log server version on start-up
* remove empty lines
* move server version message to url status message
change server version to actual
6 years ago
Alexey Velikiy
a2dc9c41a9
Analytics wont start in production mode #77 ( #78 )
6 years ago
Alexey Velikiy
02160209e2
Server/Analytics - Client/Server switch #75 & #74 & #72
6 years ago
Alexey Velikiy
f7a63cefaf
small refactoring
6 years ago