Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] add prometheus from moolitayer/manageiq-providers-prometheus #15139

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ gem "rubywbem", :require => false, :git => "https://github.com/Manage
# when using this Gemfile inside a providers Gemfile, the dependency for the provider is already declared
def manageiq_plugin(plugin_name)
unless dependencies.detect { |d| d.name == plugin_name }
gem plugin_name, :git => "https://github.com/ManageIQ/#{plugin_name}", :branch => "master"
if plugin_name == 'manageiq-providers-prometheus'
gem plugin_name, :git => "https://github.com/moolitayer/#{plugin_name}", :branch => "master"
else
gem plugin_name, :git => "https://github.com/ManageIQ/#{plugin_name}", :branch => "master"
end
end
end

Expand All @@ -29,6 +33,7 @@ manageiq_plugin "manageiq-providers-openshift"
manageiq_plugin "manageiq-providers-openstack"
manageiq_plugin "manageiq-providers-ovirt"
manageiq_plugin "manageiq-providers-vmware"
manageiq_plugin "manageiq-providers-prometheus"
manageiq_plugin "manageiq-ui-classic"

# Unmodified gems
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ module MiqServer::WorkerManagement::Monitor::ClassNames
ManageIQ::Providers::Azure::CloudManager::EventCatcher
ManageIQ::Providers::Hawkular::MiddlewareManager::EventCatcher
ManageIQ::Providers::Hawkular::DatawarehouseManager::EventCatcher
ManageIQ::Providers::Prometheus::DatawarehouseManager::EventCatcher
ManageIQ::Providers::Google::CloudManager::EventCatcher
ManageIQ::Providers::Kubernetes::ContainerManager::EventCatcher
ManageIQ::Providers::Openshift::ContainerManager::EventCatcher
Expand Down Expand Up @@ -143,6 +144,7 @@ module MiqServer::WorkerManagement::Monitor::ClassNames
ManageIQ::Providers::EmbeddedAnsible::AutomationManager::EventCatcher
ManageIQ::Providers::Hawkular::MiddlewareManager::EventCatcher
ManageIQ::Providers::Hawkular::DatawarehouseManager::EventCatcher
ManageIQ::Providers::Prometheus::DatawarehouseManager::EventCatcher
ManageIQ::Providers::Google::CloudManager::EventCatcher
ManageIQ::Providers::Kubernetes::ContainerManager::EventCatcher
ManageIQ::Providers::Openshift::ContainerManager::EventCatcher
Expand Down
2 changes: 2 additions & 0 deletions config/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1199,6 +1199,8 @@
:event_catcher_hawkular_datawarehouse:
:alertable_tenants: ['_system', '_ops']
:poll: 1.minute
:event_catcher_prometheus_datawarehouse:
:poll: 1.minute
:event_catcher_google:
:poll: 15.seconds
:event_catcher_kubernetes:
Expand Down