microsoft/ApplicationInsights-JS

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

Open

#1.547 geöffnet am 23. Apr. 2021

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (256 Forks)auto 404
enhancementhelp wanted

Repository-Metriken

Stars
 (684 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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