Skip to content

Commit

Permalink
Unify setting sections
Browse files Browse the repository at this point in the history
  • Loading branch information
Mooli Tayer committed Mar 7, 2017
1 parent 029fff1 commit d9d2d03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def hawkular_alert_criteria
end

def alert_tenants
::Settings.ems.ems_datawarehouse.alertable_tenants
ManageIQ::Providers::Hawkular::DatawarehouseManager::EventCatcher.worker_settings[:alertable_tenants]
end

def post_fetch(alerts)
Expand Down
5 changes: 2 additions & 3 deletions config/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,6 @@
:ems_azure:
:disabled_regions: []
:additional_regions: {}
:ems_datawarehouse:
:alertable_tenants: ['_system', '_ops']
:event_streams:
:history:
:keep_events: 6.months
Expand Down Expand Up @@ -1276,7 +1274,8 @@
:event_catcher_hawkular:
:poll: 10.seconds
:event_catcher_hawkular_datawarehouse:
:poll: 30.seconds
:alertable_tenants: ['_system', '_ops']
:poll: 1.minute
:event_catcher_google:
:poll: 15.seconds
:event_catcher_kubernetes:
Expand Down

0 comments on commit d9d2d03

Please sign in to comment.