Coder Social home page Coder Social logo

glowroot-collector's Introduction

Glowroot Server

This project contains a Docker Compose file and friends to, using public images, create a standalone Glowroot collector server.

While Glowroot is not a full featured APM tool it is:

  • Simple to employ
  • Open source
  • Can provide a great deal of useful information within minutes

Starting This Server

To start up the server (for sake of the example gserver), on gserver, a machine with docker-compose and access to docker hub just:

export PASSWORD=admin
docker-compose -f docker-compose.yml up

Exposed Ports

The server setup will expose:

  • 4000 For the Glowroot UI
  • 8181 For the collector endpoint

If you need to change these tinker with the docker-compose.yml left hand ports listed under the glowroot service.

Accessing The Server

Once docker has brought up the server (glowroot and it's dependent Cassandra) you should be able to target http://gserver:4000 to get the the Growroot collector UI.

Collecting Data from an App

This collector server, as it name implies, needs data to be pushed into it from applications. To push data to gserver's collector you need to do the following:

  • Download the glowroot distribution and unpack it in a location accessible to the running app, for example /opt/glowroot.

  • You should now have /opt/glowroot/ containing the distribution, is /opt/glowroot/glowroot.jar present?

  • Ensure the application you will run can write to /opt/glowroot.

  • Create the file /opt/glowroot/glowroot.properties, the only required content is:

collector.address=http://gserver:8181
  • Now, when running your application add the following JVM arguments:
-javaagent:/opt/glowroot/glowroot.jar -Dglowroot.agent.id=some_app_identifying_name
  • Run the app. The app should detect the agent, find the properties, create some additional files in /opt/glowroot and begin pushing data to the collector.

glowroot-collector's People

Contributors

nwillc 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.