diff --git a/examples/hotrod/README.md b/examples/hotrod/README.md index abb0f6dea32..6982c75162a 100644 --- a/examples/hotrod/README.md +++ b/examples/hotrod/README.md @@ -54,6 +54,7 @@ docker run \ --name jaeger \ -p6831:6831/udp \ -p16686:16686 \ + -p14268:14268 \ jaegertracing/all-in-one:latest ``` diff --git a/examples/hotrod/pkg/tracing/init.go b/examples/hotrod/pkg/tracing/init.go index 7fd8e5e71ab..112696bf756 100644 --- a/examples/hotrod/pkg/tracing/init.go +++ b/examples/hotrod/pkg/tracing/init.go @@ -70,7 +70,7 @@ func Init(serviceName string, exporterType string, metricsFactory metrics.Factor )), ) otTracer, _ := otbridge.NewTracerPair(tp.Tracer("")) - logger.Bg().Debug("created OTEL->OT brige", zap.String("service-name", serviceName)) + logger.Bg().Debug("created OTEL->OT bridge", zap.String("service-name", serviceName)) return otTracer } @@ -78,7 +78,6 @@ func Init(serviceName string, exporterType string, metricsFactory metrics.Factor func withSecure() bool { return strings.HasPrefix(os.Getenv("OTEL_EXPORTER_OTLP_ENDPOINT"), "https://") || strings.ToLower(os.Getenv("OTEL_EXPORTER_OTLP_INSECURE")) == "false" - } func createOtelExporter(exporterType string) (sdktrace.SpanExporter, error) {