Skip to content

Make timestamps UTC for consistency with launcher log timestamps - #2369

Merged
RebeccaMahany merged 2 commits into
kolide:mainfrom
RebeccaMahany:becca/utc-timestamp-for-autoupdate-logs
Jul 22, 2025
Merged

Make timestamps UTC for consistency with launcher log timestamps#2369
RebeccaMahany merged 2 commits into
kolide:mainfrom
RebeccaMahany:becca/utc-timestamp-for-autoupdate-logs

Conversation

@RebeccaMahany

Copy link
Copy Markdown
Contributor

Log currently looks something like this:

{
    "time":"2025-07-22T14:20:10.030797Z",
    "level":"INFO",
    "msg":"release promoted within splay time, determining download eligibility",
    "component":"tuf_autoupdater",
    "download_splay_minutes":480,
    "binary":"launcher",
    "update_channel":"nightly",
    "promote_start":"2025-07-22T09:43:46-04:00",
    "delay_seconds":13972,
    "delay_cutoff":"2025-07-22T13:36:38-04:00",
    "delay_minutes_from_now":196.46615343333335,
    "will_delay":true
}

It will be easier for us to read this log if promote_start and delay_cutoff are in UTC, like time is. This PR makes that change.

@RebeccaMahany
RebeccaMahany marked this pull request as ready for review July 22, 2025 19:28
@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 9f160a2 Jul 22, 2025
36 checks passed
@RebeccaMahany
RebeccaMahany deleted the becca/utc-timestamp-for-autoupdate-logs branch July 22, 2025 19:50
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