-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure Monitor exporter timing out and throwing errors #862
Comments
Also, I've tried setting |
@MaxTaggart |
@MaxTaggart Any updates on this? |
Closing due to inactivity. |
@lzchen Yes, sorry for the radio silence. We are still getting those errors. I ran a 3-day test on our web service and there are long stretches (anywhere from 1-20 hours) where we aren't getting exception information pushed into Azure App Insights and I'm seeing the error message above in my traces.
Although that does mean the trace information is making it into App Insights at least. Also, I see that banner every time I go to the OpenCensus documentation that implies that I should be using "OpenTelemetry" instead, is OpenCensus still the Microsoft-endorsed telemetry library for Python or should I be using something else? |
Just to clarify, are you able to see trace information in App insights when the error message is shown? Just want to see if the telemetry corresponding to the error message is being sent to App insights, or if the trace information you are seeing is from successful information that does not generate the error message.
Good question! OpenCensus Azure exporter is Microsoft's currently officially supported APM solution for Python applications. We are also investing heavily into OpenTelemetry for Python as the future of vendor neutral APM solutions. However, OpenTelemetry is still in beta and probably will not see GA until sometime next year, so for Microsoft, we recommend using OpenCensus for production environments. We will have migration plan for customers that are on OpenCensus once OpenTelemetry goes GA. If you want to try OpenTelemetry out yourself however, feel free to do so, as we would love the feedback! :) |
@MaxTaggart
|
Thanks for the followup! I will try adjusting the timeout. I currently also have my sampling rate set to 1 for testing, but I could dial that down too.
Yes, the error message appears in the |
I am currently facing the same problem, did you find a solution for that @MaxTaggart ? |
I am facing the same issue and adding a timeout is not resolving it. Is there any solution yet? |
@SanthoshMedide |
Problem
I am using the OpenCensus Azure extension to try to write trace information to App Insights. However, of the 2-3 dozen requests I have made to my server only one is showing up in App Insights and I keep getting timeout errors on my end and 500 errors from IIS on the other end. I am assuming that I'm just doing something wrong, but I can't figure out what it is.
Environment
I am on macOS.
Python version:
Package Versions:
To Reproduce
Server code:
client code:
Expected Behaivor
No timeouts or 500 errors and every request producing a new trace in App Insights (since I am using a probability sampler with probability=1).
Actual Behaivor
I am seeing this error every few seconds:
and when I send a request I get this html back:
Maybe this is just an app insights server outage, but I'm guessing that I'm doing something wrong. Let me know if there is other info that would be helpful.
The text was updated successfully, but these errors were encountered: