Data Manager
Introduction
DM is a Data Manager component of the I1820 platform.
It has some useful built-in queries that can returns data from the database (MongoDB) to the API backend.
Profiler
Enable MongoDB buit-in profiler:
use i1820
db.setProfileLevel(2)
The profiling results will be in a special capped collection called system.profile
which is located in the database where you executed the setProfileLevel
command.
db.system.profile.find().pretty()
Up and Running
To build this module from source do the following steps
-
Make sure MongoDB is up and running.
-
Setup MongoDB using the scripts provided in mongodb/
.
-
Run 🏃
go build
./dm