Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce storage factory framework and composable CLI (#625)
* deprecate --span-storage.type CLI flag * instead use env variable SPAN_STORAGE (and optionally DEPENDENCY_STORAGE) * CLI options only include flags relevant to the selected storage type(s) ( introduce storage.Factory interface for creating different storage components like spanstore.Reader * introduce meta-factory plugin/storage.Factory that instantiates concrete factories based on the above env vars * concrete factories may implement plugin.Configurable interface that allows them to define custom CLI flags and to be initialized from Viper * remove a lot of duplicated code for storage initialization in collector/query/standalone * add new cobra command env that prints help about configuring via env vars
- Loading branch information
1 parent
d2f85a4
commit 8db7a11
Showing
41 changed files
with
1,288 additions
and
750 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.