Class: Daytona::SandboxMetrics

Inherits:
Data
  • Object
show all
Defined in:
lib/daytona/sandbox.rb

Overview

A single point-in-time sample of historical Sandbox resource usage.

Instance Attribute Summary collapse

Instance Attribute Details

#cpu_countObject (readonly)

Returns the value of attribute cpu_count

Returns:

  • (Object)

    the current value of cpu_count



11
12
13
# File 'lib/daytona/sandbox.rb', line 11

def cpu_count
  @cpu_count
end

#cpu_used_pctObject (readonly)

Returns the value of attribute cpu_used_pct

Returns:

  • (Object)

    the current value of cpu_used_pct



11
12
13
# File 'lib/daytona/sandbox.rb', line 11

def cpu_used_pct
  @cpu_used_pct
end

#disk_totalObject (readonly)

Returns the value of attribute disk_total

Returns:

  • (Object)

    the current value of disk_total



11
12
13
# File 'lib/daytona/sandbox.rb', line 11

def disk_total
  @disk_total
end

#disk_usedObject (readonly)

Returns the value of attribute disk_used

Returns:

  • (Object)

    the current value of disk_used



11
12
13
# File 'lib/daytona/sandbox.rb', line 11

def disk_used
  @disk_used
end

#mem_cacheObject (readonly)

Returns the value of attribute mem_cache

Returns:

  • (Object)

    the current value of mem_cache



11
12
13
# File 'lib/daytona/sandbox.rb', line 11

def mem_cache
  @mem_cache
end

#mem_totalObject (readonly)

Returns the value of attribute mem_total

Returns:

  • (Object)

    the current value of mem_total



11
12
13
# File 'lib/daytona/sandbox.rb', line 11

def mem_total
  @mem_total
end

#mem_usedObject (readonly)

Returns the value of attribute mem_used

Returns:

  • (Object)

    the current value of mem_used



11
12
13
# File 'lib/daytona/sandbox.rb', line 11

def mem_used
  @mem_used
end

#timestampObject (readonly)

Returns the value of attribute timestamp

Returns:

  • (Object)

    the current value of timestamp



11
12
13
# File 'lib/daytona/sandbox.rb', line 11

def timestamp
  @timestamp
end