amper43
fb53633fed
fix uncommited
6 years ago
amper43
15fd7a2b38
WIP
6 years ago
rozetko
00252386c5
Bump version to 0.2.3-alpha
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
ddb485089b
Update grafana-datasource-kit dep version
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
Coin de Gamma
d302703abd
rm basic test & text fix in config.jest
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
rozetko
efcdf29a3e
Bump version to 0.2.2-alpha
6 years ago
sanke1
cb0140381e
use current date instead if last labeled segment + diff ( #143 )
6 years ago
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