Open michi88 opened 3 years ago
Also, does the django tracer properly close the reporter upon application exit like described here? https://github.com/wavefrontHQ/wavefront-sdk-python/pull/83/files
Asking because we see some errors looking like this: Failed to report wavefront data points to wavefront (HTTP -1). Data will be requeued and resent.
. However, we do see data of manal spans we create in parts of interest (but no django sdk created spans).
May be related to the fix here though: https://github.com/wavefrontHQ/wavefront-sdk-python/issues/84
Thanks for reporting the issues. We created internal tickets to investigate. Regarding the errors like Failed to report wavefront data points to wavefront
, can you provide a repo with a minimal django app that produces this issue for us to run locally and reproduce?
Unfortunately, I cannot test it locally and the codebase is private. We will also investigate further.
So the reason the middleware was not reporting probably is because we used WF_APPLICATION_TAGS
and WF_SOURCE
prefixed with WF_
, which is not correct as describe in this issue as well: https://github.com/wavefrontHQ/wavefront-django-sdk-python/issues/3
. Can only validate if it now works tomorrow.
It looks like the reporters from the examples are deprecated. What is the recommended approach now? Something like this?