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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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