Skip to content

Only log instance shutdown error if it's not nil or ctx cancel - #2371

Merged
RebeccaMahany merged 2 commits into
kolide:mainfrom
RebeccaMahany:becca/unexpected-instance-restart-log
Jul 22, 2025
Merged

Only log instance shutdown error if it's not nil or ctx cancel#2371
RebeccaMahany merged 2 commits into
kolide:mainfrom
RebeccaMahany:becca/unexpected-instance-restart-log

Conversation

@RebeccaMahany

Copy link
Copy Markdown
Contributor

We see a lot of unexpected restart of instance logs, but often they're just because we shut down the instance to restart it. This PR updates to only log the error if it's a truly unexpected restart.

@RebeccaMahany RebeccaMahany added the observability Observability label Jul 22, 2025
@RebeccaMahany
RebeccaMahany added this pull request to the merge queue Jul 22, 2025
Merged via the queue into kolide:main with commit 17aaa7b Jul 22, 2025
36 checks passed
@RebeccaMahany
RebeccaMahany deleted the becca/unexpected-instance-restart-log branch July 22, 2025 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

observability Observability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants