appsignal-javascript
appsignal-javascript copied to clipboard
Globally accessible client
Like issue https://github.com/appsignal/appsignal-nodejs/issues/503 for Node.js, make the client available globally. For JavaScript that would be window probably.
Let's discuss the best way to implement this.
Is there a problem with putting everything on the global namespace? Because people can run multiple JavaScript apps in the frontend, and they may want to report them as separate apps? If we go with the global way, this won't be supported, which isn't bad, but it's something to keep in mind.