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
The current implementation of the DjangoTracing class forces the use of view_func.__name__ as the operation name for the span. I have a use case with class based views where the view func ends up being the same, but they are distinct operations. I would like the ability to customize this without overriding the entire _apply_tracing method.
Perhaps accept a kwarg for operation name so subclasses could handle it.
The text was updated successfully, but these errors were encountered:
The current implementation of the
DjangoTracing
class forces the use ofview_func.__name__
as the operation name for the span. I have a use case with class based views where the view func ends up being the same, but they are distinct operations. I would like the ability to customize this without overriding the entire_apply_tracing
method.Perhaps accept a kwarg for operation name so subclasses could handle it.
The text was updated successfully, but these errors were encountered: