spinframework / spinframework/spin

Assign `error.blame = guest` to more guest related errors

Open
#3,596 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.