You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to reproduce.
I have been able to reproduce it with a simple Django application, but I can imagine that it's easily reproducible regardless of Django.
I am not knowledgeable yet in OpenCensus and this library. I am not sure which side is incorrect: if it's the Django part or the Azure part. I also don't feel confident in writing a PR for this. Let me know if I can help further.
The text was updated successfully, but these errors were encountered:
Describe your environment.
python 3.12
opencensus 0.11.4
opencensus-context 0.1.3
opencensus-ext-azure 1.1.13
opencensus-ext-django 0.8.0
opencensus-ext-logging 0.1.1
opencensus-ext-requests 0.8.0
Steps to reproduce.
I have been able to reproduce it with a simple Django application, but I can imagine that it's easily reproducible regardless of Django.
What is the expected behavior?
Data point (exception trace) should be correctly posted to AppInsights
What is the actual behavior?
I get the following error:
Additional context.
I can see that the opencensus-ext-azure library expects the stacktrace attribute of a trace to be of type "array". Here is the relevant snippet:
opencensus-python/contrib/opencensus-ext-azure/opencensus/ext/azure/trace_exporter/__init__.py
Lines 102 to 104 in 2e0710b
And I can also see that the exporter in opencensus-ext-django prepares this attribute as a string:
opencensus-python/contrib/opencensus-ext-django/opencensus/ext/django/middleware.py
Lines 298 to 300 in 2e0710b
I am not knowledgeable yet in OpenCensus and this library. I am not sure which side is incorrect: if it's the Django part or the Azure part. I also don't feel confident in writing a PR for this. Let me know if I can help further.
The text was updated successfully, but these errors were encountered: