hastic-zzz / hastic-server

Hastic data management server for analyzing patterns and anomalies from Grafana
GNU General Public License v3.0
330 stars 23 forks source link

Mongodb persistence #570 part 1 #771

Closed amper43 closed 5 years ago

amper43 commented 5 years ago

First iteration of MongoDb integration

Changes

Current state

previous way with NeDb works. if user enable HASTIC_EXTERNAL_DB hastic will crash. In second iteration need make fabric method that return according implementation because NeDb's interface supports only callbacks not promises, but MongoDb interface supports promises.