Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upRemove uber-constructor in discovery package #3014
Comments
This comment has been minimized.
This comment has been minimized.
Can you confirm if the end goal is just to have those packages initialize all the SD mechanisms in the given config themselves? If so, I don't understand how that would fix the dependency issue. |
gouthamve
added
the
hacktoberfest
label
Sep 28, 2017
hashmap
added a commit
to hashmap/prometheus
that referenced
this issue
Oct 20, 2017
hashmap
referenced this issue
Oct 20, 2017
Closed
Move ProvidersFromConfig out of discovery package #3324
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
fabxc commentedAug 1, 2017
•
edited
Currently the discovery package has one gigantic constructor for all known SD mechanism. This causes a huge dependency graph with all the SD's client libraries.
This should be refactored in a way the packages using
discoveryare responsible for importing SD packages directly instead.