-
Notifications
You must be signed in to change notification settings - Fork 79
Make OpenAITelemetryPlugin record report metrics only if 'recording' is on #1450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make OpenAITelemetryPlugin record report metrics only if 'recording' is on #1450
Conversation
…n-OpenAITelemetryPlugin
waldekmastykarz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rather than introducing a whole new way of handling recording, let's use the existing approach that we have, for example here:
| public override async Task AfterRecordingStopAsync(RecordingArgs e, CancellationToken cancellationToken) |
…n-OpenAITelemetryPlugin
…n-OpenAITelemetryPlugin
waldekmastykarz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice! I removed one unused object but other than that nothing to add 👏
#1440