the metrics are very good for prometheus type supervision, but they are missing certain important metrics that we have on the admin page, namely: WOPI Host Views PID Document Memory Consumed Elapsed Time Idle Time Modified
Do you know how I could recover these values in order to extract them via prometheus
I need to log this information
If you read the Prometheus output - the format is not well designed for exporting structured data; so we mis-use it a bit like this - if you look at the end you will see for each document:
If you want to write a more powerful tool everything in the admin console comes from a websocket connection which you can make too - the protocol is not guarenteed to be stable, but pragmatically has mostly been so for quite a while; so you can connect, authenticate and scrape what you want.
If you want more fields there - its easy to add in the code, but each one adds weight to the prometheus data do: