Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Commit 46618d0

Browse files
Aya Igarashirghetia
authored andcommitted
Replace deprecated Endpoint of Jaeger example (#1087)
1 parent 948b0cb commit 46618d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exporter/jaeger/example/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func main() {
3030
// Register the Jaeger exporter to be able to retrieve
3131
// the collected spans.
3232
exporter, err := jaeger.NewExporter(jaeger.Options{
33-
Endpoint: "http://localhost:14268",
33+
CollectorEndpoint: "http://localhost:14268/api/traces",
3434
Process: jaeger.Process{
3535
ServiceName: "trace-demo",
3636
},

0 commit comments

Comments
 (0)