Adds the system memory configuration to the rapidjson document.
| 62 | |
| 63 | /// Adds the system memory configuration to the rapidjson document. |
| 64 | void AddSystemInfo(const Webserver::WebRequest& req, Document* document) { |
| 65 | Value systeminfo(MemInfo::DebugString().c_str(), document->GetAllocator()); |
| 66 | document->AddMember("systeminfo", systeminfo, document->GetAllocator()); |
| 67 | } |
| 68 | |
| 69 | /// A MetricGroup is a container for a set of metric. This method extracts and adds the |
| 70 | /// initialized JVM, buffer-pool and aggregated memory metrics to the rapidjson document |
no test coverage detected