rozetko
0e940115a8
Remove deasync lib #829 ( #915 )
...
* make dataservice a class
* fix dataservice usage
* rm deasync
* fix
* fix
Co-authored-by: corpglory-dev <dev@corpglory.com>
5 years ago
rozetko
65f77676c2
Abstract class for db connector #906 ( #908 )
...
* db connector
* fix imports
* minor fixes
* todos
* minor codestyle fix
* todo
* rm extra logs
* abstract class -> interface
* singletons
Co-authored-by: corpglory-dev <dev@corpglory.com>
5 years ago
Coin de Gamma
b3fee5807a
rm getGitInfo() from config.ts ( #905 )
...
Co-authored-by: Alexey Velikiy <av+1@corpglory.com>
5 years ago
Coin de Gamma
643ce1a212
Unfriendly crash with missing hastic api key #899 ( #901 )
...
* small fixes in code
* rename to getConfigFieldAndPrintOrExit
* exit from process on missing field
* comment++
* Update server/src/config.ts
Co-authored-by: rozetko <rozetko@hastic.io>
* Update server/src/config.ts
Co-authored-by: rozetko <rozetko@hastic.io>
Co-authored-by: Alexey Velikiy <av+1@corpglory.com>
Co-authored-by: rozetko <rozetko@hastic.io>
5 years ago
rozetko
abb73944ec
Panel export: change IDs #841 ( #861 )
5 years ago
rozetko
45dc3f22b9
Websocket connectivity between server and analytics ( #814 )
5 years ago
Alexander Velikiy
f98ac05ad8
Rename modules and types ( #860 )
5 years ago
Alexander Velikiy
5c500c02a1
Remove serialized types ( #857 )
5 years ago
jonyrock-back
09788eb0dd
correct error handling in exitHandler #853 ( #854 )
5 years ago
rozetko
6e7762fc59
Import analytic units ( #840 )
5 years ago
rozetko
a364e66899
Export analytic units ( #833 )
5 years ago
Alexandr Velikiy
e53909d833
Jest config and tsconfig fixes ( #835 )
5 years ago
Evgeny Smyshlyaev
386b01be3f
Cannot read property 'branch' of null #831 ( #832 )
5 years ago
Alexandr Velikiy
d6f90dab2c
Error: Property 'length' is missing in type 'AnalyticMeta' #823 ( #822 )
5 years ago
rozetko
3f64c25c10
Production hotfixes ( #803 )
...
* fix compose variables
* fix server/Dockerfile
* fix notification message
* HASTIC_TIMEZONE_OFFSET
5 years ago
Evgeny Smyshlyaev
353da0961c
Compatibility with Prometheus Alertmanager #482 ( #802 )
5 years ago
rozetko
517f5b5309
Single analytic unit in webhook image #799 ( #800 )
5 years ago
Alexandr Velikiy
ae5df87455
Nedb and mongodb syntax #792 ( #794 )
...
* add segment check in pattern detector
* fix query syntax
5 years ago
Alexandr Velikiy
fa9673e347
"Error: Need at least 1 labeled segment" when labeling only negative segment #790 ( #791 )
5 years ago
Alexandr Velikiy
970556b410
Add timezone info to notification message ( #786 )
5 years ago
Alexandr Velikiy
5194bacffa
Fix for #782 ( #784 )
...
- remove " and ' symbols from timezone
- fix regexp (add checks for start and end of the string)
5 years ago
Alexandr Velikiy
faa1780296
Notification problem with mongodb #780 ( #782 )
...
* some logs
* fix findOne
* fix
* fix
* fix2
* fix3
5 years ago
Alexandr Velikiy
9bcb639676
Notifications timezone #649 ( #781 )
...
* test offset for units
* add timeZone
* remove old code
* remove consolelogs
* fix
* fix2
* add error
* add redexp
* for patterns
* for anomaly
* dry
* types
* fix
* fix
* funcs to utils
* timezone -> time
5 years ago
Alexandr Velikiy
5ea0a058fc
Error: $or must be an array ( #778 )
5 years ago
Alexandr Velikiy
8f95415797
Error: Can`t find cache for analytic unit #772 ( #776 )
5 years ago
Evgeny Smyshlyaev
71f053623a
Mongodb persistence #570 part 2 ( #774 )
5 years ago
Evgeny Smyshlyaev
bb1854e1b9
Mongodb persistence #570 part 1 ( #771 )
5 years ago
Coin de Gamma
38d885b5dc
Tsconfig strict mode part1 ( #767 )
5 years ago
Evgeny Smyshlyaev
a42a5b85a7
Class for analytic unit object structure #760 ( #762 )
...
* just save
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* Update server/spec/setup_tests.ts
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* Update server/spec/analytic_controller.jest.ts
Co-Authored-By: Alexey Velikiy <av@corpglory.com>
5 years ago
Evgeny Smyshlyaev
d469c1e98c
Anomaly detector detection re running in inspect mode #757 ( #759 )
...
* fix
* fix
* fix
* Update server/src/controllers/analytics_controller.ts
Co-Authored-By: Alexey Velikiy <av@corpglory.com>
* add test
* fix
* Update server/spec/analytic_controller.jest.ts
Co-Authored-By: Alexey Velikiy <av@corpglory.com>
* fix
* fix
* fix
* Update server/spec/analytic_controller.jest.ts
Co-Authored-By: rozetko <rozetko@hastic.io>
* fix
* Update server/spec/analytic_controller.jest.ts
Co-Authored-By: Alexey Velikiy <av@corpglory.com>
* Update server/spec/analytic_controller.jest.ts
Co-Authored-By: Alexey Velikiy <av@corpglory.com>
* fix
* fix
* fix
5 years ago
Coin de Gamma
b6d80015b6
Utils SpansCut to SegmentsCut, IntegerSegment and IntegerSegmentSet ( #756 )
5 years ago
rozetko
74735e1c90
utils/spans fixes ( #754 )
5 years ago
rozetko
d20a3b964a
Detection model fixes ( #752 )
5 years ago
Coin de Gamma
e6fd479655
GetNonIntersectedSpans refactoring ( #751 )
5 years ago
rozetko
4a764cb4d2
Tests for detection-spans ( #747 )
5 years ago
rozetko
ac626d726e
Large segments are not shown #744 ( #745 )
5 years ago
rozetko
0c00dafd0a
Merge segments before sending a webhook #742 ( #743 )
5 years ago
Alexandr Velikiy
b05b46c6eb
Anomaly detector's segments concatenation #716 ( #741 )
5 years ago
Evgeny Smyshlyaev
9612c567d5
Error cannot read property data of null #739 ( #740 )
5 years ago
Evgeny Smyshlyaev
c8f4340f7c
Error: skip detection: data length less than window_size ( #723 )
...
* fix
* fix
* fix
* Update server/src/controllers/analytics_controller.ts
* fix
* fix
* fix according review
* Update server/spec/analytic_controller.jest.ts
Co-Authored-By: Alexey Velikiy <av@corpglory.com>
* fix
* Update analytics/analytics/detectors/pattern_detector.py
Co-Authored-By: Alexey Velikiy <av@corpglory.com>
5 years ago
Evgeny Smyshlyaev
b1bd20f030
Threshold line for HSR #727 ( #729 )
5 years ago
amper43
4fb96302b1
Revert "add support of threshold line"
...
This reverts commit f4a5f20313
.
5 years ago
amper43
f4a5f20313
add support of threshold line
5 years ago
Evgeny Smyshlyaev
d67bfd901e
Slack webhook returns 400 missing_text_or_fallback_or_attachments #708 ( #719 )
5 years ago
Evgeny Smyshlyaev
21d575651a
Exception if hastic webhook url is undefined #593 ( #718 )
6 years ago
Evgeny Smyshlyaev
7f8597636d
Data kit error status code 400 #300 ( #711 )
6 years ago
Evgeny Smyshlyaev
a0ab7854ff
Anomaly detector bounds switch: disabling to enabling #709 ( #710 )
6 years ago
Evgeny Smyshlyaev
15e2cbccb6
Image for webhook #705 ( #706 )
6 years ago
Alexandr Velikiy
5374c45b36
Segment info #693 ( #700 )
6 years ago
Evgeny Smyshlyaev
67f203bee6
Anomaly detector option for disabling upper lower bound #701 ( #703 )
6 years ago