Class: QaServer::HistoryUpDownService
- Inherits:
-
Object
- Object
- QaServer::HistoryUpDownService
- Defined in:
- app/services/qa_server/history_up_down_service.rb
Constant Summary collapse
- NO_DATA =
:no_data
- FULLY_UP =
:fully_up
- MOSTLY_UP =
:mostly_up
- EXCESSIVE_TIMEOUTS =
:timeouts
- BARELY_UP =
:barely_up
- DOWN =
:down
- MOSTLY_UP_THRESHOLD =
QaServer.config.up_down_data_mostly_up_threshold
- TIMEOUT_THRESHOLD =
QaServer.config.up_down_data_timeouts_max_threshold
Instance Method Summary collapse
Instance Method Details
#last_30_days ⇒ Object
20 21 22 23 24 |
# File 'app/services/qa_server/history_up_down_service.rb', line 20 def last_30_days data = {} .each { || data[] = last_30_days_for(.to_s) } data end |