openedx / edx-django-utils

edX utilities for Django Application development.
https://edx.readthedocs.io/projects/edx-django-utils/en/latest/
Apache License 2.0
26 stars 20 forks source link

feat: Add root span tagging for exceptions. #451

Closed dianakhuang closed 4 weeks ago

dianakhuang commented 1 month ago

Datadog has issues with tagging the root span with error information. This change adds the functionality to tag the root span on exceptions.

This also renames the CachedCustomMonitoringMiddleware into MonitoringSupportMiddleware so that it can be a central place for most monitoring middleware changes instead of adding a new one every time. At some point, CachedCustomMonitoringMiddleware will be removed.

https://github.com/edx/edx-arch-experiments/issues/647