Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(coderd/agentapi): always write agent stats when provided#12699

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

mafredri
Copy link
Member

@mafredrimafredri commentedMar 21, 2024
edited
Loading

Previously we were discarding agent stats due to the length of connections by proto being zero.

We no longer checkConnectionsByProto because this can be simplified to checkStats == nil due to the agentapi v2 refactor.

Previously we checkednil notlen:

ifreq.ConnectionsByProto==nil {

@mafredriGraphite App
Copy link
MemberAuthor

This stack of pull requests is managed by Graphite.Learn more about stacking.

Join@mafredri and the rest of your teammates onGraphiteGraphite

@mafredrimafredri marked this pull request as ready for reviewMarch 21, 2024 12:09
@mafredrimafredriforce-pushed themafredri/03-21-fix_coderd_agentapi_always_write_agent_stats_when_provided branch 2 times, most recently from33576be to22d4860CompareMarch 21, 2024 12:12
Previously we were discarding agent stats due to the length ofconnections by proto being zero.
@mafredrimafredriforce-pushed themafredri/03-21-fix_coderd_agentapi_always_write_agent_stats_when_provided branch from22d4860 toc8096dbCompareMarch 21, 2024 12:13
Copy link
Member

@johnstcnjohnstcn left a comment

Choose a reason for hiding this comment

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

I'm in favour of this change but deferring to Dean or other Net Gurus.

@mafredrimafredri merged commit9c84fb7 intomainMar 21, 2024
@mafredrimafredri deleted the mafredri/03-21-fix_coderd_agentapi_always_write_agent_stats_when_provided branchMarch 21, 2024 14:47
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsMar 21, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@johnstcnjohnstcnjohnstcn approved these changes

@deansheatherdeansheatherdeansheather approved these changes

Assignees

@mafredrimafredri

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@mafredri@johnstcn@deansheather

[8]ページ先頭

©2009-2025 Movatter.jp