rozetko
bfee62daf2
fix typescript errors
3 years ago
rozetko
027ecc762b
Slack: support images in alerts #801 ( #941 )
4 years ago
Dmitry Nalobin
d106094164
.env.example with variables documentation ( #931 )
4 years ago
Dmitry Nalobin
aef1c8363d
Change grafana-datasource-kit library to tsdb-kit ( #932 )
4 years ago
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>
4 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>
4 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>
4 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
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
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
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
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
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 )
5 years ago
Evgeny Smyshlyaev
7f8597636d
Data kit error status code 400 #300 ( #711 )
5 years ago
Evgeny Smyshlyaev
15e2cbccb6
Image for webhook #705 ( #706 )
5 years ago
Alexandr Velikiy
5374c45b36
Segment info #693 ( #700 )
5 years ago
Evgeny Smyshlyaev
3e9eb3daa7
"[PATTERN DETECTED]" in webhooks message #560 ( #696 )
5 years ago
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