Visualizer of Dropwizard Metrics
Patra project visualizes Dropwizard Metrics in a user friendly way. Dropwizard metrics are formerly known as Coda Hale / Yammer metrics.
Patra is a collection of HTML, JavaScript, and CSS files that dynamically generates pages for viewing metrics.
Download all the HTML, JavaScript and CSS files from the dist directory.
To use Patra, take a look at the index.html page and customize it by modifying the URL
in the patra.init
method. By default, it points to http://localhost:8080/metrics/metrics
patra.init('http://localhost:8080/metrics/metrics');
Patra 2.0 depends on the following libraries:
npm install gulp
npm install
gulp build:js
P.S. If your OS does not recognize gulp, trying installing command line interface of gulp by typing:
npm install --global gulp-cli
gulp build:css
gulp
gulp compile
gulp test
The Patra code is shared under the terms of Apache License v2.0.