From 46618d076d80f4eab85adbcb3be9a370be1dc4e0 Mon Sep 17 00:00:00 2001 From: Aya Igarashi Date: Tue, 2 Apr 2019 02:24:35 +0900 Subject: [PATCH] Replace deprecated Endpoint of Jaeger example (#1087) --- exporter/jaeger/example/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", },