Proof-of-Concept, play-area to demonstrate feasibility of recreating pmview
using modern browser technologies.
- Latest PCP installation with modern
pmwebapi
pmproxy
running on a host accessible/etc/pcp/pmproxy.options
will need the--timeseries
option added (it's not by default)pmlogger
collecting metrics on the same host aspmproxy
to feedredis
redis-server
v5.x+ running along sidepmproxy
- Install
npm
- JavaScript package manager/build npm install -g http-server
- this will install a simple local HTTP server to serve contentnpm install
npm run watch
- this will build/bundle/package ready to execute in the browser- [In a separate terminal window within the code directory]
http-server
- Open a browser to [http://localhost:8080]
- Configure the Host & Port to point to your running instance of
pmproxy
- defaults tolocalhost:44322
- Select a metric from the Metric Selection drop down (it doesn't matter what is selected for this POC)
- Choose an Instance value that is mapped to that metric value
- Click "Add Disk" button
- Click "Start Animation"