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

Refactored get_load_balancer_name to be used when getting stack health #458

Merged
merged 1 commit into from
Apr 19, 2017

Conversation

arjunrn
Copy link
Contributor

@arjunrn arjunrn commented Mar 22, 2017

Currently when getting stack health through senza health the LB metrics cannot be fetched for stacks with long application names. This is because the application name is truncated when creating the load balancer. However in the health command the name truncation is not performed which means the metrics are not fetched correctly. This PR moves the truncation function to the utils package so that it can be used in the cli module as well as the elb module.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 157a2a7 on arjunrn:master into ** on zalando-stups:master**.

@arjunrn
Copy link
Contributor Author

arjunrn commented Apr 19, 2017

@rafaelcaricio @jmcs @hjacobs Could I get some feedback on this. We want to use this in our deployment pipelines and we are waiting for the feature to be merge.

@hjacobs hjacobs requested a review from jmcs April 19, 2017 17:19
@hjacobs
Copy link
Contributor

hjacobs commented Apr 19, 2017

Thanks for the PR! 😄

@hjacobs
Copy link
Contributor

hjacobs commented Apr 19, 2017

👍

@hjacobs hjacobs merged commit 3cb6525 into zalando-stups:master Apr 19, 2017
@hjacobs
Copy link
Contributor

hjacobs commented Apr 19, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants