lib/docker/metrics/lxc/container.rb
# Initialize a new Docker::Metrics::Container instance
# @param [String] name container name
# @return [Docker::Metrics::Container] container instance
Initialize a new Docker::Metrics::Container instance
Initialize a new Docker :: Metrics :: Container instance
def container_io_metrics(container,require_details)   
           return {"diskio_usage"=> {
                                      "io_service_bytes" => container.get_io_service_bytes,
                                      "io_serviced" => container.get_io_serviced
           }}
        end
def container_io_metrics ( container , require_details ) return { "diskio_usage" => { "io_service_bytes" => container . get_io_service_bytes , "io_serviced" => container . get_io_serviced } } end
Initialize a new Docker::Metrics::Container instance
Initialize a new Docker :: Metrics :: Container instance
None
Docker::Metrics::Container
container
require_details
name container name
name container name