Open lupino3 opened 9 years ago
Done. I set up PM2 and PMX, and they talk to keymetrics.io. We have only 2 custom metrics, we can add more in the future.
How are connected clients measured? Is that a total aggregate count? We may consider adding more meaningful metrics as connections per hour and max connections per hour and/or anything else like that just in order to be able to understand any scalability issue should we decide to go public.
I will not reopen this until @lupino3 specifically or anyone else decides this is worth of further investigation.
It is an instantaneous value; I'd hoped to do aggregation directly in keymetrics.io (or at least see a plot of how this changes over time) but it doesn't appear to be possible. I wrote to them to see if there is a way of doing it, otherwise we might need to change monitoring system.
I agree that we need more insightful metrics; this issue was mostly about setting up monitoring and having a way to define our own metrics.
I would really like to use prometheus for monitoring (https://github.com/prometheus/prometheus), but I don't think there is an easy way to deploy it to openshift. I am looking around. :)
We'll need a way to inspect how the server is behaving, if it's running, etc..