clockworklabs / clockworklabs/SpacetimeDB

Request/reducer invokation ID in logs for filtering

Open
#3,454 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
25.2k
Forks
1.1k
Avg merge
2d 7h
Merged PRs (30d)
46

Description

We would like to be able to filter logs by a particular request/reducer call so that we can associate logs with the reducer call that we made on the website.

Probably this has to be set by the caller? Or at least be accessible to the caller after calling the reducer because the caller will want to filter out the logs and they need to know what number to filter by.

Contributor guide

No contributing guide indexed for this repository

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

No files or tests are named. Start by tracing how request/reducer calls are represented and how their logs reach callers; determine whether the caller can provide or retrieve an invocation ID. Done means a stable ID can be associated with one call, exposed to the caller, and used to filter its logs.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend-api-design, observability-sre
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.