Evgeny Smyshlyaev
e0dde3c8ba
Labeling for anomalies #631 ( #655 )
6 years ago
rozetko
a56ac6ec4e
Endpoint for smoothing data #612 ( #639 )
6 years ago
Alexandr Velikiy
6b398d6ee9
Segment class #636 ( #637 )
6 years ago
rozetko
367f165595
detectorType field is missing in old analytic units #632 ( #633 )
...
* Add migration
* Use detectorType instead of getDetectorByType
* Move getDetectorByType to migration
6 years ago
rozetko
0e397b350f
Threshold is not a part of analytic unit #619 ( #620 )
6 years ago
rozetko
416e62bed3
Migrate analytic unit cache to camel case #609 ( #613 )
6 years ago
Evgeny Smyshlyaev
9c0e2561e6
Detection status router merge queried segments #590 ( #596 )
6 years ago
rozetko
95f91d5963
Sort analytic units by creation date / name #514 ( #581 )
...
* Add sorting query to dbFindMany
* Add timestampData option to db init
* Use sorting query in AnalyticUnit.findMany
* enum SortingOrder
6 years ago
Evgeny Smyshlyaev
db5b9255d7
Endpoint for getting timeseries of analytic unit #528 ( #564 )
6 years ago
rozetko
436c2a7cab
Hotfix for "Hastic instance name #558":
...
- alert -> payload
6 years ago
rozetko
64772a3a82
Hotfix for "Hastic instance name #558":
...
- serialize alerts in sendWebhook()
6 years ago
Evgeny Smyshlyaev
0fcee80dcf
System info: Hastic instance name ( #558 )
6 years ago
rozetko
7bf59016c6
Enable "Analytics is down" webhooks
6 years ago
Evgeny Smyshlyaev
015f819958
Synchronize data with server #455 ( #461 )
...
Synchronize data with server #455 (#461 )
6 years ago
Alexandr Velikiy
4c2efac97e
Keyerror pattern model #471 ( #476 )
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
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
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
6c85d0292c
TypeError: console.debug is not a function in node 6 #360 ( #361 )
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
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
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
Evgeny Smyshlyaev
1da9ca94cf
Improve data puler logging ( #309 )
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
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
Alexey Velikiy
005097dde0
Analytics project structure improvement #215 ( #228 )
...
* bin & analytics folders
* sys path & config relocation
* fix analytics path in node
6 years ago
rozetko
f3e8de3d4d
WIP Synchronize data with panel #224 ( #225 )
...
* start
* Merge master
* Add Panel model
* Minor fixes
* Add panel router
6 years ago
Evgeny Smyshlyaev
43b027e470
Unit testing for analytics project #216 ( #223 )
6 years ago
Evgeny Smyshlyaev
c1ae1a9b19
Server logs improvements #48 ( #205 )
...
improve logs
6 years ago
Evgeny Smyshlyaev
840cc1a035
WIP: Server info v2 #167 ( #194 )
...
improve server info
6 years ago
Evgeny Smyshlyaev
de3b64ce95
Decouple processes to different docker containers#187(WIP) ( #188 )
...
analytics and server moved to separate containers, added docker-compose file
6 years ago
amper43
aa43bac335
fix analytics restart
6 years ago
amper43
3e51fd027a
fix according review
6 years ago
amper43
8fa210d23f
remove debug logging
6 years ago
amper43
3042ddc81b
fix compose
6 years ago