Description
So I'm using with_collector_endpoint to specify the jaeger collector I want to export the spans to.
The collector is running on a different host than the one I'm exporting the spans from.
My sample code looks something as such:
opentelemetry_jaeger::new_pipeline()
.with_collector_endpoint("http://10.10.10.100:14268")
.with_service_name("test")
.install_simple()
.unwrap();
The issue I'm observing is that no matter what endpoint I specify, the spans are always exported to a collector running on localhost.
For instance, even though I specify the endpoint as http://10.10.10.100:14268, I do not see any spans exported to this collector. I ran a collector on http://localhost:14268 and could see the spans being exported to this local collector instead.
I did make sure that the 10.10.10.100 collector was reachable from my machine and that there were no packet drops occurring.
Is there something I'm misunderstanding about the with_collector_endpoint function? Is it only supposed to export spans to collectors running locally?