Skip to content

chore: move LogSender to agentsdk #12158

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

Merged
merged 1 commit into from
Feb 20, 2024
Merged

Conversation

spikecurtis
Copy link
Contributor

@spikecurtis spikecurtis commented Feb 15, 2024

Moves the LogSender to agentsdk and deprecates LogsSender based on the v1 API.

@spikecurtis spikecurtis requested a review from mafredri February 15, 2024 12:51
@spikecurtis spikecurtis marked this pull request as ready for review February 15, 2024 12:51
Base automatically changed from spike/10534-log-sender to main February 15, 2024 12:57
pl, err := ProtoFromLog(log)
if err != nil {
logger.Critical(context.Background(), "failed to convert log", slog.Error(err))
return
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Echo from review of previous PR:

Suggested change
return
continue

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed this to drop **Coder Internal Error**: Failed to convert log into the logs stream, so it's super obvious there is a big problem.

@spikecurtis spikecurtis force-pushed the spike/10534-log-sender-agentsdk branch from 2a2203e to 900e32a Compare February 16, 2024 10:12
@spikecurtis spikecurtis requested a review from mafredri February 16, 2024 10:14
@spikecurtis spikecurtis merged commit 081e37d into main Feb 20, 2024
@spikecurtis spikecurtis deleted the spike/10534-log-sender-agentsdk branch February 20, 2024 06:44
@github-actions github-actions bot locked and limited conversation to collaborators Feb 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants