Class: PerformanceMonitoring::PrometheusPanelGroup
- Inherits:
-
Object
- Object
- PerformanceMonitoring::PrometheusPanelGroup
- Includes:
- ActiveModel::Model
- Defined in:
- app/models/performance_monitoring/prometheus_panel_group.rb
Instance Attribute Summary collapse
-
#group ⇒ Object
Returns the value of attribute group.
-
#panels ⇒ Object
Returns the value of attribute panels.
-
#priority ⇒ Object
Returns the value of attribute priority.
Class Method Summary collapse
Instance Attribute Details
#group ⇒ Object
Returns the value of attribute group
7 8 9 |
# File 'app/models/performance_monitoring/prometheus_panel_group.rb', line 7 def group @group end |
#panels ⇒ Object
Returns the value of attribute panels
7 8 9 |
# File 'app/models/performance_monitoring/prometheus_panel_group.rb', line 7 def panels @panels end |
#priority ⇒ Object
Returns the value of attribute priority
7 8 9 |
# File 'app/models/performance_monitoring/prometheus_panel_group.rb', line 7 def priority @priority end |
Class Method Details
.from_json(json_content) ⇒ Object
13 14 15 |
# File 'app/models/performance_monitoring/prometheus_panel_group.rb', line 13 def from_json(json_content) build_from_hash(json_content).tap(&:validate!) end |