rozetko
45e276a9f3
Unlabeled segments hastic/hastic-grafana-app#187 ( #432 )
6 years ago
Evgeny Smyshlyaev
231967948c
Webhook about missing connection to grafana #412 ( #431 )
6 years ago
Evgeny Smyshlyaev
7173b5aaa4
Check if there is request result #57 ( #428 )
6 years ago
rozetko
6c85d0292c
TypeError: console.debug is not a function in node 6 #360 ( #361 )
6 years ago
rozetko
8d98007fec
Log all analytics errors #353 ( #356 )
...
* Return error when analytics is not ready
* Log handle_analytic_task exception
* Return error on detection failure
6 years ago
Evgeny Smyshlyaev
0e2efa8e12
Sort segments in process detection result #354 ( #355 )
6 years ago
Evgeny Smyshlyaev
7731007b69
Segments from data puller not in db #350 ( #351 )
...
* improve logging
* set constant window size
* fix
* improve logging, save detected segments from push\pull process
* fix
* fix
* fix according review
* save segemnts, improve bucket managing in analytics
6 years ago
Evgeny Smyshlyaev
54137d5f14
improve logging ( #344 )
...
improve analytic's logging about incoming task, logging on server side about incoming detection results
6 years ago
Evgeny Smyshlyaev
a9904badc9
Save threshold alert state #340 ( #342 )
...
* threshold fixes
* rm webhook debug logging
* fix threshold detection
* .env -> .gitignore
* add alert service
* fix
* fix
6 years ago
rozetko
9b6f5482bc
Fix webhooks ( #341 )
6 years ago
rozetko
4bafca64c5
Endpoint for setting analytic unit metric #338 ( #339 )
6 years ago
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