Alexey Velikiy
29b1977a39
Common mechanism for handling errors #474 ( #475 )
...
* handling middleware
* rm try/catch in routers
6 years ago
Coin de Gamma
d9f27944a2
analytics in status in child-node & status last alive & timestamp
6 years ago
rozetko
2a2fd54d3e
Add tasks to queue when analytics is not ready #468
6 years ago
rozetko
a536bf0a6d
Add active webhooks amount to server status
6 years ago
rozetko
6c1a4e806e
Do not insert found segment if it intersects with deleted #434 ( #442 )
6 years ago
rozetko
7d4d30938a
Minor server fixes ( #438 )
...
* Disable webhook: TypeError: Cannot read property 'toString' of undefined #415
* UnhandledPromiseRejectionWarning #419
6 years ago
Evgeny Smyshlyaev
05390790b6
More info in webhooks #382 && Webhook when datasource unavailable #441 ( #436 )
6 years ago
rozetko
d4c75a2a28
Disable analytics down webhooks
6 years ago
rozetko
77e335e469
Threshold detection runs on creation hastic/hastic-grafana-app#177
6 years ago
rozetko
10f46a6e9b
Hotfix for #416 ( #429 ):
...
- support ip:port scheme
- url-parse -> url
6 years ago
rozetko
45e276a9f3
Unlabeled segments hastic/hastic-grafana-app#187 ( #432 )
6 years ago
rozetko
47efdddf58
Print config options on start #365
6 years ago
rozetko
8ddcb8ac77
Hotfix for #416 ( #429 )
...
- check for empty grafanauUrl
6 years ago
sanke1
335d8e7e36
Accept various URL inputs #416 ( #429 )
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
Evgeny Smyshlyaev
1f062ce5a0
System webhooks #386 ( #420 )
6 years ago
rozetko
390fa4c037
No data threshold #370 ( #396 )
...
"No data" threshold support
6 years ago
rozetko
5243facb31
hotfix
6 years ago
rozetko
7e56d07096
Empty config value is not replaced by default value #380 ( #381 )
6 years ago
rozetko
04ee5e2c05
Error: cannot read property 'analyticUnitId' of undefined #378 ( #379 )
6 years ago
Evgeny Smyshlyaev
8e6260859c
Labeled pattern intersects with predicted #253 ( #371 )
6 years ago
Evgeny Smyshlyaev
fc0935c0cb
Threshold value is not saving #368 ( #369 )
...
fix threshold model
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
6bf1114b7b
Detection return empty result #347 ( #348 )
...
* set constant window size
* improve logging, save detected segments from push\pull process
6 years ago
Alexey Velikiy
55efce8195
basic unit update ( #346 )
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
rozetko
b5d21db702
Endpoint for analytic unit types #328 ( #329 )
6 years ago
Coin de Gamma
2302ac6fb2
remove alerts endpoint comment
6 years ago
rozetko
2264d8bb98
Failed node.js test: no .git folder #314 ( #318 )
...
* Check for branch file existence
* Mock config.ts
6 years ago
Evgeny Smyshlyaev
1da9ca94cf
Improve data puler logging ( #309 )
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
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