digitalbazaar / bedrock-web-stats

0 stars 0 forks source link

Finish implementing this module #1

Open mattcollier opened 5 years ago

mattcollier commented 5 years ago

Basic demo of functionality all wired up.

https://github.com/digitalbazaar/bedrock-web-stats/blob/initial/test/components/Home.vue#L40

The timeseries being displayed there in raw JSON is the data that will feed the charting library.

The values of the os monitor are explained here: https://github.com/digitalbazaar/bedrock-stats-monitor-os/tree/initial

Need to figure out how polling updates are going to work.

Here's the express endpoint: https://github.com/digitalbazaar/bedrock-stats-http/blob/initial/lib/index.js#L19

Here's the API that corresponds to that endpoint: https://github.com/digitalbazaar/bedrock-stats-storage-redis/tree/initial#bedrock-stats-storage-redisfindoptions--promiseobject

The vue things should go here: https://github.com/digitalbazaar/bedrock-vue-stats

aljones15 commented 5 years ago

@mattcollier is this still open and should I start on this tomorrow?

I did notice that your setInterval is not being cleaned up btw in the destroyed step.