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
amper43
f72cc35589
fix ZMQ connection string
6 years ago
amper43
fb53633fed
fix uncommited
6 years ago
amper43
15fd7a2b38
WIP
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
rozetko
504283d918
Anti-segments #142 ( #150 )
...
Node.js part of #142
- Merge segments while inserting
- Add deleted flag to segments
6 years ago
rozetko
34ad34eda6
Change compiled analytics path: dist/worker/worker -> dist/server/server
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
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
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
2fb4e5a289
uid for task and better messages / tasks sending via analytics service
6 years ago