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: Create manual spans for monitoring backends. #435

Closed dianakhuang closed 3 months ago

dianakhuang commented 3 months ago

Ticket: https://github.com/edx/edx-arch-experiments/issues/658

Description:

This adds a new context manager for creating manual spans across our various backends. It adds in an interface for passing through arbitrary backend data because Datadog, New Relic, and OTEL all have different interfaces for creating these spans.

Merge checklist:

Post merge:

Author concerns: