dm

command module
v0.0.0-...-c3bed66 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2019 License: GPL-3.0 Imports: 13 Imported by: 0

README

Data Manager

Drone (cloud) GoDoc Docker Cloud Build Status

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

  1. Make sure MongoDB is up and running.

  2. Setup MongoDB using the scripts provided in mongodb/.

  3. Run 🏃

go build
./dm

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL