rst-perfanalytics-js
v0.1.19
Published
Install and use as a module in your application or include in as a script in your html and initialize.
Downloads
18
Readme
Usage
Install and use as a module in your application or include in as a script in your html and initialize.
npm install rst-perfanalytics-js
import PerfAnaylser from 'rst-perfanalytics-js';
new PerfAnaylser();
/*
* It feeds http://localhost:8080/metrics by default,
* optionally you may pass desired feed endpoint as a paremeter like:
* new PerfAnaylser("http://someotherendpoint");
*/
or
<script src="https://unpkg.com/[email protected]/dist/index.js"></script>
<script>
var anlytics = new PerfAnalytics();
</script>