func InitTracing(config *structures.Config, transporter *services.Transporter) error {
	endpoint, err := openzipkin.NewEndpoint(config.Name, "")
	if err != nil {
		return err
	}
	ze := zipkin.NewExporter(NewWsReporter(transporter), endpoint)
	trace.RegisterExporter(ze)
	trace.ApplyConfig(trace.Config{DefaultSampler: trace.ProbabilitySampler(0.5)})
	return nil
}
InitTracing with config and transporter provided
package features
import (
	"github.com/keymetrics/pm2-io-apm-go/services"
	"github.com/keymetrics/pm2-io-apm-go/structures"
	openzipkin "github.com/openzipkin/zipkin-go"
	"github.com/openzipkin/zipkin-go/model"
	"github.com/openzipkin/zipkin-go/reporter"
	"go.opencensus.io/exporter/zipkin"
	"go.opencensus.io/trace"
)