-
Notifications
You must be signed in to change notification settings - Fork 103
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
Use gophercloud instead of goose #26
Comments
BTW I begin to work on that and already migrate half of the metrics to gophercloud, I will make a draft PR when all will be migrated. |
@alistarle I am ok with your proposal, If you could draft a PR that we can follow up, it would be really helpful. |
Thanks, here is the draft, it works but there is still a lot of work to do : #27 |
@alistarle Thank you much. Could you please review the comment on #27? Please rebase on top of the gophercloud branch and re-submit, lets work from there rather than master. Thanks again for your work on this! |
I've merged this PR and the master builds are using GopherCloud. Please let me know if this I've also added yourself to the list of contributors[1] for your great contribution implementing Feel free to send me PR(s) if I missed any detail or if you have any new metrics that [0] #30 |
This is a continuation pr of #27 for fixing #26 [ X] Use the --os-client-config args (currently, loading of the clouds.yml are done trough this function) [ X] Check that all the client really use the params from the clouds.yml (endpoint type, tls, etc...) [ X] Fix the tenant_id of the volume_status metrics (extended attribute of the volume API) [X ] Check that the refresh_client really works (make tests) [ X] Write/Fix the unit tests
I am closing this bug as no other feedback has been provided. Feel free to open a new issue if you find any bug or missing implementation. Thanks! |
Sorry I was not available these days, but thanks for merging this code ! I will test this week then add some metrics I was looking for for moving to gophercloud |
The go Openstack SDK used for many project like terraform or packer is gophercloud, it count more than 3k commits, and is actively used by the community with 600+ issue and 350+ stars.
Indeed, more or less all the openstack actions are present in gophercloud, whereas goose lacks a lot of thing (by example aggregate host in order to return it on many hypervisors metrics). It also provide built in reading of clouds.yaml by example
clientconfig.GetCloudFromYAML(clientOpts)
So it really simplify the code of the exporter
I suggest to migrate to gophercloud in order to be able to add new feature more easily and to use more supported backend library.
The text was updated successfully, but these errors were encountered: