getappmap / getappmap/appmap-js
Capture the tail of the log in telemetry
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 53
- Forks
- 18
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 8
Description
Currently when sending logs in telemetry we only capture the head; if the log is too long, the tail is cut off. However, most often it's the tail that's the most informative wrt the failure cause. We should capture both the head and the tail; we might also consider capturing more lines (unless it's a limitation of appinsights).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the TypeScript code that sends logs through telemetry and determine how the current head-only capture is implemented. Check whether App Insights imposes a size or line limit, then define done as retaining both the beginning and end of an oversized log while preserving the existing telemetry behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100