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

Move from goose to gophercloud #27

Closed
wants to merge 6 commits into from

Conversation

alistarle
Copy link
Contributor

@alistarle alistarle commented Sep 24, 2019

Here is the draft of my pull request to move from goose to gophercloud, a lot of work remain to do :

  • Use the --os-client-config args (currently, loading of the clouds.yml are done trough this function)
  • Check that all the client really use the params from the clouds.yml (endpoint type, tls, etc...)
  • Fix the tenant_id of the volume_status metrics (extended attribute of the volume API)
  • Check that the refresh_client really works (make tests)
  • Compare scrape_duration between the goose version and the gophercloud one
  • Factorize some code in the exporter
  • Write/Fix the unit tests

@niedbalski niedbalski marked this pull request as ready for review September 25, 2019 13:19
@niedbalski
Copy link
Member

niedbalski commented Sep 25, 2019

Hello @alistarle

Thank you very much for your work on this.

I have created a feature base branch to work on this implementation, the branch can be found here [0] under the name "gophercloud"

It has already covered some of the points you mentioned in the TODO list, including; use the os-client-config option and check that all the client really use the params from the clouds.yml

  • Could you please rebase your changes on top of that branch and submit the PR against it so we can collaborate from there rather than PR on top of master?

Also, please ignore any changes into the vendors dependencies, we can add those dependencies later via go mod.

[0] https://github.com/openstack-exporter/openstack-exporter/tree/gophercloud

@niedbalski niedbalski closed this Sep 25, 2019
niedbalski added a commit that referenced this pull request Sep 27, 2019
metrics to gophercloud.

Fixes #27

Signed-off-by: Jorge Niedbalski <jnr@metaklass.org>
niedbalski added a commit that referenced this pull request Sep 30, 2019
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
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.

None yet

2 participants