Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

feat: Set Datadog resource name to just the handler in all apps #7175

Merged
merged 1 commit into from
May 6, 2024

Commits on May 3, 2024

  1. feat: Set Datadog resource name to just the handler in all apps

    This switches us from method+urlpattern resource naming (e.g. `GET ^/`)
    to using handler (e.g. `lms.djangoapps.branding.views.index`).
    
    This is applied to the root span as the `resource_name` tag. As method and
    urlpattern are available on the root span as `http.method` and `http.route`
    but there doesn't seem to be any other way to get the handler info, this is
    our only option for ensuring that the handler will be available as a tag
    (without having to parse after the fact or write more custom code.)
    
    Part of edx/edx-arch-experiments#620
    timmc-edx committed May 3, 2024
    Configuration menu
    Copy the full SHA
    7cef1c7 View commit details
    Browse the repository at this point in the history