shlogg · Early preview
Tib @thibaultduponchelle

Integrating SlapBirdAPM With Mojolicious Web Framework

Setup Mojolicious web app, install SlapBirdAPM plugin & API Key. Restart app & test with browser or curl. Activity reflects in SlapBirdAPM portal.

This is my quick walk-through exploration of SlapBirdAPM with my Perl web framework of choice (Mojolicious of course!)

  
  
  Setup Mojolicious Web App

Install Mojolicious:

$ cpanm Mojolicious
--> Working on Mojolicious
Fetching http://www.cpan.org/authors/id/S/SR/SRI/Mojolicious-9.38.tar.gz ... OK
Configuring Mojolicious-9.38 ... OK
Building and testing Mojolicious-9.38 ... OK
Successfully installed Mojolicious-9.38 (upgraded from 9.32)
1 distribution installed

    
    

    
    




Generate project:

$ mkdir webapp
$ cd webapp
$ mojo generate lite-app bird
  [exist] /home/tib/Code/we...