gitpod-io / gitpod-io/gitpod

Report erorrs from `gp-cli` to `ide-metrics-api`

Open
#13,847 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

component: gp cli meta: never-stale team: IDE
Dominant language
TypeScript
Stars
13.8k
Forks
1.4k
Avg merge
17h 58m
Merged PRs (30d)
5

Description

Description

Now that we've landed the integration with ide-metrics-api [1] we can continue following up:

  • Add util.logError in all known errors
  • Provide the userId
  • Find a way to capture unhandled exceptions at root level, e.g: [1]

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 by reviewing the existing gp-cli integration with ide-metrics-api in the work from PR 13752, then trace known errors and the root-level entry point. Check how util.logError and userId are currently handled, and use the linked Go panic-handling guidance for unhandled exceptions. Done means known errors and unhandled root-level exceptions are reported with the userId.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.