mvysny / shepherd-java-client

Vaadin Shepherd Java Client
Apache License 2.0
1 stars 1 forks source link

Memory/CPU stats of the host machine #3

Open mvysny opened 1 year ago

mvysny commented 1 year ago

The library isn't running at all times, so we'll need either Jenkins or Kubernetes to gather the stats continuously, then provide access to them.

mvysny commented 1 year ago

There's Jenkins Metrics plugin at https://plugins.jenkins.io/metrics/ but that only provides the system CPU load.

I think it's easiest to grab the stats from JMX myself:

  1. free to get memory info
  2. du to get disk info
  3. todo to get CPU info (or access JMX).

Or resurrect https://github.com/mvysny/webmon . Or view Hetzner's console.