Skip to content

AddOtlpExporter never sends data to Collector #6205

Answered by SpirTBBX
SpirTBBX asked this question in Q&A
Discussion options

You must be logged in to vote

After some testing, I can tell the issue came from WSL2.

I had my instance running in mirrored mode so that I could have both linux and windows using the "localhost" host to communicate. This caused issues only for the OTLP exporter, for some reason. It doesn't really make sense to me, since Zipkin worked perfectly (with the WSL from win to linux).

I think this should be added into the docs stating that WSL2 may cause some issues. I don't know if it could be a problem caused by the network mode I'm using, or from WSL itself.

Anyways, thanks for the help and thanks for all the suggestions!

EDIT: Running Collector and the .NET app on the same OS works like a charm. I've attempted the follow…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@SpirTBBX
Comment options

Answer selected by SpirTBBX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants