microsoft / microsoft/ApplicationInsights-JS

Stubbed startTrackPage/stopTrackPage should have correct timestamp

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

Nobody has claimed this yet.

bug composite-apps good first issue snippet
Dominant language
TypeScript
Stars
685
Forks
261
Avg merge
21h 33m
Merged PRs (30d)
5

Description

The SDK should report correct timestamps for stubbed/queued `startTrackPage` or `stopTrackPage` events. Even if they are called before the full library (`ai.0.js`) file is downloaded.

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 tracing the stubbed startTrackPage and stopTrackPage entry points and how their events are queued before ai.0.js loads. Compare the timestamps recorded before and after the full library is downloaded, then verify that queued page events report their actual call times.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
observability
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.