Skip to content

Commit f030f48

Browse files
committed
feedback
1 parent a978c27 commit f030f48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Components/Components/src/RenderTree/Renderer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ public virtual Task DispatchEventAsync(ulong eventHandlerId, EventFieldInfo? fie
518518
{
519519
receiverName ??= (callback.Receiver?.GetType() ?? callback.Delegate.Target?.GetType())?.FullName;
520520
methodName ??= callback.Delegate.Method?.Name;
521-
_ = ComponentMetrics.CaptureEventDuration(task, eventStartTimestamp, null, null, attributeName);
521+
_ = ComponentMetrics.CaptureEventDuration(task, eventStartTimestamp, receiverName, methodName, attributeName);
522522
}
523523

524524
// stop activity/trace
@@ -533,7 +533,7 @@ public virtual Task DispatchEventAsync(ulong eventHandlerId, EventFieldInfo? fie
533533
{
534534
receiverName ??= (callback.Receiver?.GetType() ?? callback.Delegate.Target?.GetType())?.FullName;
535535
methodName ??= callback.Delegate.Method?.Name;
536-
ComponentMetrics.FailEventSync(e, eventStartTimestamp, null, null, attributeName);
536+
ComponentMetrics.FailEventSync(e, eventStartTimestamp, receiverName, methodName, attributeName);
537537
}
538538

539539
if (ComponentActivitySource != null && wrapper.Activity != null)

0 commit comments

Comments
 (0)