Giter Club home page Giter Club logo

glowroot_sample's Introduction

glowroot_sample

This is a simple project which shows how you can use glowroot for your application

How to use this sample

  1. Clone this project to your local. step1a.png

  2. Now you'll need to compile the project. Navigate to where the project is and run "mvn clean in" step2a.png Once done, you should see something like below if Maven was successful. step2b.png

  3. Give the above a quick test run to make sure everything is running fine. Run the test application using : java -jar ./target/glowroot_sample-1.0-SNAPSHOT.jar 5 4 step3a.png

  4. Now that everything works fine, let's unpack glowroot into the project. I've included a glowroot zip distribution in this project but feel free to replace it if you want another version. step4a.png

  5. Unpack the glowroot zip in the same folder. Once you're done, you should have something like this. step5a.png step5b.png

  6. Now we're ready to run glowroot! To run glowroot with our sample app, we need to bump up the original parameters we used. We will also need to include the glowroot jar as a JVM parameter. Use this command to run the sample: java -javaagent:./glowroot/glowroot/glowroot.jar -jar ./target/glowroot_sample-1.0-SNAPSHOT.jar 10 60

  7. After running above, you should see something like this on your console: step7a.png

  8. Open glowroot on your browser. The default site is http://localhost:4000. step8a.png

  9. Congrats! you just got glowroot up and running!

glowroot_sample's People

Contributors

jamontino avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.