microsoft / microsoft/ApplicationInsights-JS

[Feature] Add an optional extension that can monitor script requests / loads and report

Open
#1,547 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
TypeScript
Stars
685
Forks
261
Avg merge
21h 33m
Merged PRs (30d)
5

Description

As outlined in #1539, suggest the creation of a new extension that can report the loaded scripts.

As suggested by @thoo1

For now I've accomplished listening to timing/size info for script loads using PerformanceObserver api, which like you said, isn't generally available to all browsers

Like you said, seems like getting the status of the script load isn't expose in the performance timing apis - it is only on the load/error event handlers

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 issue #1539 and the proposed use of the PerformanceObserver API. Define what the optional extension should report for loaded scripts, including timing, size, and load or error status, while accounting for browser availability.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.