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

Implement a mechanism for activating collector depending on instances, dinamically #39

Merged
merged 10 commits into from
Apr 16, 2020

Conversation

MalloZup
Copy link
Contributor

@MalloZup MalloZup commented Apr 15, 2020

Description:

This pr fix #31.

As discussed we activate the collector depending on the instance types, dinamically

@MalloZup MalloZup changed the title WIP: Initial draft Implement a mechanism for activating collector depending on instances, dinamically Apr 16, 2020
@MalloZup
Copy link
Contributor Author

I will add unit-tests

.gitignore Outdated Show resolved Hide resolved
collector/collector_register/register.go Outdated Show resolved Hide resolved
collector/collector_register/register.go Outdated Show resolved Hide resolved
collector/collector_register/register.go Outdated Show resolved Hide resolved
collector/collector_register/register.go Outdated Show resolved Hide resolved
@MalloZup
Copy link
Contributor Author

@stefanotorresi feel free to review.

Regarding the unit-test, I think i have found the most comprehensible and elegant way. Other solutions are more complex and we test already the collector other places. let me know

Copy link
Collaborator

@stefanotorresi stefanotorresi left a comment

Choose a reason for hiding this comment

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

great job @MalloZup!!

@stefanotorresi stefanotorresi merged commit df135c7 into SUSE:master Apr 16, 2020
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.

sapstartsrv is going [defunc] after sap_host_exporter is active
2 participants