Minor refactorings (#368)

* Split vkubelet funcitons into separate files.

* Minor re-org for cmd/census*

* refactor run loop
This commit is contained in:
Brian Goff
2018-10-12 17:36:37 -07:00
committed by Robbie Zhang
parent 05e6069cde
commit 3c8ce3fb4a
3 changed files with 15 additions and 2 deletions

View File

@@ -14,6 +14,7 @@ func init() {
RegisterTracingExporter("jaeger", NewJaegerExporter)
}
// NewJaegerExporter creates a new opencensus tracing exporter.
func NewJaegerExporter(opts TracingExporterOptions) (trace.Exporter, error) {
jOpts := jaeger.Options{
Endpoint: os.Getenv("JAEGER_ENDPOINT"),