telemetry: track exception kinds
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 807
- Avg merge
- 10h 12m
- Merged PRs (30d)
- 7
Description
## Problem
Elevated levels of some exception types may indicate Toolkit or service problems. Currently, Toolkit telemetry doesn't indicate the *kind* of an exception.
## Proposal
1. For various kinds of exceptions, such as "rate limiting", set a flag/enum on the metric object indicating the exception kind, e.g. `result.exceptionType = rateLimited`.
2. As always, do not capture exception details (such as stacktrace or other strings). Only the exception kind.
Contributor guide
Research direction
Start by locating the telemetry metric object and the exception-handling entry points in the Toolkit. Identify the supported exception kinds, then define completion as recording only a kind flag or enum, such as rate limiting, without capturing stack traces or other exception details.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- observability-sre
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100