sourcegraph / sourcegraph/log

add ability to replicate Sentry report generation for testing

Open
#65 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
13
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Useful for testing what gets reported to Sentry at the end of the day, based on a log.Field, such as the use case in https://github.com/sourcegraph/sourcegraph/pull/61895. Ideally we can expose a simpler struct that represents how a report shows up in Sentry.

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

Start by reading the log.Field handling and the Sentry report-generation path in this repository, then review the use case described in pull request 61895. Define what the simpler report representation must expose and verify that tests can use it to reproduce what is sent to Sentry.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
observability-sre
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.