Class: Daytona::SandboxMetrics
- Inherits:
-
Data
- Object
- Data
- Daytona::SandboxMetrics
- Defined in:
- lib/daytona/sandbox.rb
Overview
A single point-in-time sample of historical Sandbox resource usage.
Instance Attribute Summary collapse
-
#cpu_count ⇒ Object
readonly
Returns the value of attribute cpu_count.
-
#cpu_used_pct ⇒ Object
readonly
Returns the value of attribute cpu_used_pct.
-
#disk_total ⇒ Object
readonly
Returns the value of attribute disk_total.
-
#disk_used ⇒ Object
readonly
Returns the value of attribute disk_used.
-
#mem_cache ⇒ Object
readonly
Returns the value of attribute mem_cache.
-
#mem_total ⇒ Object
readonly
Returns the value of attribute mem_total.
-
#mem_used ⇒ Object
readonly
Returns the value of attribute mem_used.
-
#timestamp ⇒ Object
readonly
Returns the value of attribute timestamp.
Instance Attribute Details
#cpu_count ⇒ Object (readonly)
Returns the value of attribute cpu_count
11 12 13 |
# File 'lib/daytona/sandbox.rb', line 11 def cpu_count @cpu_count end |
#cpu_used_pct ⇒ Object (readonly)
Returns the value of attribute cpu_used_pct
11 12 13 |
# File 'lib/daytona/sandbox.rb', line 11 def cpu_used_pct @cpu_used_pct end |
#disk_total ⇒ Object (readonly)
Returns the value of attribute disk_total
11 12 13 |
# File 'lib/daytona/sandbox.rb', line 11 def disk_total @disk_total end |
#disk_used ⇒ Object (readonly)
Returns the value of attribute disk_used
11 12 13 |
# File 'lib/daytona/sandbox.rb', line 11 def disk_used @disk_used end |
#mem_cache ⇒ Object (readonly)
Returns the value of attribute mem_cache
11 12 13 |
# File 'lib/daytona/sandbox.rb', line 11 def mem_cache @mem_cache end |
#mem_total ⇒ Object (readonly)
Returns the value of attribute mem_total
11 12 13 |
# File 'lib/daytona/sandbox.rb', line 11 def mem_total @mem_total end |
#mem_used ⇒ Object (readonly)
Returns the value of attribute mem_used
11 12 13 |
# File 'lib/daytona/sandbox.rb', line 11 def mem_used @mem_used end |
#timestamp ⇒ Object (readonly)
Returns the value of attribute timestamp
11 12 13 |
# File 'lib/daytona/sandbox.rb', line 11 def @timestamp end |