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

Support for Prometheus in Container Provider summary page #1525

Merged

Conversation

nimrodshn
Copy link
Contributor

Add support for Prometheus Endpoint in Container Provider summary page.
screenshot:
screenshot from 2017-06-12 13-40-52
cc: @simon3z @yaacov @moolitayer

@nimrodshn nimrodshn force-pushed the add_prometheus_endpoint_to_summary branch from cb061e9 to ca4c146 Compare June 12, 2017 12:20
:value => @record.connection_configurations.hawkular.endpoint.port
}
{:label => _("#{e.role.capitalize} Host Name"), :value => e.hostname},
{:label => _("#{e.role.capitalize} API Port"), :value => e.port}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#{e.role.capitalize} inside a gettext won't work. This needs to be (and other occurences):

_("%{role} Host Name") % {:role => e.role.capitalize}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mzazrivec thnx a lot mate! 👍 fixed. 🐕

@nimrodshn nimrodshn changed the title Support for Prometheus in Container Provider summary page [WIP] Support for Prometheus in Container Provider summary page Jun 13, 2017
@miq-bot miq-bot added the wip label Jun 13, 2017
@nimrodshn nimrodshn force-pushed the add_prometheus_endpoint_to_summary branch from ca4c146 to 1a69170 Compare June 13, 2017 10:00
@nimrodshn
Copy link
Contributor Author

nimrodshn commented Jun 13, 2017

@mzazrivec thnx a lot mate! 👍
Fixed. 🐕
FYI @yaacov

@miq-bot
Copy link
Member

miq-bot commented Jun 13, 2017

Checked commit nimrodshn@1a69170 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
1 file checked, 0 offenses detected
Everything looks fine. ⭐

@nimrodshn nimrodshn changed the title [WIP] Support for Prometheus in Container Provider summary page Support for Prometheus in Container Provider summary page Jun 13, 2017
@miq-bot miq-bot removed the wip label Jun 13, 2017
@mzazrivec mzazrivec self-assigned this Jun 14, 2017
@mzazrivec mzazrivec added this to the Sprint 63 Ending Jun 19, 2017 milestone Jun 14, 2017
@mzazrivec mzazrivec merged commit cb8393a into ManageIQ:master Jun 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants