Search code examples
node.jsstronglooploopbackjs

After setting up the example Loopback app, how come my StrongOps dashboard stays empty?


I followed the guidelines for installing Loopback example app, and registering to StrongOps monitoring service, like documented in the Getting Started doc

Installing and registering was flawless, but now I don't see nothing happening on my StrongOps dashboard, why ?

I even followed the step of running the stress test to be sure that some metrics are sent, but the dashboard stays empty.

$ slc run bin/create-load.js

Side note : The documentation does not mention the fact that when you quit the REPL command line, you actually stops the web server. First time I did this, I could not load the stress tests and did not understand why, until I realize the app was offline. Trivial, but should be in a Getting started doc.

Version used :

$ slc version                                                       
slc v2.2.2 (node v0.10.22)

Solution

  • Sorry, you got caught between rolling out updates to our tooling on npmjs.org, and updates to our documentation. We recommend running with strong-supervisor, which should be co-installed with strong-cli, though you may have to update:

    npm install -g strong-supervisor
    npm update -g strong-cli
    

    At this point, you can run with

    sl-run
    

    and it will run the sample (or any app, without having to add a direct dependency on strong-agent) with strong-agent profiling, and strong-cluster-control worker/robustness management.

    https://github.com/strongloop/strong-supervisor

    We'll be continuing to work on our tooling integration over the next few sprints.