spinframework / spinframework/spin
Assign `error.blame = guest` to more guest related errors
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 6.5k
- Forks
- 310
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 24
Description
We have a mechanism in o11y spans for differentiating between guest produced and host produced errors. This mechanism should be applied more evenly across the codebase so that operators can better filter out guest produced errors.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with crates/telemetry/src/traces.rs around lines 77-82 to understand how error.blame distinguishes guest- and host-produced errors. Trace the other guest-related error paths across the codebase and apply the mechanism consistently; done means operators can reliably filter guest-produced errors from telemetry spans.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, wasm
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100