private void LogMemory(NodeMetrics nodeMetrics)
        {
            Option <StandardMetrics.Memory> memory = StandardMetrics.ExtractMemory(nodeMetrics);

            if (memory.HasValue)
            {
                _log.Info("Used memory: {0} Mb", memory.Value.Used / 1024 / 1024);
            }
        }
        private void UpdateMemory(NodeMetrics nodeMetrics)
        {
            Option <StandardMetrics.Memory> memory = StandardMetrics.ExtractMemory(nodeMetrics);

            if (memory.HasValue)
            {
                this.state.Memory = memory.Value;
                this.log.Info("METRICS: memory used: {0:0.00} Mb", memory.Value.Used / 1024 / 1024);
            }
        }