diff --git a/exporter/jaeger/example/main.go b/exporter/jaeger/example/main.go index 303bc6ea1..12e7a9052 100644 --- a/exporter/jaeger/example/main.go +++ b/exporter/jaeger/example/main.go @@ -30,7 +30,7 @@ func main() { // Register the Jaeger exporter to be able to retrieve // the collected spans. exporter, err := jaeger.NewExporter(jaeger.Options{ - Endpoint: "http://localhost:14268", + CollectorEndpoint: "http://localhost:14268/api/traces", Process: jaeger.Process{ ServiceName: "trace-demo", },