Skip to content

add request ID for log event correlation; add more error logging - #1675

Merged
rogthefrog merged 4 commits into
mainfrom
cheval-request-ids
Sep 25, 2026
Merged

rogthefrog merged 4 commits into
mainfrom
cheval-request-ids

Conversation

@rogthefrog

@rogthefrog rogthefrog commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Add an ID header to requests so we can correlate events between services more easily. This goes with a matching PR in sugar.

https://github.com/mlcommons/sugar/pull/705

Also add a bunch more error logging.

@rogthefrog
rogthefrog requested a review from a team as a code owner September 23, 2026 21:44
@rogthefrog
rogthefrog deployed to Scheduled Testing September 23, 2026 21:44 — with GitHub Actions Active
@github-actions

Copy link
Copy Markdown

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@rogthefrog
rogthefrog marked this pull request as draft September 23, 2026 21:54
@rogthefrog
rogthefrog deployed to Scheduled Testing September 23, 2026 22:14 — with GitHub Actions Active
@rogthefrog
rogthefrog marked this pull request as ready for review September 23, 2026 22:23
@wpietri

wpietri commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

How would you feel about a request ID that starts with seconds since epoch and then has random hex? I find it handy when looking at logs and wire dumps to know roughly when something is from.

@rogthefrog

Copy link
Copy Markdown
Contributor Author

How would you feel about a request ID that starts with seconds since epoch and then has random hex? I find it handy when looking at logs and wire dumps to know roughly when something is from.

Certainly! It also helps eyeball whether something happened before something else. I'll make the change.

@rogthefrog
rogthefrog deployed to Scheduled Testing September 24, 2026 21:47 — with GitHub Actions Active

@bkorycki bkorycki left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍

@rogthefrog
rogthefrog merged commit 13adcc6 into main Sep 25, 2026
3 checks passed
@rogthefrog
rogthefrog deleted the cheval-request-ids branch September 25, 2026 18:52

This branch was successfully deployed

1 active deployment
Scheduled Testing — 07b99eaf Deployed Sep 24, 2026 by rogthefrog via build #2573
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants