Skip to content

Commit eb1df0c

Browse files
Fixes issue in not emitting telemetry in combination with mocking (#1181)
1 parent 5eac25b commit eb1df0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev-proxy-plugins/Inspection/OpenAITelemetryPlugin.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public override async Task RegisterAsync()
6767
InitializeOpenTelemetryExporter();
6868

6969
PluginEvents.BeforeRequest += OnRequestAsync;
70-
PluginEvents.BeforeResponse += OnResponseAsync;
70+
PluginEvents.AfterResponse += OnResponseAsync;
7171
}
7272

7373
private void InitializeOpenTelemetryExporter()

0 commit comments

Comments
 (0)