matrix-org / panopticon

panopticon records usage metrics from homeservers
Apache License 2.0
13 stars 6 forks source link

Allow syapse to report back coarse grained CPU and Memory usage #8

Closed michaelkaye closed 6 years ago

michaelkaye commented 6 years ago

Add two new (optional) parameters in the payload - cpu_average and memory_rss.

This PR also includes a quick'n'dirty dockerised test environment to not require me having to install and maintain a golang install on my desktop.

michaelkaye commented 6 years ago

This is the other half of synapse#3044

michaelkaye commented 6 years ago

I'm happy with these changes, as is @jcgruenhage

michaelkaye commented 6 years ago

Extra changes look good to me