Trouble running opentelemety-collector in a container #14404
Unanswered
alex-g-axion
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to get an ASP.NET Core application to send logs to opentelemetry-collection by following the examples from https://opentelemetry.io/docs/languages/dotnet/exporters/
Here is my C# program:
It is based on a sample from https://github.com/open-telemetry/opentelemetry-dotnet
My collector-config.yaml (from https://opentelemetry.io/docs/collector/configuration/#exporters):
I use this command to start the collector:
The program runs, but nothing is being communicated to the collector. Further debugging has shown that the issue is that HTTP requests are timing out.
On my Application (OTel SDK) side the log is filled with messages like this:
When I try to run a test command it takes a long time:
Here it took 21 seconds for the command to work.
zPages (http://localhost:55679/debug/tracez) don't show any posts that take so long. No errors are shown in the logs either.
Here are the two 21-second posts:
They always take just over 21 seconds so it seems like there is some kind of an internal timeout in opentelemetry-collector.
What could be the issue?
Beta Was this translation helpful? Give feedback.
All reactions